javax.swing.JSplitPane.setLastDividerLocation()方法的使用及代码示例

x33g5p2x  于2022-01-21 转载在 其他  
字(1.7k)|赞(0)|评价(0)|浏览(174)

本文整理了Java中javax.swing.JSplitPane.setLastDividerLocation()方法的一些代码示例,展示了JSplitPane.setLastDividerLocation()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。JSplitPane.setLastDividerLocation()方法的具体详情如下:
包路径:javax.swing.JSplitPane
类名称:JSplitPane
方法名:setLastDividerLocation

JSplitPane.setLastDividerLocation介绍

暂无

代码示例

代码示例来源:origin: net.sf.squirrel-sql.plugins/hibernate

public void run()
  {
   splitPane.setLastDividerLocation(getWidth() / 2 );
  }
};

代码示例来源:origin: net.sf.squirrel-sql.plugins/firebirdmanager

private JPanel createMain()
{
  initVisualObjects();
  JPanel jpanel1 = new JPanel();
  FormLayout formlayout1 =
    new FormLayout("FILL:3DLU:NONE,FILL:DEFAULT:GROW(1.0),FILL:3DLU:NONE",
      "CENTER:5DLU:NONE,FILL:DEFAULT:GROW(1.0),CENTER:5DLU:NONE,CENTER:DEFAULT:NONE,CENTER:5DLU:NONE");
  CellConstraints cc = new CellConstraints();
  jpanel1.setLayout(formlayout1);
  jsplitpaneMain.setDividerLocation(180);
  jsplitpaneMain.setLastDividerLocation(-1);
  jsplitpaneMain.setName("jsplitpaneMain");
  jpanel1.add(jsplitpaneMain, cc.xy(2, 2));
  jpanel1.add(createPanelEdit(), cc.xy(2, 4));
  return jpanel1;
}

代码示例来源:origin: freeplane/freeplane

if (splitPanePosition != -1 && lastSplitPanePosition != -1) {
  mSplitPane.setDividerLocation(splitPanePosition);
  mSplitPane.setLastDividerLocation(lastSplitPanePosition);

代码示例来源:origin: org.orbisgis/orbisgis-omanager

splitPane.setLastDividerLocation(splitPane.getDividerLocation());

代码示例来源:origin: net.sf.ingenias/editor

splitPanelDiagramMessagesPaneSeparator.setLastDividerLocation(150);
pprin.setLayout(new BorderLayout());
pprin.setName("DiagramPane");

代码示例来源:origin: org.xworker/xworker_core

comp.setLastDividerLocation(lastDividerLocation);

相关文章

JSplitPane类方法