org.jdesktop.layout.GroupLayout.createParallelGroup()方法的使用及代码示例

x33g5p2x  于2022-01-20 转载在 其他  
字(24.5k)|赞(0)|评价(0)|浏览(147)

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

GroupLayout.createParallelGroup介绍

[英]Creates and returns a ParallelGroup with a LEADING alignment. This is a cover method for the more general createParallelGroup(int) method.
[中]创建并返回带有LEADING对齐方式的ParallelGroup。这是更一般的createParallelGroup(int)方法的覆盖方法。

代码示例

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

layout.setHorizontalGroup(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING).add(
    layout.createSequentialGroup()
        .addContainerGap()
        .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(tfUser, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 229, Short.MAX_VALUE).add(lName)
            .add(lName1)
            .add(passwordField, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 229, Short.MAX_VALUE))
        .addContainerGap()));
layout.setVerticalGroup(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING).add(
    layout.createSequentialGroup()
        .add(lName)

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

layout.setHorizontalGroup(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING).add(
    layout.createSequentialGroup()
        .addContainerGap()
        .add(layout
            .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(tfHost, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 229, Short.MAX_VALUE)
            .add(lName)
            .add(tfPort, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 99,
                org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)).addContainerGap()));
layout.setVerticalGroup(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING).add(
    layout.createSequentialGroup()
        .add(lName)

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

layout.setHorizontalGroup(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING).add(
    layout.createSequentialGroup()
        .addContainerGap()
        .add(layout
            .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(tfHost, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 229, Short.MAX_VALUE)
            .add(lName)
            .add(tfPort, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 99,
                org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)).addContainerGap()));
layout.setVerticalGroup(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING).add(
    layout.createSequentialGroup()
        .add(lName)

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

/**
 * This method is called from within the constructor to initialize the form. WARNING: Do NOT modify this code. The content of
 * this method is always regenerated by the Form Editor.
 */
// <editor-fold defaultstate="collapsed" desc=" Generated Code ">//GEN-BEGIN:initComponents
private void initComponents() {
  questionText = new javax.swing.JLabel();
  jScrollPane1 = new javax.swing.JScrollPane();
  licenseTextPane = new javax.swing.JTextPane();
  jScrollPane1.setViewportView(licenseTextPane);
  org.jdesktop.layout.GroupLayout layout = new org.jdesktop.layout.GroupLayout(this);
  this.setLayout(layout);
  layout.setHorizontalGroup(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING).add(
      org.jdesktop.layout.GroupLayout.TRAILING,
      layout.createSequentialGroup()
          .addContainerGap()
          .add(layout
              .createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING)
              .add(org.jdesktop.layout.GroupLayout.LEADING, jScrollPane1,
                  org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 462, Short.MAX_VALUE)
              .add(org.jdesktop.layout.GroupLayout.LEADING, questionText,
                  org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 462, Short.MAX_VALUE)).addContainerGap()));
  layout.setVerticalGroup(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING).add(
      layout.createSequentialGroup()
          .addContainerGap()
          .add(questionText, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 58,
              org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
          .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
          .add(jScrollPane1, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 460, Short.MAX_VALUE).addContainerGap()));
}// </editor-fold>//GEN-END:initComponents

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

layout.setHorizontalGroup(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING).add(
    layout.createSequentialGroup()
        .addContainerGap()
        .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(tfUser, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 229, Short.MAX_VALUE).add(lName)
            .add(lName1)
            .add(passwordField, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 229, Short.MAX_VALUE))
        .addContainerGap()));
layout.setVerticalGroup(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING).add(
    layout.createSequentialGroup()
        .add(lName)

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

getContentPane().setLayout(layout);
layout.setHorizontalGroup(layout
    .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
    .add(org.jdesktop.layout.GroupLayout.TRAILING,
        layout.createSequentialGroup()
            .addContainerGap()
            .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING).add(jLabel1)
                .add(jLabel2))
            .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
            .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                .add(tfOutputDir, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 217, Short.MAX_VALUE)
                .add(tfInputDir, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 217, Short.MAX_VALUE))
            .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
            .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                .add(org.jdesktop.layout.GroupLayout.TRAILING, bBrowseOutputDir)
                .add(org.jdesktop.layout.GroupLayout.TRAILING, bBrowseInputDir)).addContainerGap())
        .add(80, 80, 80)
        .add(layout
            .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(org.jdesktop.layout.GroupLayout.TRAILING, progressBar,
                org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 358, Short.MAX_VALUE)
                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED, 208, Short.MAX_VALUE)
                .add(bQuit))).add(67, 67, 67)));
layout.setVerticalGroup(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING).add(
    layout.createSequentialGroup()
        .addContainerGap()
        .add(layout

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

getContentPane().setLayout(layout);
layout.setHorizontalGroup(layout
    .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
    .add(org.jdesktop.layout.GroupLayout.TRAILING,
        layout.createSequentialGroup()
            .addContainerGap()
            .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING).add(jLabel1)
                .add(jLabel2))
            .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
            .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                .add(tfOutputDir, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 217, Short.MAX_VALUE)
                .add(tfInputDir, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 217, Short.MAX_VALUE))
            .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
            .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                .add(org.jdesktop.layout.GroupLayout.TRAILING, bBrowseOutputDir)
                .add(org.jdesktop.layout.GroupLayout.TRAILING, bBrowseInputDir)).addContainerGap())
        .add(80, 80, 80)
        .add(layout
            .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(org.jdesktop.layout.GroupLayout.TRAILING, progressBar,
                org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 358, Short.MAX_VALUE)
                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED, 208, Short.MAX_VALUE)
                .add(bQuit))).add(67, 67, 67)));
layout.setVerticalGroup(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING).add(
    layout.createSequentialGroup()
        .addContainerGap()
        .add(layout

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

/**
 * This method is called from within the constructor to initialize the form. WARNING: Do NOT modify this code. The content of
 * this method is always regenerated by the Form Editor.
 */
// <editor-fold defaultstate="collapsed" desc=" Generated Code ">//GEN-BEGIN:initComponents
private void initComponents() {
  questionText = new javax.swing.JLabel();
  jScrollPane1 = new javax.swing.JScrollPane();
  licenseTextPane = new javax.swing.JTextPane();
  jScrollPane1.setViewportView(licenseTextPane);
  org.jdesktop.layout.GroupLayout layout = new org.jdesktop.layout.GroupLayout(this);
  this.setLayout(layout);
  layout.setHorizontalGroup(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING).add(
      org.jdesktop.layout.GroupLayout.TRAILING,
      layout.createSequentialGroup()
          .addContainerGap()
          .add(layout
              .createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING)
              .add(org.jdesktop.layout.GroupLayout.LEADING, jScrollPane1,
                  org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 462, Short.MAX_VALUE)
              .add(org.jdesktop.layout.GroupLayout.LEADING, questionText,
                  org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 462, Short.MAX_VALUE)).addContainerGap()));
  layout.setVerticalGroup(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING).add(
      layout.createSequentialGroup()
          .addContainerGap()
          .add(questionText, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 58,
              org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
          .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
          .add(jScrollPane1, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 460, Short.MAX_VALUE).addContainerGap()));
}// </editor-fold>//GEN-END:initComponents

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

layout.setHorizontalGroup(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING).add(
    org.jdesktop.layout.GroupLayout.TRAILING,
    layout.createSequentialGroup()
        .addContainerGap()
        .add(layout
            .createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING)
            .add(org.jdesktop.layout.GroupLayout.LEADING, spDescription,
                org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 646, Short.MAX_VALUE)
        .addContainerGap()));
layout.setVerticalGroup(layout
    .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
    .add(layout
        .createSequentialGroup()
        .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE).add(lSizeValue).add(lSize)
            .add(lVersionValue).add(lVersion).add(lName).add(lNameValue).add(lLocale).add(lLocaleValue))
        .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
        .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
        .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE).add(lStatus).add(lStatusValue))));

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

layout.setHorizontalGroup(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING).add(
    org.jdesktop.layout.GroupLayout.TRAILING,
    layout.createSequentialGroup()
        .addContainerGap()
        .add(layout
            .createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING)
            .add(org.jdesktop.layout.GroupLayout.LEADING, jScrollPane1,
                org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 586, Short.MAX_VALUE)
                    .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED).add(lNameValue4)))
        .addContainerGap()));
layout.setVerticalGroup(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING).add(
    layout.createSequentialGroup()
        .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE).add(lNameValue2).add(lName3)
            .add(lNameValue3).add(lName2).add(lName).add(lNameValue).add(lName1).add(lNameValue1))
        .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
        .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
        .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE).add(lName4).add(lNameValue4))));

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

layout.setHorizontalGroup(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING).add(
    org.jdesktop.layout.GroupLayout.TRAILING,
    layout.createSequentialGroup()
        .addContainerGap()
        .add(layout
            .createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING)
            .add(org.jdesktop.layout.GroupLayout.LEADING, jScrollPane1,
                org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 586, Short.MAX_VALUE)
                    .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED).add(lNameValue4)))
        .addContainerGap()));
layout.setVerticalGroup(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING).add(
    layout.createSequentialGroup()
        .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE).add(lNameValue2).add(lName3)
            .add(lNameValue3).add(lName2).add(lName).add(lNameValue).add(lName1).add(lNameValue1))
        .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
        .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
        .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE).add(lName4).add(lNameValue4))));

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

jPanel_CopyrightText.setLayout(jPanel_CopyrightTextLayout);
jPanel_CopyrightTextLayout.setHorizontalGroup(jPanel_CopyrightTextLayout
    .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
    .add(jPanel_CopyrightTextLayout
        .createSequentialGroup()
        .addContainerGap()
        .add(jPanel_CopyrightTextLayout
            .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(jLabel_DFKILogo, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 222,
                org.jdesktop.layout.GroupLayout.PREFERRED_SIZE).add(jLabel_MARYLink)
        .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
        .add(jPanel_CopyrightTextLayout
            .createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING)
            .add(jLabel1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 41,
                org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
            .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
            .add(jPanel_CopyrightTextLayout
                .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                .add(jPanel_CopyrightTextLayout
                    .createSequentialGroup()
                .add(jLabel_ToolName, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
                    org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)).add(75, 75, 75)));
jPanel_CopyrightTextLayout.setVerticalGroup(jPanel_CopyrightTextLayout.createParallelGroup(
    org.jdesktop.layout.GroupLayout.LEADING).add(
    jPanel_CopyrightTextLayout

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

layout.setHorizontalGroup(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING).add(
    org.jdesktop.layout.GroupLayout.TRAILING,
    layout.createSequentialGroup()
        .addContainerGap()
        .add(layout
            .createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING)
            .add(org.jdesktop.layout.GroupLayout.LEADING, spDescription,
                org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 646, Short.MAX_VALUE)
        .addContainerGap()));
layout.setVerticalGroup(layout
    .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
    .add(layout
        .createSequentialGroup()
        .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE).add(lSizeValue).add(lSize)
            .add(lVersionValue).add(lVersion).add(lName).add(lNameValue).add(lLocale).add(lLocaleValue))
        .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
        .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
        .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE).add(lStatus).add(lStatusValue))));

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

jPanel1.setLayout(jPanel1Layout);
jPanel1Layout.setHorizontalGroup(
    jPanel1Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
        .add(jPanel1Layout.createSequentialGroup()
            .addContainerGap()
            .add(jPanel1Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                .add(jLabel1)
                .add(org.jdesktop.layout.GroupLayout.TRAILING, jLabel2))
            .addPreferredGap(org.jdesktop.layout.LayoutStyle.UNRELATED)
            .add(jPanel1Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                .add(jPanel1Layout.createSequentialGroup()
                    .add(requestCountField)
);
jPanel1Layout.setVerticalGroup(
    jPanel1Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
        .add(org.jdesktop.layout.GroupLayout.TRAILING, jPanel1Layout.createSequentialGroup()
            .addContainerGap(org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
            .add(jPanel1Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
                .add(uriField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
                    org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
                .add(jLabel2))
            .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
            .add(jPanel1Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
                .add(requestCountField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
                    org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
jPanel2.setLayout(jPanel2Layout);

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

pDownloadLayout.setHorizontalGroup(pDownloadLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING).add(
    pDownloadLayout
        .createSequentialGroup()
        .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED, 73, Short.MAX_VALUE).add(bUpdate)
        .addContainerGap()));
pDownloadLayout.setVerticalGroup(pDownloadLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING).add(
    pDownloadLayout
        .createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
        .add(tfComponentListURL, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
            org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
pInstallButtonsLayout.setHorizontalGroup(pInstallButtonsLayout.createParallelGroup(
    org.jdesktop.layout.GroupLayout.LEADING).add(
    org.jdesktop.layout.GroupLayout.TRAILING,
            org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE).add(14, 14, 14).add(bUninstall)
        .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED).add(bUninstall1).add(194, 194, 194)));
pInstallButtonsLayout.setVerticalGroup(pInstallButtonsLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
    .add(pInstallButtonsLayout
        .createSequentialGroup()
        .addContainerGap()
        .add(pInstallButtonsLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE).add(bUninstall)
            .add(bInstall).add(bUninstall1))
        .addContainerGap(org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)));
jPanel1Layout.setHorizontalGroup(jPanel1Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING).add(
    jPanel1Layout
        .createSequentialGroup()

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

pDownloadLayout.setHorizontalGroup(pDownloadLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING).add(
    pDownloadLayout
        .createSequentialGroup()
        .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED, 73, Short.MAX_VALUE).add(bUpdate)
        .addContainerGap()));
pDownloadLayout.setVerticalGroup(pDownloadLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING).add(
    pDownloadLayout
        .createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
        .add(tfComponentListURL, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
            org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
pInstallButtonsLayout.setHorizontalGroup(pInstallButtonsLayout.createParallelGroup(
    org.jdesktop.layout.GroupLayout.LEADING).add(
    org.jdesktop.layout.GroupLayout.TRAILING,
            org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE).add(14, 14, 14).add(bUninstall)
        .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED).add(bUninstall1).add(194, 194, 194)));
pInstallButtonsLayout.setVerticalGroup(pInstallButtonsLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
    .add(pInstallButtonsLayout
        .createSequentialGroup()
        .addContainerGap()
        .add(pInstallButtonsLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE).add(bUninstall)
            .add(bInstall).add(bUninstall1))
        .addContainerGap(org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)));
jPanel1Layout.setHorizontalGroup(jPanel1Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING).add(
    jPanel1Layout
        .createSequentialGroup()

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

jPanel_SpeakerWindow.setLayout(jPanel_SpeakerWindowLayout);
jPanel_SpeakerWindowLayout.setHorizontalGroup(jPanel_SpeakerWindowLayout
    .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
    .add(org.jdesktop.layout.GroupLayout.TRAILING,
        jPanel_SpeakerWindowLayout
            .createSequentialGroup()
            .add(jPanel_SpeakerWindowLayout
                .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                .add(jPanel_SpeakerWindowLayout
                    .createSequentialGroup()
                        Short.MAX_VALUE).add(233, 233, 233))).add(jLabel_SessionStatus))
    .add(jTextPane_PromptDisplay, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 942, Short.MAX_VALUE));
jPanel_SpeakerWindowLayout.setVerticalGroup(jPanel_SpeakerWindowLayout.createParallelGroup(
    org.jdesktop.layout.GroupLayout.LEADING).add(
    org.jdesktop.layout.GroupLayout.TRAILING,
        .add(jTextPane_PromptDisplay, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 286, Short.MAX_VALUE)
        .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
        .add(jPanel_SpeakerWindowLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(org.jdesktop.layout.GroupLayout.TRAILING, jLabel_SessionStatus)
            .add(jScrollPane1, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 181, Short.MAX_VALUE))
        .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
        .add(jPanel_SpeakerWindowLayout
            .createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING)
            .add(jPanel_SpeakerWindowLayout
                .createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
                .add(jLabel_PromptCount, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 28,
                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)

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

pCurrentLayout.setHorizontalGroup(pCurrentLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING).add(
    pCurrentLayout
        .createSequentialGroup()
        .add(pCurrentLayout
            .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(pCurrentLayout.createSequentialGroup().add(lName)
                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED).add(lNameValue))
                .add(pbCurrent, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 184,
                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))).addContainerGap()));
pCurrentLayout.setVerticalGroup(pCurrentLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING).add(
    pCurrentLayout
        .createSequentialGroup()
        .add(pCurrentLayout
            .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(pCurrentLayout
                .createSequentialGroup()
                .add(pCurrentLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
                    .add(lName).add(lNameValue))
                .add(16, 16, 16)
                .add(pCurrentLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
                    .add(lStatus).add(lStatusValue)))
            .add(pCurrentLayout
pOverallLayout.setHorizontalGroup(pOverallLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING).add(
    org.jdesktop.layout.GroupLayout.TRAILING,
    pOverallLayout.createSequentialGroup().addContainerGap()
        .add(pbOverall, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 352, Short.MAX_VALUE).addContainerGap()));
pOverallLayout.setVerticalGroup(pOverallLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING).add(

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

jPanel3.setLayout(jPanel3Layout);
jPanel3Layout.setHorizontalGroup(
    jPanel3Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
        .add(jPanel3Layout.createSequentialGroup()
            .addContainerGap()
);
jPanel3Layout.setVerticalGroup(
    jPanel3Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
        .add(jPanel3Layout.createSequentialGroup()
            .addContainerGap()
            .add(jPanel3Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
                .add(newKeywordField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
                    org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
jPanel1.setLayout(jPanel1Layout);
jPanel1Layout.setHorizontalGroup(
    jPanel1Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
        .add(jPanel1Layout.createSequentialGroup()
            .addContainerGap()
            .add(jPanel1Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                .add(jPanel1Layout.createSequentialGroup()
                    .add(jScrollPane2, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 247,
);
jPanel1Layout.setVerticalGroup(
    jPanel1Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
        .add(jPanel1Layout.createSequentialGroup()
            .addContainerGap()

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

pCurrentLayout.setHorizontalGroup(pCurrentLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING).add(
    pCurrentLayout
        .createSequentialGroup()
        .add(pCurrentLayout
            .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(pCurrentLayout.createSequentialGroup().add(lName)
                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED).add(lNameValue))
                .add(pbCurrent, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 184,
                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))).addContainerGap()));
pCurrentLayout.setVerticalGroup(pCurrentLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING).add(
    pCurrentLayout
        .createSequentialGroup()
        .add(pCurrentLayout
            .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(pCurrentLayout
                .createSequentialGroup()
                .add(pCurrentLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
                    .add(lName).add(lNameValue))
                .add(16, 16, 16)
                .add(pCurrentLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
                    .add(lStatus).add(lStatusValue)))
            .add(pCurrentLayout
pOverallLayout.setHorizontalGroup(pOverallLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING).add(
    org.jdesktop.layout.GroupLayout.TRAILING,
    pOverallLayout.createSequentialGroup().addContainerGap()
        .add(pbOverall, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 352, Short.MAX_VALUE).addContainerGap()));
pOverallLayout.setVerticalGroup(pOverallLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING).add(

相关文章