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
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
Swing / AWT / SWT
Can't close my SWT application in taskbar in Win7 system
Haifeng Jiang
Ranch Hand
Posts: 43
posted 10 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
hello guys,
My SWT application can't be closed in Win7 taskbar. Attached the screenshot.
This is the code when I instance the Shell.
Shell shell = new Shell(SWT.NO_TRIM); // new Shell(); is working in this case. shell.addShellListener(new ShellListener(){ @Override public void shellClosed(ShellEvent shellevent) { // TODO Auto-generated method stub ((Shell) shellevent.getSource()).dispose(); // shell.dispose(); } });
Any one has any idea? Thanks in advance.
-.png
Thinking a lot. Gaining a lot.
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Reading Native SysTreeView using SWT
About KeyEvent
Program.launch of Mac OSX TextEdit can cause problems
open source projects on JAVA SE
Frame's setIconImage() - optimum image size for title bar & Alt+Tabbing?
More...