Added resizing to left and right panes.
Moved re-usable swing components into their own package.