hi, I'm new at Java, I use netbeans v3.6
I need a command that is similar to 'getc()' of C\C++
or 'keypressed()' of Pascal.
thanx.
Printable View
hi, I'm new at Java, I use netbeans v3.6
I need a command that is similar to 'getc()' of C\C++
or 'keypressed()' of Pascal.
thanx.
That sounds like System.in.read(), if we're talking console IO. For GUI's in java you
use the KeyListener interface.