theo19, for a start you have confused the names on lines 22 to 24, you have written:
JPanel row2pane1 = new JPanel();
JPanel row3pane1 = new JPanel();
JPanel row4pane1 = new JPanel();
instead of
JPanel row2panel = new JPanel();
JPanel row3panel = new JPanel();
JPanel row4panel = new JPanel();
i.e. you have written row2pane1 instead of row2panel. This file will compile when you change those three lines, but I am guessing you are going to have some more issues with this program, for example line 37 where you add a panel to itself.
Last edited by majestic0110; Sep 28th, 2009 at 9:16 am.
Reputation Points: 256
Solved Threads: 72
Nearly a Posting Virtuoso
Offline 1,306 posts
since Oct 2007