Package javax.swing

Examples of javax.swing.GroupLayout.createParallelGroup()


        // panel layout
        GroupLayout layout = new GroupLayout(this);
        this.setLayout(layout);
        layout.setHorizontalGroup(layout.createSequentialGroup().
                addGroup(layout.createParallelGroup().
                addGroup(layout.createSequentialGroup().
                addComponent(radioButton).
                addPreferredGap(ComponentPlacement.RELATED).
                addComponent(customColorButton)).
                addComponent(decoratedPanel)));
View Full Code Here


                addComponent(radioButton).
                addPreferredGap(ComponentPlacement.RELATED).
                addComponent(customColorButton)).
                addComponent(decoratedPanel)));
        layout.setVerticalGroup(layout.createSequentialGroup().
                addGroup(layout.createParallelGroup().
                addComponent(radioButton).
                addComponent(customColorButton)).
                addPreferredGap(ComponentPlacement.RELATED).
                addComponent(decoratedPanel));
    }
View Full Code Here

    statusLabel2 = new JLabel("ooRexxDoc is ready!");
   

    GroupLayout groupLayout = new GroupLayout(getContentPane());
    groupLayout.setHorizontalGroup(
      groupLayout.createParallelGroup(Alignment.LEADING)
        .addGroup(groupLayout.createSequentialGroup()
          .addContainerGap()
          .addGroup(groupLayout.createParallelGroup(Alignment.LEADING)
            .addGroup(groupLayout.createSequentialGroup()
              .addGroup(groupLayout.createParallelGroup(Alignment.TRAILING)
View Full Code Here

    GroupLayout groupLayout = new GroupLayout(getContentPane());
    groupLayout.setHorizontalGroup(
      groupLayout.createParallelGroup(Alignment.LEADING)
        .addGroup(groupLayout.createSequentialGroup()
          .addContainerGap()
          .addGroup(groupLayout.createParallelGroup(Alignment.LEADING)
            .addGroup(groupLayout.createSequentialGroup()
              .addGroup(groupLayout.createParallelGroup(Alignment.TRAILING)
                .addGroup(groupLayout.createSequentialGroup()
                  .addComponent(lblTitle, GroupLayout.DEFAULT_SIZE, 135, Short.MAX_VALUE)
                  .addGap(18)
View Full Code Here

      groupLayout.createParallelGroup(Alignment.LEADING)
        .addGroup(groupLayout.createSequentialGroup()
          .addContainerGap()
          .addGroup(groupLayout.createParallelGroup(Alignment.LEADING)
            .addGroup(groupLayout.createSequentialGroup()
              .addGroup(groupLayout.createParallelGroup(Alignment.TRAILING)
                .addGroup(groupLayout.createSequentialGroup()
                  .addComponent(lblTitle, GroupLayout.DEFAULT_SIZE, 135, Short.MAX_VALUE)
                  .addGap(18)
                  .addComponent(title, GroupLayout.PREFERRED_SIZE, 282, GroupLayout.PREFERRED_SIZE))
                .addGroup(groupLayout.createSequentialGroup()
View Full Code Here

                .addGroup(groupLayout.createSequentialGroup()
                  .addComponent(lblOutput, GroupLayout.DEFAULT_SIZE, 135, Short.MAX_VALUE)
                  .addGap(18)
                  .addComponent(output, GroupLayout.PREFERRED_SIZE, 282, GroupLayout.PREFERRED_SIZE))
                .addGroup(groupLayout.createSequentialGroup()
                  .addGroup(groupLayout.createParallelGroup(Alignment.LEADING)
                    .addComponent(lblInfoproperties, GroupLayout.DEFAULT_SIZE, 148, Short.MAX_VALUE)
                    .addComponent(label_4, GroupLayout.DEFAULT_SIZE, 148, Short.MAX_VALUE)
                    .addComponent(lblNewLabel, GroupLayout.DEFAULT_SIZE, 148, Short.MAX_VALUE)
                    .addComponent(lbltextDisplayedOn, GroupLayout.PREFERRED_SIZE, 148, GroupLayout.PREFERRED_SIZE))
                  .addPreferredGap(ComponentPlacement.RELATED)
View Full Code Here

                    .addComponent(lblInfoproperties, GroupLayout.DEFAULT_SIZE, 148, Short.MAX_VALUE)
                    .addComponent(label_4, GroupLayout.DEFAULT_SIZE, 148, Short.MAX_VALUE)
                    .addComponent(lblNewLabel, GroupLayout.DEFAULT_SIZE, 148, Short.MAX_VALUE)
                    .addComponent(lbltextDisplayedOn, GroupLayout.PREFERRED_SIZE, 148, GroupLayout.PREFERRED_SIZE))
                  .addPreferredGap(ComponentPlacement.RELATED)
                  .addGroup(groupLayout.createParallelGroup(Alignment.LEADING)
                    .addComponent(overviewTextScrollPane, GroupLayout.PREFERRED_SIZE, 280, GroupLayout.PREFERRED_SIZE)
                    .addGroup(groupLayout.createSequentialGroup()
                      .addComponent(createDoc)
                      .addPreferredGap(ComponentPlacement.RELATED)
                      .addComponent(saveConfig)
View Full Code Here

                      .addComponent(saveConfig)
                      .addPreferredGap(ComponentPlacement.RELATED)
                      .addComponent(loadConfig)
                      .addPreferredGap(ComponentPlacement.RELATED)
                      .addComponent(statusLabel))
                    .addGroup(groupLayout.createParallelGroup(Alignment.TRAILING, false)
                      .addComponent(statusLabel2, Alignment.LEADING, GroupLayout.DEFAULT_SIZE, GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                      .addComponent(propertyListScrollPane, Alignment.LEADING, GroupLayout.DEFAULT_SIZE, 280, Short.MAX_VALUE)))
                  .addPreferredGap(ComponentPlacement.RELATED)))
              .addGap(34)
              .addGroup(groupLayout.createParallelGroup(Alignment.LEADING)
View Full Code Here

                    .addGroup(groupLayout.createParallelGroup(Alignment.TRAILING, false)
                      .addComponent(statusLabel2, Alignment.LEADING, GroupLayout.DEFAULT_SIZE, GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                      .addComponent(propertyListScrollPane, Alignment.LEADING, GroupLayout.DEFAULT_SIZE, 280, Short.MAX_VALUE)))
                  .addPreferredGap(ComponentPlacement.RELATED)))
              .addGap(34)
              .addGroup(groupLayout.createParallelGroup(Alignment.LEADING)
                .addComponent(addProperty, GroupLayout.DEFAULT_SIZE, 98, Short.MAX_VALUE)
                .addComponent(browseOutput, GroupLayout.DEFAULT_SIZE, 98, Short.MAX_VALUE)
                .addComponent(inputRemove, GroupLayout.DEFAULT_SIZE, 98, Short.MAX_VALUE)
                .addComponent(inputAdd, GroupLayout.DEFAULT_SIZE, 98, Short.MAX_VALUE)
                .addComponent(removeProperty, GroupLayout.DEFAULT_SIZE, 98, Short.MAX_VALUE)))
View Full Code Here

              .addGap(93)
              .addComponent(separator, GroupLayout.PREFERRED_SIZE, 1, GroupLayout.PREFERRED_SIZE)))
          .addContainerGap())
    );
    groupLayout.setVerticalGroup(
      groupLayout.createParallelGroup(Alignment.LEADING)
        .addGroup(groupLayout.createSequentialGroup()
          .addContainerGap()
          .addGroup(groupLayout.createParallelGroup(Alignment.BASELINE)
            .addComponent(title, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)
            .addComponent(lblTitle))
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.