int decorationStyle = this.getWindowDecorationStyle(); if (decorationStyle == JRootPane.FRAME) { this.createActions(); this.menuBar = this.createMenuBar(); if (this.menuBar != null) { || (decorationStyle == JRootPane.QUESTION_DIALOG) || (decorationStyle == JRootPane.WARNING_DIALOG)) { this.createActions(); this.createButtons(); this.add(this.closeButton);
int decorationStyle = this.getWindowDecorationStyle(); if (decorationStyle == JRootPane.FRAME) { this.createActions(); this.menuBar = this.createMenuBar(); if (this.menuBar != null) { || (decorationStyle == JRootPane.QUESTION_DIALOG) || (decorationStyle == JRootPane.WARNING_DIALOG)) { this.createActions(); this.menuBar = this.createMenuBar(); if (this.menuBar != null) {