| Author |
JComboBox disabling not Successfull
|
mithun gooty
Ranch Hand
Joined: Mar 14, 2006
Posts: 33
|
|
I am not able to disable the JComboBox successfully. The JComboBox looks disabled, i mean on a mouse click there is no change in the state of the JComboBox, but when i press space-bar the list drops down and i am able to make a selection. This looks like a bug in the JComboBox implementation itself. How can i get around the implementation and disable the JComboBox successfully? Thank you.
|
 |
Freddy Wong
Ranch Hand
Joined: Sep 11, 2006
Posts: 959
|
|
|
Can you show us your code?
|
SCJP 5.0, SCWCD 1.4, SCBCD 1.3, SCDJWS 1.4
My Blog
|
 |
pete stein
Bartender
Joined: Feb 23, 2007
Posts: 1561
|
|
I can't reproduce your problem. After I call setEnable(false) on any JComboBox, not only does it not respond to mouse clicks, but I can't get it to accept focus via any keypress. This is as it should be.
|
 |
 |
|
|
subject: JComboBox disabling not Successfull
|
|
|