Fixed Design bug in OACTabbedPane and functionality in OACTitleBar
This commit is contained in:
@@ -22,6 +22,24 @@ public class OACTabbedPane extends JTabbedPane implements OACComponent {
|
||||
super(tabPlacement, tabLayoutPolicy);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void addTab(String title, Component component) {
|
||||
this.initOther(component);
|
||||
super.addTab(title, component);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void addTab(String title, Icon icon, Component component) {
|
||||
this.initOther(component);
|
||||
super.addTab(title, icon, component);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void addTab(String title, Icon icon, Component component, String tip) {
|
||||
this.initOther(component);
|
||||
super.addTab(title, icon, component, tip);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Component add(Component comp) {
|
||||
this.initOther(comp);
|
||||
|
||||
Reference in New Issue
Block a user