I want to make a text field and monitor it for when enter is pressed. when I change public static void main to public void init, it works properly, but it does not work with main, and i want this not to be an applet.
eventually, i will add a loop that runs until index is changed to 1 (starts at 0), and index is changed when enter is hit from the text field. Where should that that loop be placed?
7 Months Ago
Related Article:how can I show date in GUI text field?
is a solved Java discussion thread by Osaid9 that has 3 replies, was last updated 4 months ago and has been tagged with the keywords: java.