How do you do this in java?( This is urgent )

Printable View