Package javax.swing

Examples of javax.swing.JSplitPane.validate()


  protected JComponent createWidget() {
    JSplitPane jsp = new JSplitPane();
    Dimension size = new Dimension(100, 100);
    jsp.setSize(size);
    jsp.doLayout();
    jsp.validate();
    return jsp;
  }

  private boolean existsAndDesigning(JComponent comp) {
    return comp != null && WidgetAdapter.getWidgetAdapter(comp) != null;
View Full Code Here


      int size = split.getOrientation() == JSplitPane.HORIZONTAL_SPLIT ? split.getWidth() : split.getHeight();
      // if we're not ready to render, then defer processing again until later
      if (!split.isValid() || size == 0) {
    // try to validate first
    if (!split.isValid())
        split.validate();
    // now redispatch
    return;
      }
     
      timer.stop();
View Full Code Here

    DockingPort port = DockingUtility.getParentDockingPort(split);
    if (port instanceof DefaultDockingPort) {
        ((DefaultDockingPort) port).evaluateDockingBorderStatus();
    }

    split.validate();
      }
     
      for (int i = 0; i < len; i++) {
    ((SplitNode) splitNodes.get(i)).getSplitPane().setVisible(true);
      }
View Full Code Here

        } else {
            browserOverviewSplit.setBottomComponent(null);
            browserOverviewSplit.setDividerLocation(.8);
        }
       
        browserOverviewSplit.validate();
    }
   
    /**
     * Return the action that handles showing/hiding the Explorer view.
     * @return Action
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.