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
paul wheaton
Ron McLeod
Jeanne Boyarsky
Sheriffs:
Paul Clapham
Saloon Keepers:
Tim Holloway
Roland Mueller
Bartenders:
Forum:
Swing / AWT / SWT
SWT ignore GUI Repaint when shell is minimized and maximized
anil sehgal
Greenhorn
Posts: 9
posted 13 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 13 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
Anything worth doing well is worth doing poorly first. Just look at this tiny ad:
Clean our rivers and oceans from home
https://www.kickstarter.com/projects/paulwheaton/willow-feeders
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...