[jbosstools-issues] [JBoss JIRA] Resolved: (JBIDE-547) AWT Eventthread is started during RHDS startup

Denis Golovin (JIRA) jira-events at lists.jboss.org
Wed Jul 18 20:57:17 EDT 2007


     [ http://jira.jboss.com/jira/browse/JBIDE-547?page=all ]

Denis Golovin resolved JBIDE-547.
---------------------------------

    Resolution: Done

> AWT Eventthread is started during RHDS startup
> ----------------------------------------------
>
>                 Key: JBIDE-547
>                 URL: http://jira.jboss.com/jira/browse/JBIDE-547
>             Project: JBoss Tools
>          Issue Type: Bug
>    Affects Versions: ExadelStudioPro4
>            Reporter: Max Andersen
>         Assigned To: Viacheslav Kabanovich
>            Priority: Critical
>
> Because of this line:
> private static JPanel dummy = new JPanel();
> in org.jboss.tools.common.model.util.IconUtil the AWT EventThread is started up which result in 2 unecessary things:
> 1) The AWT-thread is running for monitoring various (non-used i supposed) events
> 2) if your resolution changes NullPointerExceptions occur like this:
> Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
> 	at sun.awt.Win32GraphicsEnvironment.displayChanged(Win32GraphicsEnvironment.java:109)
> 	at sun.awt.windows.WToolkit$4.run(WToolkit.java:698)
> 	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
> 	at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
> 	at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
> 	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
> 	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
> 	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
> 	at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
> Why is a Dummy panel even needed just for creating images ?!

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jbosstools-issues mailing list