Swing app with 2 fields