aspose file tools*
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 Spring in Action this week in the Spring 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?
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: JOptionPane does not repaint properly on close