a simple java gui