java - Swing components freezed because of few methods -
i facing problem java swing based application have created professional purpose.
a new class paneluserinput , have created separate listener class called paneluserinputlistener is-a itemlistener , actionlistener.
the class paneluserinput class has @ least 5 labels , comboboxes have dummy values in them now. there button submit selected values. using gridbadlayout positioning components.
now problem selection of items in comboboxes blocked via mouse. though can access elements using keyboard arrow keys(up , down). also, not able click button using mouse can using keyboard pressing space
has seen kind of behavior in java swing, , optimum solution?
i not able share code because of confidentiality reasons.
make sure use pattern
java.awt.eventqueue.invokelater(new runnable() { public void run() { dosomething(); } }); when responding user action events. not more can without specifics.
Comments
Post a Comment