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

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

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

GroupLayout.createSequentialGroup介绍

[英]Creates and returns a SequentialGroup.
[中]创建并返回一个SequentialGroup

代码示例

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

.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(org.jdesktop.layout.GroupLayout.TRAILING, bBrowseOutputDir)
                .add(org.jdesktop.layout.GroupLayout.TRAILING, bBrowseInputDir)).addContainerGap())
    .add(layout.createSequentialGroup().addContainerGap().add(jPanel1, 0, 465, Short.MAX_VALUE).addContainerGap())
    .add(layout
        .createSequentialGroup()
        .add(80, 80, 80)
        .add(layout
            .add(org.jdesktop.layout.GroupLayout.TRAILING, progressBar,
                org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 358, Short.MAX_VALUE)
            .add(layout.createSequentialGroup().add(bRun)
                .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
            .createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING)
            .add(layout.createSequentialGroup().add(bBrowseInputDir)
                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED).add(bBrowseOutputDir))
            .add(layout
                .createSequentialGroup()
                .add(layout

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

.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(org.jdesktop.layout.GroupLayout.TRAILING, bBrowseOutputDir)
                .add(org.jdesktop.layout.GroupLayout.TRAILING, bBrowseInputDir)).addContainerGap())
    .add(layout.createSequentialGroup().addContainerGap().add(jPanel1, 0, 465, Short.MAX_VALUE).addContainerGap())
    .add(layout
        .createSequentialGroup()
        .add(80, 80, 80)
        .add(layout
            .add(org.jdesktop.layout.GroupLayout.TRAILING, progressBar,
                org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 358, Short.MAX_VALUE)
            .add(layout.createSequentialGroup().add(bRun)
                .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
            .createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING)
            .add(layout.createSequentialGroup().add(bBrowseInputDir)
                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED).add(bBrowseOutputDir))
            .add(layout
                .createSequentialGroup()
                .add(layout

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

layout.setHorizontalGroup(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING).add(
    org.jdesktop.layout.GroupLayout.TRAILING,
    layout.createSequentialGroup()
        .addContainerGap()
        .add(layout
            .add(org.jdesktop.layout.GroupLayout.LEADING, spDescription,
                org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 646, Short.MAX_VALUE)
            .add(layout.createSequentialGroup().add(lName)
                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED).add(lNameValue)
                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED).add(lLocale)
                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED).add(lSizeValue))
            .add(org.jdesktop.layout.GroupLayout.LEADING,
                layout.createSequentialGroup().add(lStatus)
                    .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED).add(lStatusValue)))
        .addContainerGap()));
    .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))

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

layout.setHorizontalGroup(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING).add(
    org.jdesktop.layout.GroupLayout.TRAILING,
    layout.createSequentialGroup()
        .addContainerGap()
        .add(layout
            .add(org.jdesktop.layout.GroupLayout.LEADING, jScrollPane1,
                org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 586, Short.MAX_VALUE)
            .add(layout.createSequentialGroup().add(lName)
                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED).add(lNameValue)
                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED).add(lName1)
                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED).add(lNameValue2))
            .add(org.jdesktop.layout.GroupLayout.LEADING,
                layout.createSequentialGroup().add(lName4)
                    .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))

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

layout.setHorizontalGroup(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING).add(
    org.jdesktop.layout.GroupLayout.TRAILING,
    layout.createSequentialGroup()
        .addContainerGap()
        .add(layout
            .add(org.jdesktop.layout.GroupLayout.LEADING, jScrollPane1,
                org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 586, Short.MAX_VALUE)
            .add(layout.createSequentialGroup().add(lName)
                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED).add(lNameValue)
                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED).add(lName1)
                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED).add(lNameValue2))
            .add(org.jdesktop.layout.GroupLayout.LEADING,
                layout.createSequentialGroup().add(lName4)
                    .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))

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

this.setLayout(layout);
layout.setHorizontalGroup(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING).add(
    layout.createSequentialGroup()
        .addContainerGap()
        .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
        .addContainerGap()));
layout.setVerticalGroup(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING).add(
    layout.createSequentialGroup()
        .add(lName)
        .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)

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

layout.setHorizontalGroup(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING).add(
    org.jdesktop.layout.GroupLayout.TRAILING,
    layout.createSequentialGroup()
        .addContainerGap()
        .add(layout
            .add(org.jdesktop.layout.GroupLayout.LEADING, spDescription,
                org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 646, Short.MAX_VALUE)
            .add(layout.createSequentialGroup().add(lName)
                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED).add(lNameValue)
                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED).add(lLocale)
                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED).add(lSizeValue))
            .add(org.jdesktop.layout.GroupLayout.LEADING,
                layout.createSequentialGroup().add(lStatus)
                    .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED).add(lStatusValue)))
        .addContainerGap()));
    .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))

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

this.setLayout(layout);
layout.setHorizontalGroup(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING).add(
    layout.createSequentialGroup()
        .addContainerGap()
        .add(layout
                org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)).addContainerGap()));
layout.setVerticalGroup(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING).add(
    layout.createSequentialGroup()
        .add(lName)
        .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)

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

this.setLayout(layout);
layout.setHorizontalGroup(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING).add(
    layout.createSequentialGroup()
        .addContainerGap()
        .add(layout
                org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)).addContainerGap()));
layout.setVerticalGroup(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING).add(
    layout.createSequentialGroup()
        .add(lName)
        .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)

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

this.setLayout(layout);
layout.setHorizontalGroup(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING).add(
    layout.createSequentialGroup()
        .addContainerGap()
        .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
        .addContainerGap()));
layout.setVerticalGroup(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING).add(
    layout.createSequentialGroup()
        .add(lName)
        .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)

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

jPanel1Layout.setHorizontalGroup(
    jPanel1Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
        .add(jPanel1Layout.createSequentialGroup()
            .addContainerGap()
            .add(jPanel1Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .addPreferredGap(org.jdesktop.layout.LayoutStyle.UNRELATED)
            .add(jPanel1Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                .add(jPanel1Layout.createSequentialGroup()
                    .add(requestCountField)
                    .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                    .add(24, 24, 24)
                    .add(runButton))
                .add(jPanel1Layout.createSequentialGroup()
                    .add(uriField)
                    .addContainerGap())))
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)
jPanel2Layout.setHorizontalGroup(
    jPanel2Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
        .add(jPanel2Layout.createSequentialGroup()
            .addContainerGap()
            .add(jPanel2Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)

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

.add(org.jdesktop.layout.GroupLayout.TRAILING,
        jPanel_SpeakerWindowLayout
            .createSequentialGroup()
            .add(jPanel_SpeakerWindowLayout
                .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                .add(jPanel_SpeakerWindowLayout
                    .createSequentialGroup()
                    .add(jProgressBar_SpeakerProgress,
                        org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 622,
                        org.jdesktop.layout.GroupLayout.PREFERRED_SIZE).add(21, 21, 21))
                .add(jPanel_SpeakerWindowLayout
                    .createSequentialGroup()
                    .add(jScrollPane1, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 645,
                        Short.MAX_VALUE).add(233, 233, 233))).add(jLabel_SessionStatus))
    org.jdesktop.layout.GroupLayout.TRAILING,
    jPanel_SpeakerWindowLayout
        .createSequentialGroup()
        .add(jTextPane_PromptDisplay, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 286, Short.MAX_VALUE)
        .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
getContentPane().setLayout(layout);
layout.setHorizontalGroup(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING).add(
    layout.createSequentialGroup()
        .addContainerGap()
        .add(jPanel_SpeakerWindow, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
            org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE).addContainerGap()));
layout.setVerticalGroup(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING).add(

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

.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
.add(jPanel_CopyrightTextLayout
    .createSequentialGroup()
    .addContainerGap()
    .add(jPanel_CopyrightTextLayout
.add(org.jdesktop.layout.GroupLayout.TRAILING,
    jPanel_CopyrightTextLayout
        .createSequentialGroup()
        .addContainerGap(77, Short.MAX_VALUE)
        .add(jLabel_ToolIcon)
            .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(jPanel_CopyrightTextLayout
                .createSequentialGroup()
                .add(jLabel3, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 86,
                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
org.jdesktop.layout.GroupLayout.LEADING).add(
jPanel_CopyrightTextLayout
    .createSequentialGroup()
    .add(39, 39, 39)
    .add(jPanel_CopyrightTextLayout
        .add(jLabel_ToolIcon)
        .add(jPanel_CopyrightTextLayout
            .createSequentialGroup()
            .add(jPanel_CopyrightTextLayout
                .createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)

代码示例来源: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(pCurrentLayout
                .createSequentialGroup()
                .add(lStatus)
                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
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(lStatus).add(lStatusValue)))
            .add(pCurrentLayout
                .createSequentialGroup()
                .add(27, 27, 27)
                .add(pbCurrent, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
pOverallLayout.setHorizontalGroup(pOverallLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING).add(

代码示例来源: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

/**
 * 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

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(pCurrentLayout
                .createSequentialGroup()
                .add(lStatus)
                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
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(lStatus).add(lStatusValue)))
            .add(pCurrentLayout
                .createSequentialGroup()
                .add(27, 27, 27)
                .add(pbCurrent, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
pOverallLayout.setHorizontalGroup(pOverallLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING).add(

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

jPanel3Layout.setHorizontalGroup(
    jPanel3Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
        .add(jPanel3Layout.createSequentialGroup()
            .addContainerGap()
            .add(newKeywordField)
jPanel3Layout.setVerticalGroup(
    jPanel3Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
        .add(jPanel3Layout.createSequentialGroup()
            .addContainerGap()
            .add(jPanel3Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
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,
                        Short.MAX_VALUE)
                    .addContainerGap())
                .add(jPanel1Layout.createSequentialGroup()
                    .add(connectionStatusLabel, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
                        org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
jPanel1Layout.setVerticalGroup(
    jPanel1Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
        .add(jPanel1Layout.createSequentialGroup()
            .addContainerGap()

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

pDownloadLayout.setHorizontalGroup(pDownloadLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING).add(
    pDownloadLayout
        .createSequentialGroup()
        .add(tfComponentListURL, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 540,
            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
    org.jdesktop.layout.GroupLayout.TRAILING,
    pInstallButtonsLayout
        .createSequentialGroup()
        .add(146, 146, 146)
        .add(bInstall, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
pInstallButtonsLayout.setVerticalGroup(pInstallButtonsLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
    .add(pInstallButtonsLayout
        .createSequentialGroup()
        .addContainerGap()
        .add(pInstallButtonsLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE).add(bUninstall)
jPanel1Layout.setHorizontalGroup(jPanel1Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING).add(
    jPanel1Layout
        .createSequentialGroup()
        .add(jPanel1Layout
            .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
    org.jdesktop.layout.GroupLayout.TRAILING,
    jPanel1Layout
        .createSequentialGroup()
        .addContainerGap()
        .add(jPanel1Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE).add(jLabel1)

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

pDownloadLayout.setHorizontalGroup(pDownloadLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING).add(
    pDownloadLayout
        .createSequentialGroup()
        .add(tfComponentListURL, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 540,
            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
    org.jdesktop.layout.GroupLayout.TRAILING,
    pInstallButtonsLayout
        .createSequentialGroup()
        .add(146, 146, 146)
        .add(bInstall, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
pInstallButtonsLayout.setVerticalGroup(pInstallButtonsLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
    .add(pInstallButtonsLayout
        .createSequentialGroup()
        .addContainerGap()
        .add(pInstallButtonsLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE).add(bUninstall)
jPanel1Layout.setHorizontalGroup(jPanel1Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING).add(
    jPanel1Layout
        .createSequentialGroup()
        .add(jPanel1Layout
            .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
    org.jdesktop.layout.GroupLayout.TRAILING,
    jPanel1Layout
        .createSequentialGroup()
        .addContainerGap()
        .add(jPanel1Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE).add(jLabel1)

相关文章