bug-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug swing/23558] JComboBox problems on ctwm


From: fitzsim at redhat dot com
Subject: [Bug swing/23558] JComboBox problems on ctwm
Date: 9 Sep 2005 04:25:00 -0000

------- Additional Comments From fitzsim at redhat dot com  2005-09-09 04:24 
-------
Found it.  This was caused by a double-hide of the popup window. 
BasicComboBoxUI's focus listener was hiding the popup window when it lost focus.
 I think this was a mis-guided attempt at fixing these exceptions:

Exception during event dispatch:
java.awt.IllegalComponentStateException: component
javax.swing.JPopupMenu$HeavyWeightPopup not showing
   at java.awt.Component.getLocationOnScreen (Component.java:1190)
   at gnu.java.awt.AWTUtilities.convertPointToScreen (AWTUtilities.java:538)
   at gnu.java.awt.AWTUtilities.convertPoint (AWTUtilities.java:596)
   at java.awt.LightweightDispatcher.acquireComponentForMouseEvent
(Container.java:2046)
   at java.awt.LightweightDispatcher.handleEvent (Container.java:2158)
   at java.awt.Container.dispatchEventImpl (Container.java:1630)
   at java.awt.Window.dispatchEventImpl (Window.java:628)
   at java.awt.Component.dispatchEvent (Component.java:2343)
   at java.awt.EventQueue.dispatchEvent (EventQueue.java:475)
   at java.awt.EventDispatchThread.run (EventDispatchThread.java:75)

These exceptions were occuring sporadically before; now one is thrown each time
an item is selected.  I'm going to report the exception as a separate bug and
close this one as fixed.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23558




reply via email to

[Prev in Thread] Current Thread [Next in Thread]