delete the setPreferredSize of the startFrame in CandidateVotePanel.java