maja neskovic wrote:I already saw it, but I am not sure that I understand. How to specify that I want drawing image and shapes on my JPanel (which is in JApplet)?
maja neskovic wrote:For the 1. point: should I remove all code related to my JPanel (which I called glavnipanel) from JApplet code(which I posted) and move all to the subclass? How to maintain connection of subclass with JApplet? I'm sorry if I'm asking silly questions, but I'm beginner in this
Maneesh Godbole wrote: You just cast it like and then invoke the required methods on the g2.
maja neskovic wrote:Graphics2D g2 = createGraphics2D(d1.width, d1.height);
I make mistake again, do I?