public Component getRoutingComponent() { return getOwner(); }
public ResizableDialog(Frame owner, String title, boolean modal) throws HeadlessException { super(owner, title, modal); initComponents(); }
setModal(false); setUndecorated(true); setContentPane(_resizablePanel); addComponentListener(new ComponentAdapter() { @Override public void componentResized(ComponentEvent e) {
@Override protected boolean processKeyBinding(KeyStroke ks, KeyEvent e, int condition, boolean pressed) { boolean processed = super.processKeyBinding(ks, e, condition, pressed); if (processed || e.isConsumed() || !isRoutingKeyStrokes()) return processed; Component routingParent = getRoutingComponent(); if (routingParent == null) { return false;
@Override public void componentResized(ComponentEvent e) { _resizablePanel.setSize(getSize()); } });
public ResizableDialog(Dialog owner, boolean modal) throws HeadlessException { super(owner, modal); initComponents(); }
public ResizableDialog(Dialog owner, String title) throws HeadlessException { super(owner, title); initComponents(); }
public ResizableDialog(Dialog owner, String title, boolean modal) throws HeadlessException { super(owner, title, modal); initComponents(); }
public ResizableDialog(Frame owner) throws HeadlessException { super(owner); initComponents(); }
public ResizableDialog(Frame owner, boolean modal) throws HeadlessException { super(owner, modal); initComponents(); }
public ResizableDialog(Frame owner, String title) throws HeadlessException { super(owner, title); initComponents(); }
public ResizableDialog(Dialog owner) throws HeadlessException { super(owner); initComponents(); }
public ResizableDialog(Frame owner, String title, boolean modal, GraphicsConfiguration gc) { super(owner, title, modal, gc); initComponents(); }
public ResizableDialog(Dialog owner, String title, boolean modal, GraphicsConfiguration gc) throws HeadlessException { super(owner, title, modal, gc); initComponents(); }
public ResizableDialog() throws HeadlessException { initComponents(); }