this.menuBar = this.createMenuBar(); if (this.menuBar != null) { this.add(this.menuBar); this.add(this.minimizeButton); this.add(this.toggleButton); this.add(this.closeButton); this.add(this.heapStatusPanel); boolean isHeapStatusPanelShowing = SubstanceWidgetManager .getInstance().isAllowed(rootPane, this.menuBar = this.createMenuBar(); if (this.menuBar != null) { this.add(this.menuBar); this.add(this.closeButton);
this.menuBar = this.createMenuBar(); if (this.menuBar != null) { this.add(this.menuBar); this.add(this.minimizeButton); this.add(this.toggleButton); this.add(this.closeButton); this.add(this.heapStatusPanel); boolean isHeapStatusPanelShowing = SubstanceWidgetManager .getInstance().isAllowed(rootPane, this.createActions(); this.createButtons(); this.add(this.closeButton);