sets up the visual aspects in a Swing GUI panel