a simple gui in java