Experimenting with JFrame