Fixed Error in JPanel Component