Package org.jdesktop.layout

Examples of org.jdesktop.layout.GroupLayout.createParallelGroup()


        dateChooser.addPropertyChangeListener(formListener);

        GroupLayout panelGameInfoLayout = new GroupLayout(panelGameInfo);
        panelGameInfo.setLayout(panelGameInfoLayout);
        panelGameInfoLayout.setHorizontalGroup(
                panelGameInfoLayout.createParallelGroup(GroupLayout.LEADING)
                        .add(panelGameInfoLayout.createSequentialGroup()
                        .addContainerGap()
                        .add(panelGameInfoLayout.createParallelGroup(GroupLayout.LEADING)
                        .add(GroupLayout.TRAILING, panelGameInfoLayout.createSequentialGroup()
                                .add(comboBoxGames, GroupLayout.PREFERRED_SIZE, 135, GroupLayout.PREFERRED_SIZE)
View Full Code Here


        panelGameInfo.setLayout(panelGameInfoLayout);
        panelGameInfoLayout.setHorizontalGroup(
                panelGameInfoLayout.createParallelGroup(GroupLayout.LEADING)
                        .add(panelGameInfoLayout.createSequentialGroup()
                        .addContainerGap()
                        .add(panelGameInfoLayout.createParallelGroup(GroupLayout.LEADING)
                        .add(GroupLayout.TRAILING, panelGameInfoLayout.createSequentialGroup()
                                .add(comboBoxGames, GroupLayout.PREFERRED_SIZE, 135, GroupLayout.PREFERRED_SIZE)
                                .addPreferredGap(LayoutStyle.UNRELATED)
                                .add(buttonLoadGames)
                                .add(149, 149, 149))
View Full Code Here

                                .add(149, 149, 149))
                        .add(panelGameInfoLayout.createSequentialGroup()
                                .add(labelTables)
                                .addContainerGap(172, Short.MAX_VALUE))
                        .add(panelGameInfoLayout.createSequentialGroup()
                        .add(panelGameInfoLayout.createParallelGroup(GroupLayout.TRAILING, false)
                                .add(GroupLayout.LEADING, dateChooser, GroupLayout.DEFAULT_SIZE, GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                .add(GroupLayout.LEADING, panelGameInfoLayout.createSequentialGroup()
                                        .add(comboBoxTables, GroupLayout.PREFERRED_SIZE, 135, GroupLayout.PREFERRED_SIZE)
                                        .addPreferredGap(LayoutStyle.UNRELATED)
                                        .add(buttonLoadTables))
View Full Code Here

                                        .add(buttonLoadTables))
                                .add(GroupLayout.LEADING, labelGames))
                        .addContainerGap())))
        );
        panelGameInfoLayout.setVerticalGroup(
                panelGameInfoLayout.createParallelGroup(GroupLayout.LEADING)
                        .add(GroupLayout.TRAILING, panelGameInfoLayout.createSequentialGroup()
                        .add(dateChooser, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(LayoutStyle.RELATED, GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                        .add(labelTables)
                        .addPreferredGap(LayoutStyle.RELATED)
View Full Code Here

                        .add(GroupLayout.TRAILING, panelGameInfoLayout.createSequentialGroup()
                        .add(dateChooser, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(LayoutStyle.RELATED, GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                        .add(labelTables)
                        .addPreferredGap(LayoutStyle.RELATED)
                        .add(panelGameInfoLayout.createParallelGroup(GroupLayout.BASELINE)
                                .add(comboBoxTables, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)
                                .add(buttonLoadTables))
                        .add(9, 9, 9)
                        .add(labelGames)
                        .addPreferredGap(LayoutStyle.RELATED)
View Full Code Here

                                .add(comboBoxTables, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)
                                .add(buttonLoadTables))
                        .add(9, 9, 9)
                        .add(labelGames)
                        .addPreferredGap(LayoutStyle.RELATED)
                        .add(panelGameInfoLayout.createParallelGroup(GroupLayout.BASELINE)
                                .add(comboBoxGames, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)
                                .add(buttonLoadGames))
                        .add(207, 207, 207))
        );
View Full Code Here

        labelBlinds.setText("Blinds");

        GroupLayout panelTableInfoLayout = new GroupLayout(panelTableInfo);
        panelTableInfo.setLayout(panelTableInfoLayout);
        panelTableInfoLayout.setHorizontalGroup(
                panelTableInfoLayout.createParallelGroup(GroupLayout.LEADING)
                        .add(panelTableInfoLayout.createSequentialGroup()
                        .add(panelTableInfoLayout.createParallelGroup(GroupLayout.LEADING)
                                .add(panelTableInfoLayout.createSequentialGroup()
                                        .add(labelGameType)
                                        .addPreferredGap(LayoutStyle.RELATED, 29, Short.MAX_VALUE)
View Full Code Here

        GroupLayout panelTableInfoLayout = new GroupLayout(panelTableInfo);
        panelTableInfo.setLayout(panelTableInfoLayout);
        panelTableInfoLayout.setHorizontalGroup(
                panelTableInfoLayout.createParallelGroup(GroupLayout.LEADING)
                        .add(panelTableInfoLayout.createSequentialGroup()
                        .add(panelTableInfoLayout.createParallelGroup(GroupLayout.LEADING)
                                .add(panelTableInfoLayout.createSequentialGroup()
                                        .add(labelGameType)
                                        .addPreferredGap(LayoutStyle.RELATED, 29, Short.MAX_VALUE)
                                        .add(textGameType, GroupLayout.PREFERRED_SIZE, 131, GroupLayout.PREFERRED_SIZE))
                                .add(panelTableInfoLayout.createSequentialGroup()
View Full Code Here

                                .addPreferredGap(LayoutStyle.RELATED, 56, Short.MAX_VALUE)
                                .add(textBlinds, GroupLayout.PREFERRED_SIZE, 131, GroupLayout.PREFERRED_SIZE)))
                        .addContainerGap())
        );
        panelTableInfoLayout.setVerticalGroup(
                panelTableInfoLayout.createParallelGroup(GroupLayout.LEADING)
                        .add(panelTableInfoLayout.createSequentialGroup()
                        .addContainerGap()
                        .add(panelTableInfoLayout.createParallelGroup(GroupLayout.BASELINE)
                                .add(labelGameType)
                                .add(textGameType, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE))
View Full Code Here

        );
        panelTableInfoLayout.setVerticalGroup(
                panelTableInfoLayout.createParallelGroup(GroupLayout.LEADING)
                        .add(panelTableInfoLayout.createSequentialGroup()
                        .addContainerGap()
                        .add(panelTableInfoLayout.createParallelGroup(GroupLayout.BASELINE)
                                .add(labelGameType)
                                .add(textGameType, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE))
                        .addPreferredGap(LayoutStyle.RELATED)
                        .add(panelTableInfoLayout.createParallelGroup(GroupLayout.BASELINE)
                                .add(labelLimitType)
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.