christmo / macwidgets

Automatically exported from code.google.com/p/macwidgets
0 stars 0 forks source link

HUDComboBox always remains in pressed state on Windows. #82

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
On Windows, if you click a HUDComboBox, it will always remain in the light,
pressed state, even after selecting an item. Perhaps it's not actually in
that state, but visually, it appears so.

Original issue reported on code.google.com by sten...@gmail.com on 1 May 2009 at 4:37

GoogleCodeExporter commented 8 years ago
I seem to getting this on a Mac if the target VM is set to Java 1.6.

Original comment by rbs10025@gmail.com on 7 May 2009 at 1:14

Attachments:

GoogleCodeExporter commented 8 years ago
Make sure that the container you've added the HUD combo box to is marked as 
not-opqaue (setOpaque(false)).

Original comment by kenneth....@gmail.com on 8 May 2009 at 1:44

GoogleCodeExporter commented 8 years ago
Ken, In my case, I am putting the HUD combo into a Box which in turn is in a 
HUD palette (actual a JPanel). Both 
the Box and the palette are marked setOpaque(false).

Original comment by rbs10025@gmail.com on 8 May 2009 at 8:03

GoogleCodeExporter commented 8 years ago
Hi Ken, just wanted to notify that I'm getting this problem to. On Windows 
running
Java 6.

Original comment by gat...@gmail.com on 15 May 2009 at 12:03

GoogleCodeExporter commented 8 years ago
Thanks for letting me know -- more data is always better!

Original comment by kenneth....@gmail.com on 15 May 2009 at 1:09

GoogleCodeExporter commented 8 years ago
Forced HudComboBoxUI's associated button to stay in the pressed state while the 
popup menu is being shown 
(unrelated to this actual bug). Fixed a problem on Windows using JDK 6 where 
the combo box button would stay 
pressed even after the menu was hidden, which was occurring because a mouse 
released event wasn't being 
received.

 You'll find the latest Mac Widgets for Java build here:

http://www.macwidgetsforjava.com/downloads/latest/mac_widgets.jar

Original comment by kenneth....@gmail.com on 24 Aug 2009 at 1:09

GoogleCodeExporter commented 8 years ago
I'm happy to report that the new HudComboBoxUI code works as desired in my app.

Original comment by rbs10025@gmail.com on 25 Aug 2009 at 10:10