
Re: JTable header not showing when using MigLayout
Hello,
Sorry for the long time but I finally got some time to work on MigLayout.
This code seems to work for me.
Code:
public class TestMigLayout
{
public static void main(String[] args)
{
JFrame frame = new JFrame();
frame.setLayout(new MigLayout());
JComponent table = new JTable(10, 10);
frame.add(new JScrollPane(table));
frame.pack();
frame.setVisible(true);
}
}
Cheers,
Mikael