Original Post
i have just started "playing" with java, and i have a few newbie question...
just to get me started, i am trying to write a terminal applet (later i might turn it into a MUD or something along those lines, or i might learn it and then throw it out, i don''t know yet)... but i have a few problems:
(1) how do you get input for an applet? i was planning on storing several strings, for the lines already on the terminal, and another for the last line where the user input is shown. i found a tutorial about keyup and mousedown events and such, but my compiler says i am using a deprecated API, so there must be a better newer and accepted way to do this?
(2) how do i make the applet update the screen? right now, it only updates when i switch to another window that covers the applet box, then switch back. how do i make it update? for example, every time i press a key it should add one character to my string and then re-draw the screen so the new string is displayed.
i''d appreciate any help. thanks in advance
--- krez (krezisback@aol.com)