You need to create a panel with the button that you want like this.
JPanel panel = new JPanel();
panel.add(crime);
tab.addTab("Input", null, panel, "Input");
That should put the button in the tabpane.
Vincent Ramdhanie
2009-10-19 13:47:26