/** Enables or disables the border. * @param border whether to have a border. If true is specified, * it is the same as <code>setBorder("normal")</code>. * @since 5.0.8 */ public void setBorder(boolean border) { setBorder(border ? "normal" : "none"); }
/** * @param title the window title (see {@link #setTitle}). * @param border the border (see {@link #setBorder}). * @param closable whether it is closable (see {@link #setClosable}). */ public Window(String title, String border, boolean closable) { this(); setTitle(title); setBorder(border); setClosable(closable); }