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,107
  • 18
  • 130
  • 305
Broak
  • 4,106
  • 4
  • 29
  • 54

0 Answers0