GridLayout columns problem
Is it possible to add an empty column to a row using GridLayout?
I am trying to have some rows with two columns and some with 1 column.
JFrame frame =new JFrame("Test message");
frame.addWindowListener(new BasicWindowMonitor());
Container c = frame.getContentPane();
c.setLayout(new GridLayout(0,2));
c.add(new JLabel("Please select the appropriate method of contact "));
c.add();// This line does not work
c.add(phone);
c.add(email);
.
.
c.add(submit, BorderLayout.SOUTH);
frame.pack();
frame.setVisible(true);
I guess I am trying to reproduce an html table where I can have
some empty colums by just placing an empty <td></td>
Is there something similar I can do?
Thank you.

