Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
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 OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP 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