fixed my JPanel still needs improving