Adding constants for WIDTH and HEIGHT dimensions
Using setPreferredSize for UI components
Explicitly assigned BoxLayout to controlPanel and controlFrame (instead
of using Box as the container) 
Added rigid areas in the Box Layout