Almost working swing gui