User Profile

Collapse

Profile Sidebar

Collapse
NewJack
NewJack
Last Activity: Nov 4 '06, 05:55 PM
Joined: Oct 31 '06
Location: Rochester, NY
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • NewJack
    replied to caterpillar application help!
    in Java
    here's the orignal in its entirety...

    import java.awt.Color;
    import java.awt.Graphi cs;
    import javax.swing.JAp plet;

    public class Worms extends JApplet
    {
    int y = 0;

    public void paint(Graphics g)

    { //stairs
    g.setColor(Colo r.BLUE);
    g.drawLine(0,90 ,90,90);
    g.drawLine(90,9 0,90,180);
    g.drawLine(90,1 80,180,180);
    g.drawLine(180, 180,180,270);...
    See more | Go to post

    Leave a comment:


  • NewJack
    replied to caterpillar application help!
    in Java
    Yeah, I will post the original, it may take me some time b/c it is pretty long, but I'll have it up soon, thanks 4 your help.
    See more | Go to post

    Leave a comment:


  • NewJack
    replied to caterpillar application help!
    in Java
    any suggestions?
    See more | Go to post

    Leave a comment:


  • NewJack
    replied to caterpillar application help!
    in Java
    Allright, here's what I have so far...it's the lines of code to draw the set of stairs and that's where I need help at, in drawing the bug and moving it up the stairs..

    import java.awt.Color;
    import java.awt.Graphi cs;
    import javax.swing.JAp plet;

    public class Test extends JApplet
    {
    public void paint (Graphics g)
    {
    //stairs
    g.setColor(Colo r.BLACK);
    g.drawLine(0,90 ,90,90);...
    See more | Go to post

    Leave a comment:


  • NewJack
    replied to caterpillar application help!
    in Java
    I have already finished an application in which the caterpillar slinks down a set of stairs. I just need to make a different type of bug go UP the set. I'm having a lot of trouble with it so any help would be great.
    See more | Go to post

    Leave a comment:


  • NewJack
    started a topic caterpillar application help!
    in Java

    caterpillar application help!

    Hi,

    I am currently taking a Java Programming course and the assignment is to create an application (or applet) in which a caterpillar or any other type of bug goes up a set of steps. If anyone can help me out with some code, advice, etc, that would be very VERY helpful.

    Thank you,
    NewJack
    See more | Go to post
No activity results to display
Show More
Working...