This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Applets and the fly likes JOptionPane does not repaint properly on close Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "JOptionPane does not repaint properly on close" Watch "JOptionPane does not repaint properly on close" New topic
Author

JOptionPane does not repaint properly on close

vladislav peichev
Greenhorn

Joined: Apr 28, 2011
Posts: 22
I have an applet which allows the user to draw a polygon and display its area. If the polygon becomes self-intersecting after selecting the last point I display a JOptionPane message dialog and ignore the last point entered. However the polygon is not repainted always properly after closing the JOptionPane. Is there a way to always ensure proper repainting?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JOptionPane does not repaint properly on close