for
some reason, my posts don't got through...
that
scroll pane thing, I sent and it wasn't posted for over a
day.
I
posted the answer.
Thanks
to everyone who sent all the "set policy" ideas, but here was the
solution:
this didn't work:
private JPanel
getWordDecodePanel()
{
JPanel panel = new
JPanel(new BorderLayout());
wordDecodeTable = new
JTable();
JScrollPane scroll = new
JScrollPane(wordDecodeTable);
panel.add(scroll,
BorderLayout.CENTER);
return panel;
}
this did work:
private JPanel
getWordDecodePanel()
{
JPanel panel = new
JPanel(new BorderLayout());
wordDecodeTable = new
JTable();
panel.add(JScrollPane(wordDecodeTable),
BorderLayout.CENTER);
return panel;
}
there's still no answer why... it's just how it finally worked.
aaron
