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
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
 
Similar Threads
Help with getting new points
JOptionPane issue
PolyLine or Polygon?
can someone kindly check my math...
super.painComponent(g) not clearing my Jpanel