In Java, is there a way to take a Rectrangle or Line
such as the following and place it in a JTabbedPane?
g.drawRect(0, 0,width, height);
g.drawLine(x, y, width, height);
Would I have to create a JPanel?
How would I do this?
Your help in understanding this is appreciated.