Package javax.swing

Examples of javax.swing.GroupLayout.createParallelGroup()


            GroupLayout.SequentialGroup hGroup = layout.createSequentialGroup();
            hGroup.addGroup(layout.createParallelGroup()
                                  .addComponent(titleLabel)
                                  .addComponent(authorLabel)
                                  .addComponent(priceLabel));
            hGroup.addGroup(layout.createParallelGroup(GroupLayout.Alignment.CENTER)
                                  .addComponent(_title)
                                  .addComponent(_author)
                                  .addGroup(layout.createSequentialGroup()
                                          .addComponent(fromLabel)
                                          .addComponent(_minPrice)
View Full Code Here


                                          .addComponent(_minPrice)
                                          .addComponent(toLabel)
                                          .addComponent(_maxPrice)));
           
            GroupLayout.SequentialGroup vGroup = layout.createSequentialGroup();
            vGroup.addGroup(layout.createParallelGroup(GroupLayout.Alignment.CENTER)
                    .addComponent(titleLabel)
                    .addComponent(_title));
            vGroup.addGroup(layout.createParallelGroup(GroupLayout.Alignment.CENTER)
                    .addComponent(authorLabel)
                    .addComponent(_author));
View Full Code Here

           
            GroupLayout.SequentialGroup vGroup = layout.createSequentialGroup();
            vGroup.addGroup(layout.createParallelGroup(GroupLayout.Alignment.CENTER)
                    .addComponent(titleLabel)
                    .addComponent(_title));
            vGroup.addGroup(layout.createParallelGroup(GroupLayout.Alignment.CENTER)
                    .addComponent(authorLabel)
                    .addComponent(_author));
            vGroup.addGroup(layout.createParallelGroup(GroupLayout.Alignment.CENTER)
                    .addComponent(priceLabel)
                    .addComponent(fromLabel)
View Full Code Here

                    .addComponent(titleLabel)
                    .addComponent(_title));
            vGroup.addGroup(layout.createParallelGroup(GroupLayout.Alignment.CENTER)
                    .addComponent(authorLabel)
                    .addComponent(_author));
            vGroup.addGroup(layout.createParallelGroup(GroupLayout.Alignment.CENTER)
                    .addComponent(priceLabel)
                    .addComponent(fromLabel)
                    .addComponent(_minPrice)
                    .addComponent(toLabel)
                    .addComponent(_maxPrice));
View Full Code Here

        loadModeButtonGroup.add(replaceRadioButton);
        replaceRadioButton.setSelected(true);
        GroupLayout loadModePanelLayout = new GroupLayout(loadModePanel);
        loadModePanel.setLayout(loadModePanelLayout);
        loadModePanelLayout.setHorizontalGroup(
            loadModePanelLayout.createParallelGroup(LEADING)
            .addGroup(loadModePanelLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(loadModePanelLayout.createParallelGroup(LEADING)
                    .addComponent(appendRadioButton)
                    .addComponent(replaceRadioButton))
View Full Code Here

        loadModePanel.setLayout(loadModePanelLayout);
        loadModePanelLayout.setHorizontalGroup(
            loadModePanelLayout.createParallelGroup(LEADING)
            .addGroup(loadModePanelLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(loadModePanelLayout.createParallelGroup(LEADING)
                    .addComponent(appendRadioButton)
                    .addComponent(replaceRadioButton))
                .addContainerGap())
        );
        loadModePanelLayout.setVerticalGroup(
View Full Code Here

                    .addComponent(appendRadioButton)
                    .addComponent(replaceRadioButton))
                .addContainerGap())
        );
        loadModePanelLayout.setVerticalGroup(
            loadModePanelLayout.createParallelGroup(LEADING)
            .addGroup(loadModePanelLayout.createSequentialGroup()
                .addComponent(replaceRadioButton)
                .addPreferredGap(RELATED)
                .addComponent(appendRadioButton))
        );
View Full Code Here

    });
        controlFilePanel.setBorder(BorderFactory.createTitledBorder("Directory for control files"));
        GroupLayout controlFilePanelLayout = new GroupLayout(controlFilePanel);
        controlFilePanel.setLayout(controlFilePanelLayout);
        controlFilePanelLayout.setHorizontalGroup(
            controlFilePanelLayout.createParallelGroup(LEADING)
            .addGroup(controlFilePanelLayout.createSequentialGroup()
                .addComponent(controlFileTextfield, PREFERRED_SIZE, CONTROL_FILE_TEXTFIELD_WIDTH, PREFERRED_SIZE)
                .addPreferredGap(RELATED)
                .addComponent(controlFileButton))
        );
View Full Code Here

                .addComponent(controlFileTextfield, PREFERRED_SIZE, CONTROL_FILE_TEXTFIELD_WIDTH, PREFERRED_SIZE)
                .addPreferredGap(RELATED)
                .addComponent(controlFileButton))
        );
        controlFilePanelLayout.setVerticalGroup(
            controlFilePanelLayout.createParallelGroup(LEADING)
            .addGroup(controlFilePanelLayout.createParallelGroup(BASELINE)
                .addComponent(controlFileTextfield, PREFERRED_SIZE, DEFAULT_SIZE, PREFERRED_SIZE)
                .addComponent(controlFileButton))
        );
View Full Code Here

                .addPreferredGap(RELATED)
                .addComponent(controlFileButton))
        );
        controlFilePanelLayout.setVerticalGroup(
            controlFilePanelLayout.createParallelGroup(LEADING)
            .addGroup(controlFilePanelLayout.createParallelGroup(BASELINE)
                .addComponent(controlFileTextfield, PREFERRED_SIZE, DEFAULT_SIZE, PREFERRED_SIZE)
                .addComponent(controlFileButton))
        );

        /* Dialog buttons */
 
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.