Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Swing / AWT / SWT
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Tim Cooke
Liutauras Vilda
Jeanne Boyarsky
paul wheaton
Sheriffs:
Ron McLeod
Devaka Cooray
Henry Wong
Saloon Keepers:
Tim Holloway
Stephan van Hulst
Carey Brown
Tim Moores
Mikalai Zaikin
Bartenders:
Frits Walraven
Forum:
Swing / AWT / SWT
SWT ignore GUI Repaint when shell is minimized and maximized
anil sehgal
Greenhorn
Posts: 9
posted 12 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
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
label.addListener(SWT.Paint,new Listener() { @Override public void handleEvent(Event e) { System.out.println("here");// the control comes here when I maximize the window after minimizing, but is still repainted e.doit = false; } });
anil sehgal
Greenhorn
Posts: 9
posted 12 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
I had to store every line i make and call drawline method in shell paint listener :P
Why does your bag say "bombs"? The reason I ask is that my bag says "tiny ads" and it has stuff like this:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
size of the frame
How to minimize/maximize/restore CTabFolder
I can't seem to get the hang of JFrame
Swing appears to Freeze
screensaver
More...