how to flush the keyboard buffer in java?

Printable View