Java (applet) Images (original) (raw)
- **Mood:
thoughtful
From the init section of the code:
ball_image = getImage(getCodeBase(), "red_ball.gif");
System.out.println(ball_image.getWidth(this));
System.out.println(ball_image.getHeight(this));
It always prints -1 and -1, what's up with that? The image paints just fine but it's not reporting the size. Unless I'm just forgetting something important about doing images ...
I'm following this tutorial on the netbeans website for a simpleEE7App. I followed the instructions precisely but got an exception need help. :/…
anyone here?
It seems that you can override a concrete method and make it abstract. I actually came across some code that did this, so I had to check how it…