Example usage for javax.swing GroupLayout setVerticalGroup

List of usage examples for javax.swing GroupLayout setVerticalGroup

Introduction

In this page you can find the example usage for javax.swing GroupLayout setVerticalGroup.

Prototype

public void setVerticalGroup(Group group) 

Source Link

Document

Sets the Group that positions and sizes components along the vertical axis.

Usage

From source file:org.gwaspi.gui.reports.ManhattanPlotZoom.java

private void initGUI() {

    setCursor(CursorUtils.WAIT_CURSOR);//  w  ww. ja v  a 2 s.c  om

    pnl_ChartNavigator = new JPanel();
    pnl_Chart = new JPanel();
    pnl_SearchDB = new JPanel();
    cmb_SearchDB = new JComboBox();
    scrl_Chart = new JScrollPane();
    pnl_Footer = new JPanel();
    pnl_FooterGroup1 = new JPanel();
    btn_Save = new JButton();
    btn_Reset = new JButton();
    btn_Back = new JButton();
    btn_Back2 = new JButton();

    final String titlePlot;
    if (origMarkerKey == null) {
        titlePlot = ": Chr" + currentChr + " - Pos: " + startPhysPos + " to "
                + (startPhysPos + requestedPosWindow);
    } else {
        titlePlot = ": " + origMarkerKey.toString() + " - Chr" + currentChr;
    }

    pnl_ChartNavigator
            .setBorder(GWASpiExplorerPanel.createMainTitledBorder("Manhattan Plot Navigator" + titlePlot)); // NOI18N

    pnl_Chart.setBorder(GWASpiExplorerPanel.createLineBorder());

    scrl_Chart.getViewport().add(zoomPanel);
    pnl_Chart.add(scrl_Chart, BorderLayout.CENTER);

    // <editor-fold defaultstate="expanded" desc="LAYOUT1">
    GroupLayout pnl_ChartLayout = new GroupLayout(pnl_Chart);
    pnl_Chart.setLayout(pnl_ChartLayout);
    pnl_ChartLayout.setHorizontalGroup(pnl_ChartLayout.createParallelGroup(GroupLayout.Alignment.LEADING)
            .addComponent(scrl_Chart, GroupLayout.DEFAULT_SIZE, 812, Short.MAX_VALUE));
    pnl_ChartLayout.setVerticalGroup(pnl_ChartLayout.createParallelGroup(GroupLayout.Alignment.LEADING)
            .addComponent(scrl_Chart, GroupLayout.DEFAULT_SIZE, 437, Short.MAX_VALUE));

    GroupLayout pnl_ChartNavigatorLayout = new GroupLayout(pnl_ChartNavigator);
    pnl_ChartNavigator.setLayout(pnl_ChartNavigatorLayout);
    pnl_ChartNavigatorLayout.setHorizontalGroup(pnl_ChartNavigatorLayout
            .createParallelGroup(GroupLayout.Alignment.LEADING).addGroup(GroupLayout.Alignment.TRAILING,
                    pnl_ChartNavigatorLayout
                            .createSequentialGroup().addContainerGap().addComponent(pnl_Chart,
                                    GroupLayout.DEFAULT_SIZE, GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                            .addContainerGap()));
    pnl_ChartNavigatorLayout
            .setVerticalGroup(pnl_ChartNavigatorLayout.createParallelGroup(GroupLayout.Alignment.LEADING)
                    .addGroup(pnl_ChartNavigatorLayout
                            .createSequentialGroup().addContainerGap().addComponent(pnl_Chart,
                                    GroupLayout.DEFAULT_SIZE, GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                            .addContainerGap()));
    // </editor-fold>

    String lblChr = "Chr ";
    Long currPos = 0L;
    lblChr += currentChr;
    if (centerPhysPos > 0) {
        currPos = centerPhysPos;
    } else {
        currPos = Math.round((double) MARKERS_NUM_DEFAULT / 2);
    }

    //<editor-fold defaultstate="expanded" desc="TRACKER">
    //      pnl_Tracker.setBorder(GWASpiExplorerPanel.createRegularTitledBorder("Marker N on "+lblChr));
    //
    //
    //      slid_Tracker.setMaximum(max);
    //      slid_Tracker.setValue(currPos);
    //      slid_Tracker.addMouseListener(new event.MouseAdapter() {
    //         public void mouseReleased(event.MouseEvent evt) {
    //            actionSlide();
    //         }
    //      });
    //
    //      GroupLayout pnl_TrackerLayout = new GroupLayout(pnl_Tracker);
    //      pnl_Tracker.setLayout(pnl_TrackerLayout);
    //      pnl_TrackerLayout.setHorizontalGroup(
    //            pnl_TrackerLayout.createParallelGroup(GroupLayout.Alignment.LEADING)
    //            .addGroup(GroupLayout.Alignment.TRAILING, pnl_TrackerLayout.createSequentialGroup()
    //            .addGap(18, 18, 18)
    //            .addComponent(slid_Tracker, GroupLayout.DEFAULT_SIZE, 814, Short.MAX_VALUE)
    //            .addContainerGap())
    //            );
    //      pnl_TrackerLayout.setVerticalGroup(
    //            pnl_TrackerLayout.createParallelGroup(GroupLayout.Alignment.LEADING)
    //            .addGroup(pnl_TrackerLayout.createSequentialGroup()
    //            .addContainerGap()
    //            .addComponent(slid_Tracker, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)
    //            .addContainerGap(GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
    //            );
    //</editor-fold>

    //<editor-fold defaultstate="expanded" desc="EXTERNAL RESOURCE DBs">
    pnl_SearchDB = new JPanel();
    pnl_SearchDB.setBorder(GWASpiExplorerPanel.createRegularTitledBorder(Text.Reports.externalResourceDB));
    cmb_SearchDB = new JComboBox();
    cmb_SearchDB.setModel(new DefaultComboBoxModel(LinksExternalResouces.getLinkNames()));

    GroupLayout pnl_SearchDBLayout = new GroupLayout(pnl_SearchDB);
    pnl_SearchDB.setLayout(pnl_SearchDBLayout);
    pnl_SearchDBLayout.setHorizontalGroup(pnl_SearchDBLayout.createParallelGroup(GroupLayout.Alignment.LEADING)
            .addGroup(pnl_SearchDBLayout.createSequentialGroup().addContainerGap()
                    .addComponent(cmb_SearchDB, 0, 614, Short.MAX_VALUE).addContainerGap()));
    pnl_SearchDBLayout.setVerticalGroup(pnl_SearchDBLayout.createParallelGroup(GroupLayout.Alignment.LEADING)
            .addGroup(pnl_SearchDBLayout
                    .createSequentialGroup().addComponent(cmb_SearchDB, GroupLayout.PREFERRED_SIZE,
                            GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)
                    .addContainerGap(14, Short.MAX_VALUE)));
    //</editor-fold>

    btn_Save.setAction(new SampleQAHetzygPlotZoom.SaveAsAction("zoom_" + origMarkerKey + ".png", scrl_Chart,
            zoomChart, this));

    btn_Reset.setAction(new ResetAction(testOpKey));

    btn_Back.setAction(new BackToTableAction());

    btn_Back2.setAction(new BackToManhattanPlotAction());

    // <editor-fold defaultstate="expanded" desc="FOOTER">
    GroupLayout pnl_FooterGroup1Layout = new GroupLayout(pnl_FooterGroup1);
    pnl_FooterGroup1.setLayout(pnl_FooterGroup1Layout);
    pnl_FooterGroup1Layout.setHorizontalGroup(pnl_FooterGroup1Layout
            .createParallelGroup(GroupLayout.Alignment.LEADING).addGroup(GroupLayout.Alignment.TRAILING,
                    pnl_FooterGroup1Layout.createSequentialGroup().addContainerGap()
                            .addComponent(btn_Reset, GroupLayout.DEFAULT_SIZE, 111, Short.MAX_VALUE)
                            .addGap(18, 18, 18)
                            .addComponent(btn_Save, GroupLayout.PREFERRED_SIZE, 96, GroupLayout.PREFERRED_SIZE)
                            .addContainerGap()));

    pnl_FooterGroup1Layout.linkSize(SwingConstants.HORIZONTAL, new Component[] { btn_Reset, btn_Save });

    pnl_FooterGroup1Layout
            .setVerticalGroup(pnl_FooterGroup1Layout.createParallelGroup(GroupLayout.Alignment.LEADING)
                    .addGroup(pnl_FooterGroup1Layout.createSequentialGroup()
                            .addGroup(pnl_FooterGroup1Layout.createParallelGroup(GroupLayout.Alignment.BASELINE)
                                    .addComponent(btn_Save).addComponent(btn_Reset))
                            .addContainerGap(16, Short.MAX_VALUE)));

    pnl_FooterGroup1Layout.linkSize(SwingConstants.VERTICAL, new Component[] { btn_Reset, btn_Save });

    GroupLayout pnl_FooterLayout = new GroupLayout(pnl_Footer);
    pnl_Footer.setLayout(pnl_FooterLayout);
    pnl_FooterLayout.setHorizontalGroup(pnl_FooterLayout.createParallelGroup(GroupLayout.Alignment.LEADING)
            .addGroup(pnl_FooterLayout.createSequentialGroup().addContainerGap().addComponent(btn_Back)
                    .addGap(18, 18, 18).addComponent(btn_Back2)
                    .addPreferredGap(LayoutStyle.ComponentPlacement.RELATED, 368, Short.MAX_VALUE)
                    .addComponent(pnl_FooterGroup1, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,
                            GroupLayout.PREFERRED_SIZE)
                    .addContainerGap()));
    pnl_FooterLayout.setVerticalGroup(pnl_FooterLayout.createParallelGroup(GroupLayout.Alignment.LEADING)
            .addGroup(pnl_FooterLayout.createSequentialGroup().addContainerGap().addGroup(pnl_FooterLayout
                    .createParallelGroup(GroupLayout.Alignment.LEADING)
                    .addGroup(GroupLayout.Alignment.TRAILING, pnl_FooterLayout.createSequentialGroup()
                            .addGroup(pnl_FooterLayout.createParallelGroup(GroupLayout.Alignment.BASELINE)
                                    .addComponent(btn_Back).addComponent(btn_Back2))
                            .addGap(71, 71, 71))
                    .addGroup(GroupLayout.Alignment.TRAILING,
                            pnl_FooterLayout.createSequentialGroup()
                                    .addComponent(pnl_FooterGroup1, GroupLayout.PREFERRED_SIZE,
                                            GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)
                                    .addGap(55, 55, 55)))));
    // </editor-fold>

    // <editor-fold defaultstate="expanded" desc="LAYOUT">
    //      GroupLayout layout = new GroupLayout(this);
    //      this.setLayout(layout);
    //      layout.setHorizontalGroup(
    //            layout.createParallelGroup(GroupLayout.Alignment.LEADING)
    //            .addGroup(GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
    //            .addContainerGap()
    //            .addGroup(layout.createParallelGroup(GroupLayout.Alignment.TRAILING)
    //            .addComponent(pnl_Tracker, GroupLayout.Alignment.LEADING, GroupLayout.DEFAULT_SIZE, GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
    //            .addComponent(pnl_ChartNavigator, GroupLayout.Alignment.LEADING, GroupLayout.DEFAULT_SIZE, GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
    //            .addComponent(pnl_Footer, GroupLayout.Alignment.LEADING, GroupLayout.DEFAULT_SIZE, GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
    //            .addContainerGap())
    //            );
    //      layout.setVerticalGroup(
    //            layout.createParallelGroup(GroupLayout.Alignment.LEADING)
    //            .addGroup(layout.createSequentialGroup()
    //            .addComponent(pnl_ChartNavigator, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)
    //            .addPreferredGap(LayoutStyle.ComponentPlacement.RELATED)
    //            .addComponent(pnl_Tracker, GroupLayout.PREFERRED_SIZE, 86, GroupLayout.PREFERRED_SIZE)
    //            .addPreferredGap(LayoutStyle.ComponentPlacement.RELATED)
    //            .addComponent(pnl_Footer, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)
    //            .addContainerGap(GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
    //            );

    GroupLayout layout = new GroupLayout(this);
    this.setLayout(layout);
    layout.setHorizontalGroup(layout.createParallelGroup(GroupLayout.Alignment.LEADING).addGroup(layout
            .createSequentialGroup().addContainerGap()
            .addGroup(layout.createParallelGroup(GroupLayout.Alignment.LEADING)
                    .addComponent(pnl_SearchDB, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,
                            GroupLayout.PREFERRED_SIZE)
                    .addComponent(pnl_ChartNavigator, GroupLayout.DEFAULT_SIZE, GroupLayout.DEFAULT_SIZE,
                            Short.MAX_VALUE)
                    .addComponent(pnl_Footer, GroupLayout.Alignment.TRAILING, GroupLayout.DEFAULT_SIZE,
                            GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
            .addContainerGap()));
    layout.setVerticalGroup(
            layout.createParallelGroup(GroupLayout.Alignment.LEADING)
                    .addGroup(layout.createSequentialGroup()
                            .addComponent(pnl_ChartNavigator, GroupLayout.PREFERRED_SIZE,
                                    GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)
                            .addPreferredGap(LayoutStyle.ComponentPlacement.RELATED)
                            .addComponent(pnl_SearchDB, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,
                                    GroupLayout.PREFERRED_SIZE)
                            .addPreferredGap(LayoutStyle.ComponentPlacement.UNRELATED).addComponent(pnl_Footer,
                                    GroupLayout.PREFERRED_SIZE, 55, GroupLayout.PREFERRED_SIZE)
                            .addContainerGap()));
    // </editor-fold>

    setCursor(CursorUtils.DEFAULT_CURSOR);
}

From source file:com.cactus.ClientLoginGUI.java

/**
 * 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./*from w w  w.j  a  v  a 2 s  .  c  o m*/
 */
// <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
private void initComponents() {

    this.pack();
    this.setLocationRelativeTo(null);

    Username_TextField = new JTextField();
    Password_TextField = new JPasswordField();
    Username_Label = new JLabel();
    Password_label = new JLabel();
    Login_Button = new JButton();
    Register_Button = new JButton();

    setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);

    Username_TextField.addActionListener(new ActionListener() {
        public void actionPerformed(ActionEvent evt) {
            Username_TextFieldActionPerformed(evt);
        }
    });

    Password_TextField.addActionListener(new ActionListener() {
        public void actionPerformed(ActionEvent evt) {
            Password_TextFieldActionPerformed(evt);
        }
    });

    Username_Label.setText("Username:");

    Password_label.setText("Password:");

    Login_Button.setText("Login");
    Login_Button.addActionListener(new ActionListener() {
        public void actionPerformed(ActionEvent evt) {
            try {
                Login_ButtonActionPerformed(evt);
            } catch (Exception e) {
                // TODO Auto-generated catch block
                e.printStackTrace();
            }
        }
    });

    Register_Button.setText("Register");
    Register_Button.addActionListener(new ActionListener() {
        public void actionPerformed(ActionEvent evt) {
            try {
                Register_ButtonActionPerformed(evt);
            } catch (Exception e) {
                // TODO Auto-generated catch block
                e.printStackTrace();
            }
        }
    });

    javax.swing.GroupLayout layout = new GroupLayout(getContentPane());
    layout.setHorizontalGroup(layout.createParallelGroup(Alignment.LEADING).addGroup(layout
            .createSequentialGroup().addGap(101)
            .addGroup(layout.createParallelGroup(Alignment.LEADING, false).addComponent(Password_label)
                    .addComponent(Username_TextField)
                    .addComponent(Password_TextField, GroupLayout.DEFAULT_SIZE, 200, Short.MAX_VALUE)
                    .addGroup(layout.createSequentialGroup().addComponent(Register_Button)
                            .addPreferredGap(ComponentPlacement.RELATED, GroupLayout.DEFAULT_SIZE,
                                    Short.MAX_VALUE)
                            .addComponent(Login_Button))
                    .addComponent(Username_Label, GroupLayout.PREFERRED_SIZE, 109, GroupLayout.PREFERRED_SIZE))
            .addContainerGap(128, Short.MAX_VALUE)));
    layout.setVerticalGroup(layout.createParallelGroup(Alignment.LEADING)
            .addGroup(layout.createSequentialGroup().addGap(71).addComponent(Username_Label)
                    .addPreferredGap(ComponentPlacement.RELATED)
                    .addComponent(Username_TextField, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,
                            GroupLayout.PREFERRED_SIZE)
                    .addGap(27).addComponent(Password_label).addPreferredGap(ComponentPlacement.RELATED)
                    .addComponent(Password_TextField, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,
                            GroupLayout.PREFERRED_SIZE)
                    .addGap(33).addGroup(layout.createParallelGroup(Alignment.BASELINE)
                            .addComponent(Register_Button).addComponent(Login_Button))
                    .addContainerGap(48, Short.MAX_VALUE)));
    getContentPane().setLayout(layout);

    pack();
}

From source file:Commander.Main.java

/**
 * 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.//from  w  w w. j  a v  a 2s  .  c  o m
 */
@SuppressWarnings("unchecked")
// <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
private void initComponents() {

    txtCommand = new javax.swing.JTextField();
    jScrollPane1 = new javax.swing.JScrollPane();
    txtError = new javax.swing.JTextArea();

    setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);

    txtCommand.setFont(new java.awt.Font("Dialog", 1, 16)); // NOI18N
    txtCommand.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            txtCommandActionPerformed(evt);
        }
    });

    txtError.setColumns(20);
    txtError.setLineWrap(true);
    txtError.setRows(5);
    txtError.setWrapStyleWord(true);
    jScrollPane1.setViewportView(txtError);

    javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
    getContentPane().setLayout(layout);
    layout.setHorizontalGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup().addContainerGap()
                    .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jScrollPane1).addGroup(javax.swing.GroupLayout.Alignment.TRAILING,
                                    layout.createSequentialGroup().addGap(0, 0, Short.MAX_VALUE).addComponent(
                                            txtCommand, javax.swing.GroupLayout.PREFERRED_SIZE, 350,
                                            javax.swing.GroupLayout.PREFERRED_SIZE)))
                    .addContainerGap()));
    layout.setVerticalGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                    .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE,
                            javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                    .addComponent(txtCommand, javax.swing.GroupLayout.PREFERRED_SIZE, 76,
                            javax.swing.GroupLayout.PREFERRED_SIZE)));

    pack();
}

From source file:au.com.jwatmuff.eventmanager.gui.main.MainWindow.java

/** This method is called from within the constructor to
 * initialize the form./*ww w .ja v  a  2  s.c  o m*/
 * 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() {

    jPanel2 = new javax.swing.JPanel();
    mainTabbedPane = new javax.swing.JTabbedPane();
    mainPanel = new javax.swing.JPanel();
    resultsButton = new javax.swing.JButton();
    manageSessionsButton = new javax.swing.JButton();
    registerButton = new javax.swing.JButton();
    adminButton = new javax.swing.JButton();
    jLabel3 = new javax.swing.JLabel();
    jSeparator1 = new javax.swing.JSeparator();
    weighInButton = new javax.swing.JButton();
    managePoolsButton = new javax.swing.JButton();
    fightOrderButton = new javax.swing.JButton();
    competitionInterfacesButton = new javax.swing.JButton();
    chatParentPanel = new javax.swing.JPanel();
    menuBar = new javax.swing.JMenuBar();
    fileMenu = new javax.swing.JMenu();
    masterUnlockMenuItem = new javax.swing.JMenuItem();
    jSeparator2 = new javax.swing.JSeparator();
    fileExitMenuItem = new javax.swing.JMenuItem();
    networkMenu = new javax.swing.JMenu();
    manualAddPeerMenuItem = new javax.swing.JMenuItem();
    firewallMenuItem = new javax.swing.JMenuItem();
    networkLogMenuItem = new javax.swing.JMenuItem();
    helpMenu = new javax.swing.JMenu();
    helpAboutMenuItem = new javax.swing.JMenuItem();

    javax.swing.GroupLayout jPanel2Layout = new javax.swing.GroupLayout(jPanel2);
    jPanel2.setLayout(jPanel2Layout);
    jPanel2Layout.setHorizontalGroup(jPanel2Layout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING).addGap(0, 100, Short.MAX_VALUE));
    jPanel2Layout.setVerticalGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 100, Short.MAX_VALUE));

    setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);
    setTitle("Event Manager");
    setLocationByPlatform(true);
    addWindowListener(new java.awt.event.WindowAdapter() {
        public void windowClosing(java.awt.event.WindowEvent evt) {
            formWindowClosing(evt);
        }
    });

    resultsButton
            .setIcon(new javax.swing.ImageIcon(getClass().getResource("/com/famfamfam/icons/silk/table.png"))); // NOI18N
    resultsButton.setText("Results..");
    resultsButton.setHorizontalAlignment(javax.swing.SwingConstants.LEFT);
    resultsButton.setIconTextGap(8);
    resultsButton.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            resultsButtonActionPerformed(evt);
        }
    });

    manageSessionsButton
            .setIcon(new javax.swing.ImageIcon(getClass().getResource("/com/famfamfam/icons/silk/time.png"))); // NOI18N
    manageSessionsButton.setText("Manage Sessions..");
    manageSessionsButton.setHorizontalAlignment(javax.swing.SwingConstants.LEFT);
    manageSessionsButton.setIconTextGap(8);
    manageSessionsButton.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            manageSessionsButtonActionPerformed(evt);
        }
    });

    registerButton
            .setIcon(new javax.swing.ImageIcon(getClass().getResource("/com/famfamfam/icons/silk/user.png"))); // NOI18N
    registerButton.setText("Register Players..");
    registerButton.setHorizontalAlignment(javax.swing.SwingConstants.LEFT);
    registerButton.setIconTextGap(8);
    registerButton.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            registerButtonActionPerformed(evt);
        }
    });

    adminButton.setIcon(new javax.swing.ImageIcon(getClass().getResource("/com/famfamfam/icons/silk/key.png"))); // NOI18N
    adminButton.setText("Administer Competition..");
    adminButton.setHorizontalAlignment(javax.swing.SwingConstants.LEFT);
    adminButton.setIconTextGap(8);
    adminButton.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            adminButtonActionPerformed(evt);
        }
    });

    jLabel3.setFont(new java.awt.Font("Tahoma", 1, 11)); // NOI18N
    jLabel3.setText("Select a task");

    weighInButton
            .setIcon(new javax.swing.ImageIcon(getClass().getResource("/com/famfamfam/icons/silk/anchor.png"))); // NOI18N
    weighInButton.setText("Weigh In..");
    weighInButton.setHorizontalAlignment(javax.swing.SwingConstants.LEFT);
    weighInButton.setIconTextGap(8);
    weighInButton.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            weighInButtonActionPerformed(evt);
        }
    });

    managePoolsButton
            .setIcon(new javax.swing.ImageIcon(getClass().getResource("/com/famfamfam/icons/silk/group.png"))); // NOI18N
    managePoolsButton.setText("Divisions..");
    managePoolsButton.setHorizontalAlignment(javax.swing.SwingConstants.LEFT);
    managePoolsButton.setIconTextGap(8);
    managePoolsButton.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            managePoolsButtonActionPerformed(evt);
        }
    });

    fightOrderButton.setIcon(new javax.swing.ImageIcon(
            getClass().getResource("/com/famfamfam/icons/silk/chart_organisation.png"))); // NOI18N
    fightOrderButton.setText("Draw..");
    fightOrderButton.setHorizontalAlignment(javax.swing.SwingConstants.LEFT);
    fightOrderButton.setIconTextGap(8);
    fightOrderButton.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            fightOrderButtonActionPerformed(evt);
        }
    });

    competitionInterfacesButton.setIcon(new javax.swing.ImageIcon(
            getClass().getResource("/com/famfamfam/icons/silk/application_view_tile.png"))); // NOI18N
    competitionInterfacesButton.setText("Competition Interfaces..");
    competitionInterfacesButton.setHorizontalAlignment(javax.swing.SwingConstants.LEFT);
    competitionInterfacesButton.setIconTextGap(8);
    competitionInterfacesButton.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            competitionInterfacesButtonActionPerformed(evt);
        }
    });

    chatParentPanel.setBorder(javax.swing.BorderFactory.createEmptyBorder(0, 0, 0, 0));
    chatParentPanel.setMaximumSize(new java.awt.Dimension(150, 32767));

    javax.swing.GroupLayout chatParentPanelLayout = new javax.swing.GroupLayout(chatParentPanel);
    chatParentPanel.setLayout(chatParentPanelLayout);
    chatParentPanelLayout.setHorizontalGroup(chatParentPanelLayout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING).addGap(0, 264, Short.MAX_VALUE));
    chatParentPanelLayout.setVerticalGroup(chatParentPanelLayout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING).addGap(0, 452, Short.MAX_VALUE));

    javax.swing.GroupLayout mainPanelLayout = new javax.swing.GroupLayout(mainPanel);
    mainPanel.setLayout(mainPanelLayout);
    mainPanelLayout.setHorizontalGroup(mainPanelLayout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(mainPanelLayout.createSequentialGroup().addContainerGap().addGroup(mainPanelLayout
                    .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING).addComponent(jLabel3)
                    .addGroup(mainPanelLayout
                            .createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
                            .addComponent(resultsButton, javax.swing.GroupLayout.Alignment.LEADING,
                                    javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE,
                                    Short.MAX_VALUE)
                            .addComponent(registerButton, javax.swing.GroupLayout.Alignment.LEADING,
                                    javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE,
                                    Short.MAX_VALUE)
                            .addComponent(weighInButton, javax.swing.GroupLayout.Alignment.LEADING,
                                    javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE,
                                    Short.MAX_VALUE)
                            .addComponent(managePoolsButton, javax.swing.GroupLayout.Alignment.LEADING,
                                    javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE,
                                    Short.MAX_VALUE)
                            .addComponent(adminButton, javax.swing.GroupLayout.Alignment.LEADING,
                                    javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE,
                                    Short.MAX_VALUE)
                            .addComponent(fightOrderButton, javax.swing.GroupLayout.Alignment.LEADING,
                                    javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE,
                                    Short.MAX_VALUE)
                            .addComponent(manageSessionsButton, javax.swing.GroupLayout.Alignment.LEADING,
                                    javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE,
                                    Short.MAX_VALUE)
                            .addComponent(competitionInterfacesButton,
                                    javax.swing.GroupLayout.Alignment.LEADING,
                                    javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE,
                                    Short.MAX_VALUE))
                    .addComponent(jSeparator1, javax.swing.GroupLayout.DEFAULT_SIZE, 425, Short.MAX_VALUE))
                    .addGap(18, 18, 18).addComponent(chatParentPanel, javax.swing.GroupLayout.PREFERRED_SIZE,
                            javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)));
    mainPanelLayout
            .setVerticalGroup(mainPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(mainPanelLayout.createSequentialGroup().addContainerGap().addComponent(jLabel3)
                            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                            .addComponent(jSeparator1, javax.swing.GroupLayout.PREFERRED_SIZE, 10,
                                    javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                            .addComponent(adminButton)
                            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                            .addComponent(registerButton)
                            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                            .addComponent(weighInButton)
                            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                            .addComponent(managePoolsButton)
                            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                            .addComponent(fightOrderButton)
                            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                            .addComponent(manageSessionsButton)
                            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                            .addComponent(competitionInterfacesButton)
                            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                            .addComponent(resultsButton).addContainerGap(126, Short.MAX_VALUE))
                    .addComponent(chatParentPanel, javax.swing.GroupLayout.DEFAULT_SIZE,
                            javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE));

    mainTabbedPane.addTab("Main", mainPanel);

    fileMenu.setText("File");

    masterUnlockMenuItem.setIcon(
            new javax.swing.ImageIcon(getClass().getResource("/com/famfamfam/icons/silk/lock_open.png"))); // NOI18N
    masterUnlockMenuItem.setText("Master Unlock..");
    masterUnlockMenuItem.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            masterUnlockMenuItemActionPerformed(evt);
        }
    });
    fileMenu.add(masterUnlockMenuItem);
    fileMenu.add(jSeparator2);

    fileExitMenuItem.setIcon(
            new javax.swing.ImageIcon(getClass().getResource("/com/famfamfam/icons/silk/door_out.png"))); // NOI18N
    fileExitMenuItem.setText("Exit");
    fileExitMenuItem.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            fileExitMenuItemActionPerformed(evt);
        }
    });
    fileMenu.add(fileExitMenuItem);

    menuBar.add(fileMenu);

    networkMenu.setText("Network");

    manualAddPeerMenuItem.setText("Manually Enter IP/Host..");
    manualAddPeerMenuItem.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            manualAddPeerMenuItemActionPerformed(evt);
        }
    });
    networkMenu.add(manualAddPeerMenuItem);

    firewallMenuItem.setText("Update Windows Firewall..");
    firewallMenuItem.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            firewallMenuItemActionPerformed(evt);
        }
    });
    networkMenu.add(firewallMenuItem);

    networkLogMenuItem.setText("Log Network Diagnostics..");
    networkLogMenuItem.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            networkLogMenuItemActionPerformed(evt);
        }
    });
    networkMenu.add(networkLogMenuItem);

    menuBar.add(networkMenu);

    helpMenu.setText("Help");

    helpAboutMenuItem.setText("About..");
    helpAboutMenuItem.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            helpAboutMenuItemActionPerformed(evt);
        }
    });
    helpMenu.add(helpAboutMenuItem);

    menuBar.add(helpMenu);

    setJMenuBar(menuBar);

    javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
    getContentPane().setLayout(layout);
    layout.setHorizontalGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING).addGroup(
            layout.createSequentialGroup().addContainerGap().addComponent(mainTabbedPane).addContainerGap()));
    layout.setVerticalGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup().addContainerGap()
                    .addComponent(mainTabbedPane, javax.swing.GroupLayout.DEFAULT_SIZE, 480, Short.MAX_VALUE)
                    .addContainerGap()));

    mainTabbedPane.getAccessibleContext().setAccessibleName("");

    pack();
}

From source file:org.nekorp.workflow.desktop.view.CostoServicioView.java

/**
 * 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.//  w  w w.  jav  a  2 s .c  o  m
 */
@SuppressWarnings("unchecked")
// <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
private void initComponents() {

    jToolBar1 = new javax.swing.JToolBar();
    agregarHP = new org.nekorp.workflow.desktop.view.binding.CustomEnabledBindingJButton();
    jSeparator1 = new javax.swing.JToolBar.Separator();
    agregarM = new org.nekorp.workflow.desktop.view.binding.CustomEnabledBindingJButton();
    jSeparator3 = new javax.swing.JToolBar.Separator();
    otrosGastos = new org.nekorp.workflow.desktop.view.binding.CustomEnabledBindingJButton();
    filler1 = new javax.swing.Box.Filler(new java.awt.Dimension(0, 0), new java.awt.Dimension(0, 0),
            new java.awt.Dimension(32767, 0));
    generarReporte = new org.nekorp.workflow.desktop.view.binding.CustomEnabledBindingJButton();
    jSeparator2 = new javax.swing.JToolBar.Separator();
    borrar = new javax.swing.JButton();
    jPanel1 = new javax.swing.JPanel();
    jScrollPane1 = new javax.swing.JScrollPane();
    tablaCostos = new org.nekorp.workflow.desktop.view.resource.imp.CustomJTableCostos();
    jPanel2 = new javax.swing.JPanel();
    total = new org.nekorp.workflow.desktop.view.binding.SimpleBindableJTextField();
    jLabel1 = new javax.swing.JLabel();

    setBackground(new java.awt.Color(255, 255, 255));

    jToolBar1.setBackground(new java.awt.Color(204, 204, 204));
    jToolBar1.setFloatable(false);
    jToolBar1.setRollover(true);

    agregarHP.setBackground(new java.awt.Color(204, 204, 204));
    agregarHP.setFont(new java.awt.Font("Arial", 0, 11)); // NOI18N
    agregarHP.setText("Hojalateria y Pintura");
    agregarHP.setFocusable(false);
    agregarHP.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
    agregarHP.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);
    agregarHP.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            agregarHPActionPerformed(evt);
        }
    });
    jToolBar1.add(agregarHP);
    jToolBar1.add(jSeparator1);

    agregarM.setBackground(new java.awt.Color(204, 204, 204));
    agregarM.setFont(new java.awt.Font("Arial", 0, 11)); // NOI18N
    agregarM.setText("Mecanica");
    agregarM.setFocusable(false);
    agregarM.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
    agregarM.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);
    agregarM.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            agregarMActionPerformed(evt);
        }
    });
    jToolBar1.add(agregarM);
    jToolBar1.add(jSeparator3);

    otrosGastos.setBackground(new java.awt.Color(204, 204, 204));
    otrosGastos.setFont(new java.awt.Font("Arial", 0, 11)); // NOI18N
    otrosGastos.setText("Otros Gastos");
    otrosGastos.setFocusable(false);
    otrosGastos.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
    otrosGastos.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);
    otrosGastos.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            otrosGastosActionPerformed(evt);
        }
    });
    jToolBar1.add(otrosGastos);
    jToolBar1.add(filler1);

    generarReporte.setBackground(new java.awt.Color(204, 204, 204));
    generarReporte.setFont(new java.awt.Font("Arial", 0, 11)); // NOI18N
    generarReporte.setText("Generar reporte");
    generarReporte.setFocusable(false);
    generarReporte.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
    generarReporte.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);
    generarReporte.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            generarReporteActionPerformed(evt);
        }
    });
    jToolBar1.add(generarReporte);
    jToolBar1.add(jSeparator2);

    borrar.setBackground(new java.awt.Color(204, 204, 204));
    borrar.setFont(new java.awt.Font("Arial", 0, 11)); // NOI18N
    borrar.setText("Borrar");
    borrar.setFocusable(false);
    borrar.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
    borrar.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);
    borrar.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            borrarActionPerformed(evt);
        }
    });
    jToolBar1.add(borrar);

    jPanel1.setBackground(new java.awt.Color(255, 255, 255));
    jPanel1.setLayout(new java.awt.BorderLayout());

    jScrollPane1.setBackground(new java.awt.Color(255, 255, 255));
    jScrollPane1.setBorder(null);

    tablaCostos.setFont(new java.awt.Font("Arial", 0, 11)); // NOI18N
    tablaCostos
            .setModel(new javax.swing.table.DefaultTableModel(
                    new Object[][] { { null, null, null, null }, { null, null, null, null },
                            { null, null, null, null }, { null, null, null, null } },
                    new String[] { "Title 1", "Title 2", "Title 3", "Title 4" }));
    tablaCostos.setGridColor(new java.awt.Color(255, 255, 255));
    tablaCostos.setIntercellSpacing(new java.awt.Dimension(0, 0));
    tablaCostos.setRowHeight(18);
    tablaCostos.setSelectionBackground(new java.awt.Color(204, 204, 204));
    tablaCostos.setSelectionForeground(new java.awt.Color(0, 0, 0));
    tablaCostos.setSelectionMode(javax.swing.ListSelectionModel.SINGLE_SELECTION);
    jScrollPane1.setViewportView(tablaCostos);

    jPanel1.add(jScrollPane1, java.awt.BorderLayout.CENTER);

    jPanel2.setBackground(new java.awt.Color(255, 255, 255));

    total.setEditable(false);
    total.setBackground(new java.awt.Color(255, 255, 255));
    total.setFont(new java.awt.Font("Arial", 0, 11)); // NOI18N
    total.setHorizontalAlignment(javax.swing.JTextField.TRAILING);
    total.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(255, 255, 255), 4));

    jLabel1.setFont(new java.awt.Font("Arial", 0, 11)); // NOI18N
    jLabel1.setText("Total");

    javax.swing.GroupLayout jPanel2Layout = new javax.swing.GroupLayout(jPanel2);
    jPanel2.setLayout(jPanel2Layout);
    jPanel2Layout.setHorizontalGroup(jPanel2Layout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel2Layout.createSequentialGroup()
                    .addGap(0, 0, Short.MAX_VALUE).addComponent(jLabel1)
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED).addComponent(total,
                            javax.swing.GroupLayout.PREFERRED_SIZE, 140, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addContainerGap()));
    jPanel2Layout.setVerticalGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel2Layout.createSequentialGroup()
                    .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(total, javax.swing.GroupLayout.PREFERRED_SIZE, 20,
                                    javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jLabel1))
                    .addContainerGap()));

    javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);
    this.setLayout(layout);
    layout.setHorizontalGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jToolBar1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE,
                    Short.MAX_VALUE)
            .addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, 665, Short.MAX_VALUE)
            .addComponent(jPanel2, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE,
                    Short.MAX_VALUE));
    layout.setVerticalGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                    .addComponent(jToolBar1, javax.swing.GroupLayout.PREFERRED_SIZE, 25,
                            javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addGap(0, 0, 0)
                    .addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, 318, Short.MAX_VALUE)
                    .addGap(0, 0, 0).addComponent(jPanel2, javax.swing.GroupLayout.PREFERRED_SIZE,
                            javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)));
}

From source file:com.polivoto.vistas.Editor.java

/**
 * 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./*ww  w.j  a va 2 s. co m*/
 */
@SuppressWarnings("unchecked")
// <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
private void initComponents() {

    jFrame1 = new javax.swing.JFrame();
    jColorChooser1 = new javax.swing.JColorChooser();
    jButton1 = new javax.swing.JButton();
    jButton2 = new javax.swing.JButton();
    jPanel1 = new javax.swing.JPanel();
    jTabbedPane = new javax.swing.JTabbedPane();

    jButton1.setText("Aceptar");
    jButton1.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            jButton1ActionPerformed(evt);
        }
    });

    jButton2.setText("Cancelar");

    javax.swing.GroupLayout jFrame1Layout = new javax.swing.GroupLayout(jFrame1.getContentPane());
    jFrame1.getContentPane().setLayout(jFrame1Layout);
    jFrame1Layout.setHorizontalGroup(jFrame1Layout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING,
                    jFrame1Layout.createSequentialGroup().addGap(0, 0, Short.MAX_VALUE).addComponent(
                            jColorChooser1, javax.swing.GroupLayout.PREFERRED_SIZE,
                            javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jFrame1Layout.createSequentialGroup()
                    .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(jButton2).addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                    .addComponent(jButton1).addContainerGap()));
    jFrame1Layout.setVerticalGroup(jFrame1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jFrame1Layout.createSequentialGroup()
                    .addComponent(jColorChooser1, javax.swing.GroupLayout.PREFERRED_SIZE,
                            javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addGap(18, 18, 18)
                    .addGroup(jFrame1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(jButton1).addComponent(jButton2))
                    .addGap(0, 0, Short.MAX_VALUE)));

    setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);

    jPanel1.setBackground(new java.awt.Color(255, 255, 255));

    javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);
    jPanel1.setLayout(jPanel1Layout);
    jPanel1Layout.setHorizontalGroup(jPanel1Layout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel1Layout.createSequentialGroup().addContainerGap()
                    .addComponent(jTabbedPane, javax.swing.GroupLayout.DEFAULT_SIZE, 742, Short.MAX_VALUE)
                    .addContainerGap()));
    jPanel1Layout.setVerticalGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel1Layout.createSequentialGroup().addContainerGap()
                    .addComponent(jTabbedPane, javax.swing.GroupLayout.DEFAULT_SIZE, 593, Short.MAX_VALUE)
                    .addContainerGap()));

    javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
    getContentPane().setLayout(layout);
    layout.setHorizontalGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE,
                    Short.MAX_VALUE));
    layout.setVerticalGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING).addComponent(
            jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE,
            Short.MAX_VALUE));

    pack();
}

From source file:com.openbravo.pos.epm.JEmployeeFinder.java

/** This method is called from within the constructor to
 * initialize the form./*from  w  w w . j  a va  2 s  .  co m*/
 * 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() {

    jPanel2 = new javax.swing.JPanel();
    m_jKeys = new com.openbravo.editor.JEditorKeys();
    jPanel3 = new javax.swing.JPanel();
    jPanel5 = new javax.swing.JPanel();
    jPanel7 = new javax.swing.JPanel();
    jLabel5 = new javax.swing.JLabel();
    m_jtxtName = new com.openbravo.editor.JEditorString();
    jPanel6 = new javax.swing.JPanel();
    jButton1 = new javax.swing.JButton();
    jButton3 = new javax.swing.JButton();
    jPanel4 = new javax.swing.JPanel();
    jScrollPane1 = new javax.swing.JScrollPane();
    jListEmployees = new javax.swing.JList();
    jPanel8 = new javax.swing.JPanel();
    jPanel1 = new javax.swing.JPanel();
    jcmdOK = new javax.swing.JButton();
    jcmdCancel = new javax.swing.JButton();

    setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);
    setTitle(AppLocal.getIntString("form.customertitle")); // NOI18N

    jPanel2.setLayout(new java.awt.BorderLayout());
    jPanel2.add(m_jKeys, java.awt.BorderLayout.NORTH);

    getContentPane().add(jPanel2, java.awt.BorderLayout.LINE_END);

    jPanel3.setLayout(new java.awt.BorderLayout());

    jPanel5.setLayout(new java.awt.BorderLayout());

    jLabel5.setFont(new java.awt.Font("Arial", 0, 12)); // NOI18N
    jLabel5.setText(AppLocal.getIntString("label.epm.employee")); // NOI18N

    m_jtxtName.setFont(new java.awt.Font("Arial", 0, 12)); // NOI18N

    javax.swing.GroupLayout jPanel7Layout = new javax.swing.GroupLayout(jPanel7);
    jPanel7.setLayout(jPanel7Layout);
    jPanel7Layout.setHorizontalGroup(jPanel7Layout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel7Layout.createSequentialGroup().addContainerGap()
                    .addComponent(jLabel5, javax.swing.GroupLayout.PREFERRED_SIZE, 126,
                            javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addGap(18, 18, 18).addComponent(m_jtxtName, javax.swing.GroupLayout.PREFERRED_SIZE, 220,
                            javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addContainerGap(15, Short.MAX_VALUE)));
    jPanel7Layout.setVerticalGroup(jPanel7Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel7Layout.createSequentialGroup().addContainerGap()
                    .addGroup(jPanel7Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jLabel5, javax.swing.GroupLayout.PREFERRED_SIZE, 25,
                                    javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(m_jtxtName, javax.swing.GroupLayout.PREFERRED_SIZE, 25,
                                    javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)));

    jPanel5.add(jPanel7, java.awt.BorderLayout.CENTER);

    jButton1.setFont(new java.awt.Font("Arial", 0, 12)); // NOI18N
    jButton1.setIcon(new javax.swing.ImageIcon(getClass().getResource("/com/openbravo/images/reload.png"))); // NOI18N
    jButton1.setText(AppLocal.getIntString("button.clean")); // NOI18N
    jButton1.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            jButton1ActionPerformed(evt);
        }
    });
    jPanel6.add(jButton1);

    jButton3.setFont(new java.awt.Font("Arial", 0, 12)); // NOI18N
    jButton3.setIcon(new javax.swing.ImageIcon(getClass().getResource("/com/openbravo/images/ok.png"))); // NOI18N
    jButton3.setText(AppLocal.getIntString("button.executefilter")); // NOI18N
    jButton3.setFocusPainted(false);
    jButton3.setFocusable(false);
    jButton3.setRequestFocusEnabled(false);
    jButton3.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            jButton3ActionPerformed(evt);
        }
    });
    jPanel6.add(jButton3);

    jPanel5.add(jPanel6, java.awt.BorderLayout.SOUTH);

    jPanel3.add(jPanel5, java.awt.BorderLayout.PAGE_START);

    jPanel4.setBorder(javax.swing.BorderFactory.createEmptyBorder(5, 5, 5, 5));
    jPanel4.setLayout(new java.awt.BorderLayout());

    jListEmployees.setFont(new java.awt.Font("Arial", 0, 12)); // NOI18N
    jListEmployees.setFocusable(false);
    jListEmployees.setRequestFocusEnabled(false);
    jListEmployees.addMouseListener(new java.awt.event.MouseAdapter() {
        public void mouseClicked(java.awt.event.MouseEvent evt) {
            jListEmployeesMouseClicked(evt);
        }
    });
    jListEmployees.addListSelectionListener(new javax.swing.event.ListSelectionListener() {
        public void valueChanged(javax.swing.event.ListSelectionEvent evt) {
            jListEmployeesValueChanged(evt);
        }
    });
    jScrollPane1.setViewportView(jListEmployees);

    jPanel4.add(jScrollPane1, java.awt.BorderLayout.CENTER);

    jPanel3.add(jPanel4, java.awt.BorderLayout.CENTER);

    jPanel8.setLayout(new java.awt.BorderLayout());

    jcmdOK.setFont(new java.awt.Font("Arial", 0, 12)); // NOI18N
    jcmdOK.setIcon(new javax.swing.ImageIcon(getClass().getResource("/com/openbravo/images/ok.png"))); // NOI18N
    jcmdOK.setText(AppLocal.getIntString("Button.OK")); // NOI18N
    jcmdOK.setEnabled(false);
    jcmdOK.setFocusPainted(false);
    jcmdOK.setFocusable(false);
    jcmdOK.setMargin(new java.awt.Insets(8, 16, 8, 16));
    jcmdOK.setRequestFocusEnabled(false);
    jcmdOK.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            jcmdOKActionPerformed(evt);
        }
    });
    jPanel1.add(jcmdOK);

    jcmdCancel.setFont(new java.awt.Font("Arial", 0, 12)); // NOI18N
    jcmdCancel.setIcon(new javax.swing.ImageIcon(getClass().getResource("/com/openbravo/images/cancel.png"))); // NOI18N
    jcmdCancel.setText(AppLocal.getIntString("Button.Cancel")); // NOI18N
    jcmdCancel.setFocusPainted(false);
    jcmdCancel.setFocusable(false);
    jcmdCancel.setMargin(new java.awt.Insets(8, 16, 8, 16));
    jcmdCancel.setRequestFocusEnabled(false);
    jcmdCancel.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            jcmdCancelActionPerformed(evt);
        }
    });
    jPanel1.add(jcmdCancel);

    jPanel8.add(jPanel1, java.awt.BorderLayout.LINE_END);

    jPanel3.add(jPanel8, java.awt.BorderLayout.SOUTH);

    getContentPane().add(jPanel3, java.awt.BorderLayout.CENTER);

    java.awt.Dimension screenSize = java.awt.Toolkit.getDefaultToolkit().getScreenSize();
    setBounds((screenSize.width - 613) / 2, (screenSize.height - 495) / 2, 613, 495);
}

From source file:nl.phanos.liteliveresultsclient.gui.ResultsWindows.java

/**
 * 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./*from ww w.  j  a  v  a  2 s  . co m*/
 */
@SuppressWarnings("unchecked")
// <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
private void initComponents() {

    LayerdPane = new javax.swing.JLayeredPane();
    jScrollPane1 = new javax.swing.JScrollPane();
    jTable1 = new javax.swing.JTable();
    jPanel1 = new javax.swing.JPanel();
    SerieLabel = new java.awt.Label();
    photopanel = new javax.swing.JPanel();
    photolabel = new javax.swing.JLabel();
    jMenuBar1 = new javax.swing.JMenuBar();
    jMenu1 = new javax.swing.JMenu();
    jCheckBoxMenuItem1 = new javax.swing.JCheckBoxMenuItem();
    jMenuItem1 = new javax.swing.JMenuItem();
    jMenuItem2 = new javax.swing.JMenuItem();
    jCheckBoxMenuItem2 = new javax.swing.JCheckBoxMenuItem();
    jMenu2 = new javax.swing.JMenu();
    SeparateClock = new javax.swing.JCheckBoxMenuItem();
    ChangeIp = new javax.swing.JMenuItem();

    setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
    setPreferredSize(new java.awt.Dimension(1280, 720));
    addComponentListener(new java.awt.event.ComponentAdapter() {
        public void componentResized(java.awt.event.ComponentEvent evt) {
            formComponentResized(evt);
        }
    });

    jTable1.setBackground(new java.awt.Color(0, 0, 0));
    jTable1.setFont(new java.awt.Font("Lucida Grande", 0, 48)); // NOI18N
    jTable1.setForeground(java.awt.Color.yellow);
    jTable1.setModel(
            new javax.swing.table.DefaultTableModel(
                    new Object[][] { { null, null, null, null }, { null, null, null, null },
                            { null, null, null, null }, { null, null, null, null } },
                    new String[] { "Title 1", "Title 2", "Title 3", "Title 4" }));
    jTable1.addMouseMotionListener(new java.awt.event.MouseMotionAdapter() {
        public void mouseMoved(java.awt.event.MouseEvent evt) {
            jTable1MouseMoved(evt);
        }
    });
    jTable1.addComponentListener(new java.awt.event.ComponentAdapter() {
        public void componentResized(java.awt.event.ComponentEvent evt) {
            jTable1ComponentResized(evt);
        }
    });
    jScrollPane1.setViewportView(jTable1);

    SerieLabel.setBackground(new java.awt.Color(0, 0, 0));
    SerieLabel.setFont(new java.awt.Font("Lucida Grande", 0, 48)); // NOI18N
    SerieLabel.setForeground(java.awt.Color.yellow);
    SerieLabel.setText("200m T64 Finale");

    javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);
    jPanel1.setLayout(jPanel1Layout);
    jPanel1Layout
            .setHorizontalGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(SerieLabel, javax.swing.GroupLayout.Alignment.TRAILING,
                            javax.swing.GroupLayout.DEFAULT_SIZE, 724, Short.MAX_VALUE));
    jPanel1Layout.setVerticalGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(SerieLabel, javax.swing.GroupLayout.DEFAULT_SIZE,
                    javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE));

    SerieLabel.getAccessibleContext().setAccessibleName("SerieLabel");

    photopanel.setBackground(new java.awt.Color(0, 0, 0));
    photopanel.setPreferredSize(new java.awt.Dimension(0, 100));
    photopanel.setRequestFocusEnabled(false);

    javax.swing.GroupLayout photopanelLayout = new javax.swing.GroupLayout(photopanel);
    photopanel.setLayout(photopanelLayout);
    photopanelLayout.setHorizontalGroup(photopanelLayout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(photopanelLayout.createSequentialGroup().addContainerGap().addComponent(photolabel,
                    javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addContainerGap()));
    photopanelLayout.setVerticalGroup(photopanelLayout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(photopanelLayout.createSequentialGroup().addContainerGap().addComponent(photolabel,
                    javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addContainerGap()));

    LayerdPane.setLayer(jScrollPane1, javax.swing.JLayeredPane.DEFAULT_LAYER);
    LayerdPane.setLayer(jPanel1, javax.swing.JLayeredPane.DEFAULT_LAYER);
    LayerdPane.setLayer(photopanel, javax.swing.JLayeredPane.DEFAULT_LAYER);

    javax.swing.GroupLayout LayerdPaneLayout = new javax.swing.GroupLayout(LayerdPane);
    LayerdPane.setLayout(LayerdPaneLayout);
    LayerdPaneLayout
            .setHorizontalGroup(LayerdPaneLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(LayerdPaneLayout.createSequentialGroup().addContainerGap().addComponent(
                            jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE,
                            Short.MAX_VALUE))
                    .addGroup(LayerdPaneLayout.createSequentialGroup()
                            .addComponent(photopanel, javax.swing.GroupLayout.PREFERRED_SIZE,
                                    javax.swing.GroupLayout.DEFAULT_SIZE,
                                    javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                            .addComponent(jScrollPane1)));
    LayerdPaneLayout.setVerticalGroup(LayerdPaneLayout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(LayerdPaneLayout.createSequentialGroup()
                    .addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE,
                            javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                    .addGroup(LayerdPaneLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(photopanel, javax.swing.GroupLayout.DEFAULT_SIZE, 544,
                                    Short.MAX_VALUE)
                            .addComponent(jScrollPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 544,
                                    Short.MAX_VALUE))));

    jMenu1.setText("Options");

    jCheckBoxMenuItem1.setText("Fullscreen");
    jCheckBoxMenuItem1.setEnabled(false);
    jCheckBoxMenuItem1.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            jCheckBoxMenuItem1ActionPerformed(evt);
        }
    });
    jMenu1.add(jCheckBoxMenuItem1);

    jMenuItem1.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_EQUALS,
            java.awt.event.InputEvent.SHIFT_MASK | java.awt.event.InputEvent.META_MASK));
    jMenuItem1.setText("Larger Text");
    jMenuItem1.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            jMenuItem1ActionPerformed(evt);
        }
    });
    jMenu1.add(jMenuItem1);

    jMenuItem2.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_MINUS,
            java.awt.event.InputEvent.SHIFT_MASK | java.awt.event.InputEvent.META_MASK));
    jMenuItem2.setText("Smaler Text");
    jMenuItem2.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            jMenuItem2ActionPerformed(evt);
        }
    });
    jMenu1.add(jMenuItem2);

    jCheckBoxMenuItem2.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_P,
            java.awt.event.InputEvent.SHIFT_MASK | java.awt.event.InputEvent.META_MASK));
    jCheckBoxMenuItem2.setSelected(true);
    jCheckBoxMenuItem2.setText("ShowPhoto");
    jCheckBoxMenuItem2.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            jCheckBoxMenuItem2ActionPerformed(evt);
        }
    });
    jMenu1.add(jCheckBoxMenuItem2);

    jMenuBar1.add(jMenu1);

    jMenu2.setText("Clock");

    SeparateClock.setSelected(true);
    SeparateClock.setText("Separate clock");
    SeparateClock.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            SeparateClockActionPerformed(evt);
        }
    });
    jMenu2.add(SeparateClock);

    ChangeIp.setText("Change Ip");
    ChangeIp.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            ChangeIpActionPerformed(evt);
        }
    });
    jMenu2.add(ChangeIp);

    jMenuBar1.add(jMenu2);

    setJMenuBar(jMenuBar1);

    javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
    getContentPane().setLayout(layout);
    layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING).addComponent(LayerdPane));
    layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING).addComponent(LayerdPane));

    LayerdPane.getAccessibleContext().setAccessibleName("");

    pack();
}

From source file:co.edu.eam.ingesoft.desarrollo.vista.gui.ReportesEstadisticas.java

/**
 * 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.//from  w ww .j a  v  a2 s .c o m
 */
@SuppressWarnings("unchecked")
// <editor-fold defaultstate="collapsed" desc="Generated
// Code">//GEN-BEGIN:initComponents
private void initComponents() {

    jTabbedPane1 = new javax.swing.JTabbedPane();
    jPanel1 = new javax.swing.JPanel();
    jBAgregarPalabra = new javax.swing.JButton();
    jTabbedPane2 = new javax.swing.JTabbedPane();
    jPanelEgresadosPorOcup = new javax.swing.JPanel();
    jLabel2 = new javax.swing.JLabel();
    jCBPrograma = new javax.swing.JComboBox();
    jPanel3 = new javax.swing.JPanel();
    jLabel1 = new javax.swing.JLabel();
    jCBEmpresa = new javax.swing.JComboBox();
    jBbuscar = new javax.swing.JButton();
    jScrollPane1 = new javax.swing.JScrollPane();
    jTtablaEmpresaEgresado = new javax.swing.JTable();
    jPNumeroOfertas = new javax.swing.JPanel();
    jPOfertaPrograma = new javax.swing.JPanel();
    jLabel3 = new javax.swing.JLabel();
    jLabel4 = new javax.swing.JLabel();

    setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);

    jPanel1.setBackground(new java.awt.Color(242, 242, 249));

    jBAgregarPalabra.setBackground(new java.awt.Color(66, 183, 42));
    jBAgregarPalabra.setFont(new java.awt.Font("SansSerif", 1, 12)); // NOI18N
    jBAgregarPalabra.setForeground(new java.awt.Color(255, 255, 255));
    jBAgregarPalabra.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Imagenes/Inicio.png"))); // NOI18N
    jBAgregarPalabra.setToolTipText("Ir al inicio");
    jBAgregarPalabra.setBorder(null);
    jBAgregarPalabra.setCursor(new java.awt.Cursor(java.awt.Cursor.HAND_CURSOR));
    jBAgregarPalabra.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            jBAgregarPalabraActionPerformed(evt);
        }
    });

    jLabel2.setText("PROGRAMA:");

    jCBPrograma.addItemListener(new java.awt.event.ItemListener() {
        public void itemStateChanged(java.awt.event.ItemEvent evt) {
            jCBProgramaItemStateChanged(evt);
        }
    });

    javax.swing.GroupLayout jPanelEgresadosPorOcupLayout = new javax.swing.GroupLayout(jPanelEgresadosPorOcup);
    jPanelEgresadosPorOcup.setLayout(jPanelEgresadosPorOcupLayout);
    jPanelEgresadosPorOcupLayout.setHorizontalGroup(jPanelEgresadosPorOcupLayout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanelEgresadosPorOcupLayout.createSequentialGroup().addGap(152, 152, 152)
                    .addComponent(jLabel2).addGap(31, 31, 31).addComponent(jCBPrograma,
                            javax.swing.GroupLayout.PREFERRED_SIZE, 145, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addContainerGap(162, Short.MAX_VALUE)));
    jPanelEgresadosPorOcupLayout.setVerticalGroup(
            jPanelEgresadosPorOcupLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanelEgresadosPorOcupLayout.createSequentialGroup().addGap(49, 49, 49)
                            .addGroup(jPanelEgresadosPorOcupLayout
                                    .createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                    .addComponent(jCBPrograma, javax.swing.GroupLayout.PREFERRED_SIZE,
                                            javax.swing.GroupLayout.DEFAULT_SIZE,
                                            javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addComponent(jLabel2))
                            .addContainerGap(311, Short.MAX_VALUE)));

    jTabbedPane2.addTab("Egresados Por Tipo Ocupacion", jPanelEgresadosPorOcup);

    jLabel1.setText("EMPRESA:");

    jBbuscar.setText("Buscar");
    jBbuscar.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            jBbuscarActionPerformed(evt);
        }
    });

    jTtablaEmpresaEgresado.setModel(new javax.swing.table.DefaultTableModel(
            new Object[][] { { null, null, null, null }, { null, null, null, null }, { null, null, null, null },
                    { null, null, null, null } },
            new String[] { "Nombre", "Programa", "Cargo", "Fecha Entrada" }));
    jScrollPane1.setViewportView(jTtablaEmpresaEgresado);

    javax.swing.GroupLayout jPanel3Layout = new javax.swing.GroupLayout(jPanel3);
    jPanel3.setLayout(jPanel3Layout);
    jPanel3Layout.setHorizontalGroup(jPanel3Layout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel3Layout.createSequentialGroup().addGroup(jPanel3Layout
                    .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel3Layout.createSequentialGroup().addGap(45, 45, 45).addComponent(
                            jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE,
                            javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(jPanel3Layout.createSequentialGroup().addGap(100, 100, 100).addComponent(jLabel1)
                            .addGap(18, 18, 18)
                            .addComponent(jCBEmpresa, javax.swing.GroupLayout.PREFERRED_SIZE, 167,
                                    javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addGap(43, 43, 43).addComponent(jBbuscar)))
                    .addContainerGap(54, Short.MAX_VALUE)));
    jPanel3Layout.setVerticalGroup(jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel3Layout.createSequentialGroup().addGap(102, 102, 102).addGroup(jPanel3Layout
                    .createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jCBEmpresa, javax.swing.GroupLayout.PREFERRED_SIZE,
                            javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabel1).addComponent(jBbuscar, javax.swing.GroupLayout.PREFERRED_SIZE, 28,
                            javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 65, Short.MAX_VALUE)
                    .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 93,
                            javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addGap(92, 92, 92)));

    jTabbedPane2.addTab("Empleados Por Empresa", jPanel3);

    javax.swing.GroupLayout jPNumeroOfertasLayout = new javax.swing.GroupLayout(jPNumeroOfertas);
    jPNumeroOfertas.setLayout(jPNumeroOfertasLayout);
    jPNumeroOfertasLayout.setHorizontalGroup(jPNumeroOfertasLayout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING).addGap(0, 551, Short.MAX_VALUE));
    jPNumeroOfertasLayout.setVerticalGroup(jPNumeroOfertasLayout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING).addGap(0, 380, Short.MAX_VALUE));

    jTabbedPane2.addTab("Numero de Ofertas Abiertas", jPNumeroOfertas);

    javax.swing.GroupLayout jPOfertaProgramaLayout = new javax.swing.GroupLayout(jPOfertaPrograma);
    jPOfertaPrograma.setLayout(jPOfertaProgramaLayout);
    jPOfertaProgramaLayout.setHorizontalGroup(jPOfertaProgramaLayout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING).addGap(0, 551, Short.MAX_VALUE));
    jPOfertaProgramaLayout.setVerticalGroup(jPOfertaProgramaLayout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING).addGap(0, 380, Short.MAX_VALUE));

    jTabbedPane2.addTab("Oferta Por Programa", jPOfertaPrograma);

    javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);
    jPanel1.setLayout(jPanel1Layout);
    jPanel1Layout.setHorizontalGroup(jPanel1Layout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel1Layout.createSequentialGroup()
                    .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(jPanel1Layout.createSequentialGroup().addGap(27, 27, 27).addComponent(
                                    jBAgregarPalabra, javax.swing.GroupLayout.PREFERRED_SIZE, 52,
                                    javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addGroup(jPanel1Layout.createSequentialGroup().addGap(39, 39, 39).addComponent(
                                    jTabbedPane2, javax.swing.GroupLayout.PREFERRED_SIZE, 556,
                                    javax.swing.GroupLayout.PREFERRED_SIZE)))
                    .addContainerGap(52, Short.MAX_VALUE)));
    jPanel1Layout.setVerticalGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING,
                    jPanel1Layout.createSequentialGroup()
                            .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                            .addComponent(jTabbedPane2, javax.swing.GroupLayout.PREFERRED_SIZE, 408,
                                    javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                            .addComponent(jBAgregarPalabra, javax.swing.GroupLayout.PREFERRED_SIZE, 35,
                                    javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addContainerGap()));

    jLabel3.setFont(new java.awt.Font("Tahoma", 1, 18)); // NOI18N
    jLabel3.setText("REPORTES Y ESTADISTICAS");

    jLabel4.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Imagenes/estadisticas.png"))); // NOI18N

    javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
    getContentPane().setLayout(layout);
    layout.setHorizontalGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                    .addGroup(
                            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addGroup(
                                            layout.createSequentialGroup().addContainerGap().addComponent(
                                                    jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE,
                                                    javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                                    .addGroup(layout.createSequentialGroup().addGap(194, 194, 194)
                                            .addComponent(jLabel3)
                                            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                            .addComponent(jLabel4, javax.swing.GroupLayout.PREFERRED_SIZE, 109,
                                                    javax.swing.GroupLayout.PREFERRED_SIZE)
                                            .addGap(0, 0, Short.MAX_VALUE)))
                    .addGap(23, 23, 23)));
    layout.setVerticalGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                    .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(layout.createSequentialGroup().addGap(14, 14, 14)
                                    .addComponent(jLabel4, javax.swing.GroupLayout.PREFERRED_SIZE, 0,
                                            Short.MAX_VALUE)
                                    .addGap(18, 18, 18))
                            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING,
                                    layout.createSequentialGroup().addContainerGap(46, Short.MAX_VALUE)
                                            .addComponent(jLabel3).addGap(26, 26, 26)))
                    .addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, 466,
                            javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addContainerGap()));

    pack();
}

From source file:UserInterface.FinanceRole.TransferToRegSiteJPanel.java

/**
 * 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./*w w  w . j  a  va2  s.co m*/
 */
@SuppressWarnings("unchecked")
// <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
private void initComponents() {

    donationAmountJTextField = new javax.swing.JTextField();
    backJButton4 = new javax.swing.JButton();
    titleJLabel = new javax.swing.JLabel();
    jScrollPane1 = new javax.swing.JScrollPane();
    regSiteJTable = new javax.swing.JTable();
    jScrollPane2 = new javax.swing.JScrollPane();
    transationHistoryJTable = new javax.swing.JTable();
    donateJButton = new javax.swing.JButton();
    title2JLabel = new javax.swing.JLabel();
    donateAmountJLabel = new javax.swing.JLabel();
    countryJLabel = new javax.swing.JLabel();
    countryJComboBox = new javax.swing.JComboBox();
    autoTransferJButton = new javax.swing.JButton();
    autoTransferJTextField = new javax.swing.JTextField();
    transferDetailsJPanel = new javax.swing.JPanel();
    dollarJLabel = new javax.swing.JLabel();
    jSeparator1 = new javax.swing.JSeparator();
    jScrollPane3 = new javax.swing.JScrollPane();
    lowRegJTable = new javax.swing.JTable();
    countryJLabel1 = new javax.swing.JLabel();

    setBackground(new java.awt.Color(255, 255, 255));

    donationAmountJTextField.setFont(new java.awt.Font("Tahoma", 1, 16)); // NOI18N

    backJButton4.setFont(new java.awt.Font("Tahoma", 1, 16)); // NOI18N
    backJButton4.setText("<< Back");
    backJButton4.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            backJButton4ActionPerformed(evt);
        }
    });

    titleJLabel.setFont(new java.awt.Font("Tahoma", 1, 16)); // NOI18N
    titleJLabel.setText("Transfer to Reistered Site");

    regSiteJTable.setFont(new java.awt.Font("Tahoma", 1, 14)); // NOI18N
    regSiteJTable.setModel(new javax.swing.table.DefaultTableModel(new Object[][] {

    }, new String[] { "ID", "Name" }) {
        boolean[] canEdit = new boolean[] { false, false };

        public boolean isCellEditable(int rowIndex, int columnIndex) {
            return canEdit[columnIndex];
        }
    });
    regSiteJTable.addMouseListener(new java.awt.event.MouseAdapter() {
        public void mouseClicked(java.awt.event.MouseEvent evt) {
            regSiteJTableMouseClicked(evt);
        }
    });
    jScrollPane1.setViewportView(regSiteJTable);
    if (regSiteJTable.getColumnModel().getColumnCount() > 0) {
        regSiteJTable.getColumnModel().getColumn(0).setResizable(false);
        regSiteJTable.getColumnModel().getColumn(1).setResizable(false);
    }

    transationHistoryJTable.setFont(new java.awt.Font("Tahoma", 1, 14)); // NOI18N
    transationHistoryJTable.setModel(new javax.swing.table.DefaultTableModel(new Object[][] {

    }, new String[] { "Transaction ID", "Amount", "Date" }) {
        boolean[] canEdit = new boolean[] { false, false, false };

        public boolean isCellEditable(int rowIndex, int columnIndex) {
            return canEdit[columnIndex];
        }
    });
    jScrollPane2.setViewportView(transationHistoryJTable);

    donateJButton.setFont(new java.awt.Font("Tahoma", 1, 16)); // NOI18N
    donateJButton.setText("Transfer");
    donateJButton.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            donateJButtonActionPerformed(evt);
        }
    });

    title2JLabel.setFont(new java.awt.Font("Tahoma", 1, 16)); // NOI18N
    title2JLabel.setText("Donation History");

    donateAmountJLabel.setFont(new java.awt.Font("Tahoma", 1, 16)); // NOI18N
    donateAmountJLabel.setText("Transfer Amount");

    countryJLabel.setFont(new java.awt.Font("Tahoma", 1, 16)); // NOI18N
    countryJLabel.setText("Select Country:");

    countryJComboBox.setFont(new java.awt.Font("Tahoma", 1, 16)); // NOI18N
    countryJComboBox.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            countryJComboBoxActionPerformed(evt);
        }
    });

    autoTransferJButton.setFont(new java.awt.Font("Tahoma", 1, 16)); // NOI18N
    autoTransferJButton.setText("One touch Auto-Transfer");
    autoTransferJButton.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            autoTransferJButtonActionPerformed(evt);
        }
    });

    autoTransferJTextField.setFont(new java.awt.Font("Tahoma", 1, 16)); // NOI18N

    javax.swing.GroupLayout transferDetailsJPanelLayout = new javax.swing.GroupLayout(transferDetailsJPanel);
    transferDetailsJPanel.setLayout(transferDetailsJPanelLayout);
    transferDetailsJPanelLayout.setHorizontalGroup(transferDetailsJPanelLayout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING).addGap(0, 0, Short.MAX_VALUE));
    transferDetailsJPanelLayout.setVerticalGroup(transferDetailsJPanelLayout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING).addGap(0, 200, Short.MAX_VALUE));

    dollarJLabel.setFont(new java.awt.Font("Tahoma", 1, 16)); // NOI18N
    dollarJLabel.setText("$");

    jSeparator1.setOrientation(javax.swing.SwingConstants.VERTICAL);

    lowRegJTable.setFont(new java.awt.Font("Tahoma", 1, 14)); // NOI18N
    lowRegJTable.setModel(new javax.swing.table.DefaultTableModel(new Object[][] {

    }, new String[] { "ID", "Name", "Country", "Balance" }) {
        boolean[] canEdit = new boolean[] { false, false, false, false };

        public boolean isCellEditable(int rowIndex, int columnIndex) {
            return canEdit[columnIndex];
        }
    });
    lowRegJTable.addMouseListener(new java.awt.event.MouseAdapter() {
        public void mouseClicked(java.awt.event.MouseEvent evt) {
            lowRegJTableMouseClicked(evt);
        }
    });
    jScrollPane3.setViewportView(lowRegJTable);
    if (lowRegJTable.getColumnModel().getColumnCount() > 0) {
        lowRegJTable.getColumnModel().getColumn(0).setResizable(false);
        lowRegJTable.getColumnModel().getColumn(1).setResizable(false);
        lowRegJTable.getColumnModel().getColumn(2).setResizable(false);
        lowRegJTable.getColumnModel().getColumn(3).setResizable(false);
    }

    countryJLabel1.setFont(new java.awt.Font("Tahoma", 1, 16)); // NOI18N
    countryJLabel1.setText("Registered Site with Low Balance");

    javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);
    this.setLayout(layout);
    layout.setHorizontalGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup().addGroup(layout
                    .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(layout.createSequentialGroup().addGap(236, 236, 236).addComponent(dollarJLabel)
                            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                            .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addGroup(layout.createSequentialGroup()
                                            .addComponent(donationAmountJTextField,
                                                    javax.swing.GroupLayout.PREFERRED_SIZE, 114,
                                                    javax.swing.GroupLayout.PREFERRED_SIZE)
                                            .addPreferredGap(
                                                    javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                            .addComponent(donateJButton))
                                    .addGroup(layout.createSequentialGroup().addGap(64, 64, 64)
                                            .addComponent(donateAmountJLabel))))
                    .addGroup(layout.createSequentialGroup().addGap(321, 321, 321).addComponent(title2JLabel))
                    .addGroup(layout.createSequentialGroup().addGap(24, 24, 24).addGroup(layout
                            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                            .addComponent(backJButton4)
                            .addComponent(jScrollPane2, javax.swing.GroupLayout.DEFAULT_SIZE, 655,
                                    Short.MAX_VALUE)
                            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING,
                                    layout.createSequentialGroup()
                                            .addComponent(autoTransferJTextField,
                                                    javax.swing.GroupLayout.PREFERRED_SIZE, 97,
                                                    javax.swing.GroupLayout.PREFERRED_SIZE)
                                            .addGap(18, 18, 18).addComponent(autoTransferJButton))
                            .addComponent(jScrollPane1)
                            .addComponent(transferDetailsJPanel, javax.swing.GroupLayout.DEFAULT_SIZE,
                                    javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING,
                                    layout.createSequentialGroup().addGroup(layout
                                            .createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                                            .addComponent(titleJLabel).addComponent(countryJLabel))
                                            .addGap(18, 18, 18).addComponent(countryJComboBox,
                                                    javax.swing.GroupLayout.PREFERRED_SIZE, 199,
                                                    javax.swing.GroupLayout.PREFERRED_SIZE)))))
                    .addGap(52, 52, 52)
                    .addComponent(jSeparator1, javax.swing.GroupLayout.PREFERRED_SIZE, 18,
                            javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(layout.createSequentialGroup()
                                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                    .addComponent(jScrollPane3, javax.swing.GroupLayout.PREFERRED_SIZE, 553,
                                            javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addGroup(layout.createSequentialGroup().addGap(158, 158, 158)
                                    .addComponent(countryJLabel1)))
                    .addContainerGap(105, Short.MAX_VALUE)));
    layout.setVerticalGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING).addGroup(
            javax.swing.GroupLayout.Alignment.TRAILING,
            layout.createSequentialGroup().addContainerGap().addComponent(titleJLabel).addGap(18, 18, 18)
                    .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(countryJLabel).addComponent(countryJComboBox,
                                    javax.swing.GroupLayout.PREFERRED_SIZE,
                                    javax.swing.GroupLayout.DEFAULT_SIZE,
                                    javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGap(18, 18, 18)
                    .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 155,
                            javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addGap(18, 18, 18)
                    .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(autoTransferJButton).addComponent(autoTransferJTextField,
                                    javax.swing.GroupLayout.PREFERRED_SIZE,
                                    javax.swing.GroupLayout.DEFAULT_SIZE,
                                    javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGap(18, 18, 18).addComponent(donateAmountJLabel).addGap(18, 18, 18)
                    .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(donateJButton)
                            .addComponent(donationAmountJTextField, javax.swing.GroupLayout.PREFERRED_SIZE,
                                    javax.swing.GroupLayout.DEFAULT_SIZE,
                                    javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(dollarJLabel))
                    .addGap(18, 18, 18).addComponent(title2JLabel).addGap(18, 18, 18)
                    .addComponent(jScrollPane2, javax.swing.GroupLayout.PREFERRED_SIZE, 172,
                            javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addGap(18, 18, 18)
                    .addComponent(transferDetailsJPanel, javax.swing.GroupLayout.DEFAULT_SIZE,
                            javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                    .addComponent(backJButton4).addContainerGap(27, Short.MAX_VALUE))
            .addComponent(jSeparator1)
            .addGroup(layout.createSequentialGroup().addGap(56, 56, 56).addComponent(countryJLabel1)
                    .addGap(18, 18, 18)
                    .addComponent(jScrollPane3, javax.swing.GroupLayout.PREFERRED_SIZE, 155,
                            javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)));
}