I have four panels in a container. How would I go about drawing a line under the panels? I was looking at the API and there is a Graphics class with a drawLine method that I can use. There is also a JSeparator class in swing that is another possibility.
studentPanel = new Panel(new FlowLayout(FlowLayout.LEFT));
lblPanel = new Panel(new FlowLayout(FlowLayout.LEFT));