File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Swing / AWT / SWT and the fly likes SWT ignore GUI Repaint when shell is minimized and maximized Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "SWT ignore GUI Repaint when shell is minimized and maximized" Watch "SWT ignore GUI Repaint when shell is minimized and maximized" New topic
Author

SWT ignore GUI Repaint when shell is minimized and maximized

anil sehgal
Greenhorn

Joined: Sep 13, 2011
Posts: 9
Hi,

How can i ignore the GUI repaint in SWT when I minimize and then maximize the shell. I have used gc.drawline method to draw some lines in the shell, but the lines are lost when I minimize and maximize the shell. Can anyone please help out.

Thanks,
Anil

anil sehgal
Greenhorn

Joined: Sep 13, 2011
Posts: 9
I had to store every line i make and call drawline method in shell paint listener :P
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: SWT ignore GUI Repaint when shell is minimized and maximized
 
Similar Threads
screensaver
size of the frame
I can't seem to get the hang of JFrame
How to minimize/maximize/restore CTabFolder
Swing appears to Freeze