F
FuzzyLogic
I am writting an Applet (not a JApplet) and I have all the GUI ready,
with panels and panels inside panels. In one of this panels I need to
show an Image, but I can't work out how to do it. The image keeps
showing in the background of the applet, so the panels cover it. I have
tried:
Graphics gr=myPanel.getGraphics();
gr.drawImage(myImnage,0,0,null);
inside the paint() method, but It doesn't work.
Could you help me? I am just a beginner in Java.
Thanks
with panels and panels inside panels. In one of this panels I need to
show an Image, but I can't work out how to do it. The image keeps
showing in the background of the applet, so the panels cover it. I have
tried:
Graphics gr=myPanel.getGraphics();
gr.drawImage(myImnage,0,0,null);
inside the paint() method, but It doesn't work.
Could you help me? I am just a beginner in Java.
Thanks