-
Bug
-
Resolution: Unresolved
-
P4
-
None
-
6
-
Cause Known
-
generic
-
generic
SystemTray feature (ccc 4310333) has no clear description concerning to when an application will release all of the native screen resources and when an application will capture them.
So when we are reading the spec for java.awt.Component there is isDisplayable method where is available the link to dispose method. The dispose method says that it releases all of the native screen resources etc. So after dispose methos is called if there are no displayable components and other active working threads then an application should exit.
But when we see on SystemTray component we cannot find corresponding description for it. As we could suppose the system tray is realized after add() method called and disposed after last remove() method removes all the added icons from system tray. But in fact the spec have no such a description and Sun JDK RI have no such functionality.
There should be added a description to the spec and implemented functionality for SystemTray class to dispose an application and release all resources but not invoke System.exit().
###@###.### 2005-06-15 12:20:43 GMT
So when we are reading the spec for java.awt.Component there is isDisplayable method where is available the link to dispose method. The dispose method says that it releases all of the native screen resources etc. So after dispose methos is called if there are no displayable components and other active working threads then an application should exit.
But when we see on SystemTray component we cannot find corresponding description for it. As we could suppose the system tray is realized after add() method called and disposed after last remove() method removes all the added icons from system tray. But in fact the spec have no such a description and Sun JDK RI have no such functionality.
There should be added a description to the spec and implemented functionality for SystemTray class to dispose an application and release all resources but not invoke System.exit().
###@###.### 2005-06-15 12:20:43 GMT
- relates to
-
JDK-6292292 Java app doesn't exit automatically when last TrayIcon is removed
-
- Closed
-