This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
Hello, first time posting on this forum, so hope this is in the right place.
Did Java in college last September and I'm still not good at it, so trying to do little projects to practise.
What i'd like to do is something like Google translate for Korean-English there is a pop out keyboard with Korean letters, I would like to make a basic version of that but using the users keyboard when a text box in my program is active.
the Korean language has an alphabet, 2-4 letters make up a syllable block
h + a + n = han
1) Is there a way to remap the keys of a standard keyboard to some values of the Korean character set?
As in, Can I make it so when I press 'g' the character 'ᄒ' will appear inside the active text area of my program instead.
2) If the above is possible, how would I go about swapping them out? would i use the hexadecimal values like in html?
3) If number question 1 would not work, how efficient would would it be to have a lot of ifs,
check syllable length at the start, then keep going until you have found the right one, replace with its Korean character set.
I ask because currently I'm not too sure how else to go about it.
It seems hideous, but that's all I can come up with atm.
also how do i get j2ee libraries on drjava?
downloaded he j2ee sdk and glass fish server.