Search:

Type: Posts; User: macko939

Search: Search took 0.12 seconds.

  1. Replies
    12
    Views
    1,000

    Re: My java homework (very simple stuff)

    I must have missed that, sorry. Anyway, neither of these work and I either get a working applet but with black screen without any ships on it, or it crashes and I need to kill its process to be able...
  2. Replies
    12
    Views
    1,000

    Re: My java homework (very simple stuff)

    I didn't post anything new in my last post, all the code was copied from the first one.

    Anyway, even if I put all the "on click" events in comments, the applet still doesn't draw these ships for...
  3. Replies
    12
    Views
    1,000

    Re: My java homework (very simple stuff)

    I'm sorry mate but I have no idea what did you just said.

    @GregBrannon

    I am talking about the "FleetOfShips" class all the time here. That is the only one I got problem with.

    I dont know...
  4. Replies
    12
    Views
    1,000

    Re: My java homework (very simple stuff)

    Basically I got 3 classes.

    The first one is to draw an orange square on a black background that reacts to user actions (mouse clicks)

    The second one is a bunch of these squares drawn together...
  5. Replies
    12
    Views
    1,000

    Re: My java homework (very simple stuff)

    Okay so I use code the same as "AnimateInTabSquare" to make my fleet appear in the applet (to actually make it visible) but, unlike with my other classes, the applet window is white, doesn't show any...
  6. Replies
    12
    Views
    1,000

    My java homework (very simple stuff)

    Okay, so programming was never my strong side, but I have to get it done for next tuesday.

    So the idea behind my program is:

    There is a class for drawing a square, then there is the ship class...
Results 1 to 6 of 6