A JTextArea has componenent orientation set to LEFT, so text is written from left to right. Sometimes, it happens that while the user is writing, the text orientation suddenly c
Swing has predefined keyboard shortcuts which activates within the creation of swing objects. You should edit your key bindings. This article is useful for your situation.