Playing with a JFrame.