A simple application in swing.