[JBoss JIRA] Resolved: (JBIDE-547) AWT Eventthread is started during RHDS startup
by Denis Golovin (JIRA)
[ 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
18 years, 8 months
[JBoss JIRA] Assigned: (JBIDE-551) Using images in CSS and visual page editor
by Denis Golovin (JIRA)
[ http://jira.jboss.com/jira/browse/JBIDE-551?page=all ]
Denis Golovin reassigned JBIDE-551:
-----------------------------------
Assignee: Sergey Vasilyev
> Using images in CSS and visual page editor
> ------------------------------------------
>
> Key: JBIDE-551
> URL: http://jira.jboss.com/jira/browse/JBIDE-551
> Project: JBoss Tools
> Issue Type: Bug
> Affects Versions: ExadelStudioPro4
> Environment: Unknown (User report)
> Reporter: Aliaksey Nis
> Assigned To: Sergey Vasilyev
>
> A XHTML page in JSF project. The directory structure is:
> Web Content/
> codelibrary/css/style.css
> images/myimg.jpg
> myXHTMLpage.xhtml
> The link in my page to the CSS is:
> <link href="codelibrary/css/style.css" rel="stylesheet" type="text/css" />
> There is a class attribute in a <td> element in the page as follows:
> <td align="center" valign="top" class="leftbg1">...</td>
> The "leftbg" class is defined in style.css as follows:
> .leftbg1
> {
> background-image:url(../../myimg.jpg);
> background-repeat: no-repeat;
> background-position: bottom;}
> All other CSS references are working fine and are reflected in visual designer; however, the image specified in "background-image:url(../../myimg.jpg);" does not display. The designer does not seem to be resolving the image URL specified in the CSS. I've tried several settings in "Page Design Options", but none seem to work so I currently have no options specified. I've also tried several modifications to the path in CSS "url()" with no luck.
> Original Exadel forum message "http://forum.exadel.com/viewtopic.php?t=5897".
--
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
18 years, 8 months