Example #1
0
 /**
  * Creates a window with the specified owner frame. If {@code owner} is {@code null}, the shared
  * owner will be used and this window will not be focusable. Also, this window will not be
  * focusable unless its owner is showing on the screen.
  *
  * <p>This constructor sets the component's locale property to the value returned by {@code
  * JComponent.getDefaultLocale}.
  *
  * @param owner the frame from which the window is displayed
  */
 public WebWindow(final Frame owner) {
   super(owner);
   initialize();
 }
Example #2
0
 /**
  * Creates a window with no specified owner. This window will not be focusable.
  *
  * <p>This constructor sets the component's locale property to the value returned by {@code
  * JComponent.getDefaultLocale}.
  */
 public WebWindow() {
   super();
   initialize();
 }
Example #3
0
 /**
  * Creates a window with the specified {@code GraphicsConfiguration} of a screen device. This
  * window will not be focusable.
  *
  * <p>This constructor sets the component's locale property to the value returned by {@code
  * JComponent.getDefaultLocale}.
  *
  * @param gc the {@code GraphicsConfiguration} that is used to construct the new window with; if
  *     gc is {@code null}, the system default {@code GraphicsConfiguration} is assumed
  */
 public WebWindow(final GraphicsConfiguration gc) {
   super(gc);
   initialize();
 }
Example #4
0
 /**
  * Creates a window with the owner window from the specified component. This window will not be
  * focusable unless its owner is showing on the screen. If {@code owner} is {@code null}, the
  * shared owner will be used and this window will not be focusable.
  *
  * <p>This constructor sets the component's locale property to the value returned by {@code
  * JComponent.getDefaultLocale}.
  *
  * @param owner the componnt from which parent window this window is displayed
  */
 public WebWindow(final Component owner) {
   super(SwingUtils.getWindowAncestor(owner));
   initialize();
 }