Added JPanels and tested by drawing line.