Berisades
November 19th, 2009, 10:01 AM
Hi,
I am building a little game and it works fine as an application but when I build it as an applet something strange happens. When I run the applet in Eclipse I don't see the whole applet but just a part of it. The missing part is image icons... Well, it's a bit more complicated: I have special class which extends Jlabel and on the labels I have image icons and status fields which can be of type int and are needed for easier implementation of my game. So I don't see exactly that objects of the extended JLabel class with images on it. When I create a HTML file and put the applet, I see just a gray rectangle and nothing else. In Eclipse I see at least the stuff that isn't of object of my label class. Any idea who it is so and how can I fix it?
Thanks!
I am building a little game and it works fine as an application but when I build it as an applet something strange happens. When I run the applet in Eclipse I don't see the whole applet but just a part of it. The missing part is image icons... Well, it's a bit more complicated: I have special class which extends Jlabel and on the labels I have image icons and status fields which can be of type int and are needed for easier implementation of my game. So I don't see exactly that objects of the extended JLabel class with images on it. When I create a HTML file and put the applet, I see just a gray rectangle and nothing else. In Eclipse I see at least the stuff that isn't of object of my label class. Any idea who it is so and how can I fix it?
Thanks!