Title: RE: weird focus behaviour with 2 JTextArea's
Thank you for your response and sorry about the import statements. I'm getting too used to using IntelliJ I'm afraid. There all I need to do is press ALT-ENTER, and import are automatically added.
kind regards,
Wim
-Original Message
Hi Wim,
The same also happens with the second JTextArea if you press
Shift-Tab from the button. And for the same reasons. Change these
two lines in the MyTextArea constructor from true to false:
forwardFocusTraversalKeys.add(
AWTKeyStroke.getAWTKeyStroke(
KeyEvent.VK_TAB, 0,