Oh sorry. Well here is constructor for left panel:
setLayout(null);
ii = new ImageIcon("green arrow.png");
label1 = new JLabel(ii);
JLabel label2 = new JLabel(ii);...
Type: Posts; User: bonus_clip
Oh sorry. Well here is constructor for left panel:
setLayout(null);
ii = new ImageIcon("green arrow.png");
label1 = new JLabel(ii);
JLabel label2 = new JLabel(ii);...
I tnink that i could get it working, but i have encountered problem.
So, middle panel is PaintPanel (where drawing should be).
On the left side, there is some, let say ControlPanel with some...
Thank you for your advice. I will try to rewrite code, if i encounter problems, i will post them here.
Can you give some example? Right now i have one class, AppCore, that extend JFrame, initialize other panels, and paint is also done here.
Hi everyone
I've trying to make simple 2D game in Java, which involves moving sprites around.
However, i don't know much about paint, so I ask is there a way for paint to use only part of screen?...