I have problems to manage the focuses on textareas in a JDialog. I can't use the focusmanager because, with the focusmanager i can't capture the tab (->|) button on the keyboard.
The problem is; when I request a focus on a textarea, it jumps to another textarea.
f.e.: there are 11 textareas...
The eventlistener is added to the JComboBox
I've tried to solve it by putting the eventlistener an the panel and check if the focus is put on the JComboBox but even when the cursor is in the JComboBox the result of hasFocus() is False.
I have some problems with the keypressed event in a JComboBox. When the JCombobox has the the keyboardfocus and I press the enter a procedure should be triggered. Problem is that nothing happens. When I did some tests to retrieve the keycode of the enter button and some other buttons, nothing...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.