[
http://jira.jboss.com/jira/browse/JBIDE-547?page=all ]
Denis Golovin reassigned JBIDE-547:
-----------------------------------
Assignee: Viacheslav Kabanovich
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