Basically the error I get is, "Do not use A3PizzaProgram.add() use A3PizzaProgram.getContentPane().add() instead"
I thought i was meant to use setContentPane("panelname") in the class for it to show up? And if I dont use two classes, and I put them in one, i cant get the 2 panels to show next to each other. They kind of sit on top of the other. I know its something to do with the "setContentPane()"
This is not all of the code but the code where I am using the Swing stuff.
.....
Also how can I incorporate this
thread code
It dont seem to work, with two classes. i know there is a work around.
[ March 30, 2004: Message edited by: Karis Brown ]