Answer to Question #30650 in Java | JSP | JSF for Aura

Question #30650
I've a JPanel and draw shapes on it out of paintComponent method, with panel.getGraphics() the problem is my drawing disappear. i must click on them ro appear, and sometimes it doesn't work. also, when i minimize and then maximize the frame, the shapes disappear again. i tried using repaint() method, it didn't work too. I also have problem moving a drawn shape. i used this http://goo.gl/KIFDd sample and changed it a little; it doesn't work for polygons at all! tnx for the help :)
0
Expert's answer

Not answered

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be first!

Leave a comment

Ask Your question

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS