0

enter image description here

I am adding tabs to the pane like so:

            JTextPane field = new JTextPane();
            field.setText("New test string");
            field.setEditable(false);         
            chatTabPane.addTab("Tab 1", null, new JScrollPane(field),
                    "Does nothing");
            for (int i = 0; i < chatTabPane.getTabCount(); i++) {
                 chatTabPane.setTabComponentAt(i,
                 new ButtonTabComponent(chatTabPane));
            }

However, unless i'm mistaken there should be a blueish bar along underneath the tabs? why is it they're floating way above the pane?

mKorbel
  • 109,525
  • 20
  • 134
  • 319
Broak
  • 4,161
  • 4
  • 31
  • 54

0 Answers0