Fixed Design bug in OACTabbedPane and functionality in OACTitleBar
This commit is contained in:
@@ -69,11 +69,10 @@ public class OACTitleBar extends OACPanel {
|
||||
* Adds a new tab.
|
||||
*
|
||||
* @param title tab title
|
||||
* @param panel tab body
|
||||
*/
|
||||
public void addTab(String title) {
|
||||
OACPanel placeholder = new OACPanel();
|
||||
placeholder.setOpaque(false);
|
||||
tabs.addTab(title, placeholder);
|
||||
public void addTab(String title, OACPanel panel) {
|
||||
tabs.addTab(title, panel);
|
||||
}
|
||||
|
||||
private OACTabbedPane createTabs() {
|
||||
|
||||
Reference in New Issue
Block a user