This content has been marked as final. Show 3 replies
U will have to read the System.*.read() and "case"it to the right key.
The rest of it is simple ??
yes , this can implement pageup and pagedown function, but can't implement break function . Because how can i know the screen size , in other words , how can i know i should output(write) how much bytes before break?
do you know some ways? thans very much for your answering.
the j2se libraries don't have an abstraction for getting information like this - so java is effectively unaware of a console
there is an enhancement request for this - i've not heard any mention of this getting into Tiger (??)
when i had a go at this
and kind of relevent