-
August 1st, 2005, 02:12 AM
#1
Junior Member
QBASIC to JAVA "LOCATE" & "INKEY$" statement
Hi there,
in QBASIC you could:
LOCATE y, x - to place a cursor
PRINT "HI" - to print something in ye DOS box
Now, how to do the same in Java? (system.out.println("HI") does not accept cursor location
Also, to capture keystrokes, in QBQSIC you could:
g$ = INKEY$ - to capture keyboard key
PRINT g$
Now, how to do the same in Java? (implements keyboardlistener??)
I there anybody who can answer these nahive questions?
Thank you in advance for your help
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|