This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android 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
 
Consider Paul's rocket mass heater.
 
subject: SWT ignore GUI Repaint when shell is minimized and maximized
 
Similar Threads
How to minimize/maximize/restore CTabFolder
I can't seem to get the hang of JFrame
screensaver
Swing appears to Freeze
size of the frame