So I'm still doing my Java study, which is going surprisingly slowly due to the speed of the rest of the students. Now I have to interest myself somehow.
Trying to make a Java "hiragana-notepad" that dynamically changes my latin character input into hiragana. So far I can't even get a KeyListener to work.
tl;dr code inc
Using the MVC-model + a main class
Main class (not that interesting):
GUI class (works properly):
HiraganaController class (no object is made, program doesn't even get to the switch):
HiraganaConfig class (Just a husk of code, will come later):
When I run the program, it starts the GUI fine and I can type text in the JTextArea as much as my heart desires. However, when I type an "a", it doesn't do the System.out.println() described in the controller class.
The KeyListener should do a check whenever I type a vowel, I just don't know how to initiate that from within the GUI class...
Any help?
Trying to make a Java "hiragana-notepad" that dynamically changes my latin character input into hiragana. So far I can't even get a KeyListener to work.
tl;dr code inc
Using the MVC-model + a main class
Main class (not that interesting):
GUI class (works properly):
HiraganaController class (no object is made, program doesn't even get to the switch):
HiraganaConfig class (Just a husk of code, will come later):
When I run the program, it starts the GUI fine and I can type text in the JTextArea as much as my heart desires. However, when I type an "a", it doesn't do the System.out.println() described in the controller class.
The KeyListener should do a check whenever I type a vowel, I just don't know how to initiate that from within the GUI class...
Any help?


Comment