Update test.java

Played around with Swing, added some of that for fun.