@Test
  public void testForMultimap_domain() {
    Navigator<String> navigator =
        Navigators.forMultimap(ImmutableSetMultimap.of("a", "a1", "a", "a2", "b", "b"));

    assertEquals(ImmutableSet.of("a", "b"), ImmutableSet.copyOf(navigator.domain()));
  }
  @Test
  public void testForFunction_Serializable() {
    Navigator<Integer> navigator =
        SerializationUtils.serializedCopy(
            Navigators.forFunction(ImmutableSet.of(1, 2, 3), new MyFun()));

    assertEquals(ImmutableSet.of(1, 2, 3), ImmutableSet.copyOf(navigator.domain()));
    assertEquals(ImmutableSet.of(2, 2), ImmutableSet.copyOf(navigator.related(1)));
    assertEquals(ImmutableSet.of(4, 3), ImmutableSet.copyOf(navigator.related(2)));
    assertEquals(ImmutableSet.of(6, 4), ImmutableSet.copyOf(navigator.related(3)));
  }
  /** Make the Robot navigate to the closest node to the basket, then process to defend. */
  public void start() {
    navigator.defineRestrictions(true);

    // node 69 should be the tile just in front of basket
    navigator.travelPath(navigator.searchNode(69));
    robotCtrl.turnTo(90);
    robotCtrl.goToIntersect();
    robotCtrl.turn(180);
    deployMechanism();
    robotCtrl.goBackward(25);
  }
 @Test
 public void testForFunction() {
   Navigator<Integer> navigator =
       Navigators.forFunction(
           ImmutableSet.of(1, 2, 3),
           new Function<Integer, Set<Integer>>() {
             public Set<Integer> apply(Integer value) {
               return ImmutableSet.of(value * 2, value + 1);
             }
           });
   assertEquals(ImmutableSet.of(1, 2, 3), ImmutableSet.copyOf(navigator.domain()));
   assertEquals(ImmutableSet.of(2, 2), ImmutableSet.copyOf(navigator.related(1)));
   assertEquals(ImmutableSet.of(4, 3), ImmutableSet.copyOf(navigator.related(2)));
   assertEquals(ImmutableSet.of(6, 4), ImmutableSet.copyOf(navigator.related(3)));
 }
  /** Creates new form Frame */
  public Frame(Navigator navigator, MainPanel mainPanel) {
    initComponents();
    this.navigator = navigator;
    this.mainPanel = mainPanel;
    BoxLayout boxLayout = new BoxLayout(this.mainPanel, BoxLayout.PAGE_AXIS);
    this.mainPanel.setLayout(boxLayout);
    jSplitPane1.setLeftComponent(navigator);
    jSplitPane1.setRightComponent(mainPanel);
    JTree jTree = navigator.getJTree();

    jTree.addTreeSelectionListener(
        new TreeSelectionListener() {

          @Override
          public void valueChanged(TreeSelectionEvent tse) {
            Visitor visitor = new DisplayData();
            ((Element) tse.getPath().getLastPathComponent()).accept(visitor);
          }
        });
  }
 public void addNavigator(Navigator handler) {
   navigationHandlers.put(handler.getTrigger(), handler);
 }
 public Widget next() {
   Widget ret = buffer.remove();
   if (!buffer.isEmpty()) navi.run(buffer);
   return ret;
 }
 public void injectComponents(Navigator component, ilarkesto.core.scope.Scope scope) {
   component.app = (scrum.client.ScrumGwtApplication) scope.getComponent("app");
   component.auth = (scrum.client.admin.Auth) scope.getComponent("auth");
   component.dao = (scrum.client.Dao) scope.getComponent("dao");
 }
 public void callInitializationMethods(Navigator component) {
   component.initialize();
 }
  /**
   * 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.
   */
  @SuppressWarnings("unchecked")
  // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
  private void initComponents() {

    panelHeader = new javax.swing.JPanel();
    jLabel1 = new javax.swing.JLabel();
    panelEntry = new javax.swing.JPanel();
    panelCustInfo = new javax.swing.JPanel();
    jLabel2 = new javax.swing.JLabel();
    jTextField1 = new javax.swing.JTextField();
    jLabel3 = new javax.swing.JLabel();
    jTextField2 = new javax.swing.JTextField();
    jTextField4 = new javax.swing.JTextField();
    jLabel5 = new javax.swing.JLabel();
    jTextField5 = new javax.swing.JTextField();
    jLabel6 = new javax.swing.JLabel();
    jTextField6 = new javax.swing.JTextField();
    jLabel7 = new javax.swing.JLabel();
    jTextField7 = new javax.swing.JTextField();
    jLabel8 = new javax.swing.JLabel();
    jLabel9 = new javax.swing.JLabel();
    jTextField9 = new javax.swing.JTextField();
    jLabel10 = new javax.swing.JLabel();
    jTextField10 = new javax.swing.JTextField();
    jLabel11 = new javax.swing.JLabel();
    jTextField11 = new javax.swing.JTextField();
    jLabel12 = new javax.swing.JLabel();
    jTextField12 = new javax.swing.JTextField();
    jComboBox1 = new javax.swing.JComboBox<String>();
    jLabel13 = new javax.swing.JLabel();
    jTextField13 = new javax.swing.JTextField();
    panelContact = new javax.swing.JPanel();
    jLabel4 = new javax.swing.JLabel();
    jTextField3 = new javax.swing.JTextField();
    jLabel22 = new javax.swing.JLabel();
    jTextField23 = new javax.swing.JTextField();
    jLabel23 = new javax.swing.JLabel();
    jTextField24 = new javax.swing.JTextField();
    jLabel24 = new javax.swing.JLabel();
    jTextField25 = new javax.swing.JTextField();
    panelCredit = new javax.swing.JPanel();
    jLabel14 = new javax.swing.JLabel();
    jTextField14 = new javax.swing.JTextField();
    jButton1 = new javax.swing.JButton();
    panelDesc = new javax.swing.JPanel();
    jScrollPane1 = new javax.swing.JScrollPane();
    jTextArea1 = new javax.swing.JTextArea();
    panelNavigator = new javax.swing.JPanel();
    panelNavigator1 = new javax.swing.JPanel();
    Navigator = new javax.swing.JPanel();
    btnSearch = new javax.swing.JButton();
    btnNew = new javax.swing.JButton();
    btnRefresh = new javax.swing.JButton();
    btnSave = new javax.swing.JButton();
    btnClose = new javax.swing.JButton();
    btnHelp = new javax.swing.JButton();
    panelTable = new javax.swing.JPanel();
    jScrollPane2 = new javax.swing.JScrollPane();
    jTable2 = new javax.swing.JTable();
    panelFooter = new javax.swing.JPanel();

    setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);

    panelHeader.setBorder(javax.swing.BorderFactory.createEtchedBorder());

    jLabel1.setFont(
        jLabel1
            .getFont()
            .deriveFont(
                jLabel1.getFont().getStyle() | java.awt.Font.BOLD,
                jLabel1.getFont().getSize() + 10));
    jLabel1.setText("CUSTOMER");

    javax.swing.GroupLayout panelHeaderLayout = new javax.swing.GroupLayout(panelHeader);
    panelHeader.setLayout(panelHeaderLayout);
    panelHeaderLayout.setHorizontalGroup(
        panelHeaderLayout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(
                panelHeaderLayout
                    .createSequentialGroup()
                    .addComponent(
                        jLabel1,
                        javax.swing.GroupLayout.PREFERRED_SIZE,
                        367,
                        javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addGap(0, 0, Short.MAX_VALUE)));
    panelHeaderLayout.setVerticalGroup(
        panelHeaderLayout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(
                javax.swing.GroupLayout.Alignment.TRAILING,
                panelHeaderLayout
                    .createSequentialGroup()
                    .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(
                        jLabel1,
                        javax.swing.GroupLayout.PREFERRED_SIZE,
                        21,
                        javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addContainerGap()));

    panelEntry.setBorder(javax.swing.BorderFactory.createEtchedBorder());

    panelCustInfo.setBorder(
        javax.swing.BorderFactory.createTitledBorder(
            null,
            "Company information",
            javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION,
            javax.swing.border.TitledBorder.DEFAULT_POSITION,
            new java.awt.Font("Tahoma", 1, 11))); // NOI18N

    jLabel2.setText("Company");

    jLabel3.setText("Address");

    jLabel5.setText("District");

    jLabel6.setText("Postal");

    jLabel7.setText("City");

    jLabel8.setText("Country");

    jLabel9.setText("Tel");

    jLabel10.setText("Fax");

    jLabel11.setText("Email");

    jLabel12.setText("Website");

    jComboBox1.setModel(
        new javax.swing.DefaultComboBoxModel(
            new String[] {"Item 1", "Item 2", "Item 3", "Item 4"}));

    jLabel13.setText("Tax code");

    javax.swing.GroupLayout panelCustInfoLayout = new javax.swing.GroupLayout(panelCustInfo);
    panelCustInfo.setLayout(panelCustInfoLayout);
    panelCustInfoLayout.setHorizontalGroup(
        panelCustInfoLayout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(
                panelCustInfoLayout
                    .createSequentialGroup()
                    .addContainerGap()
                    .addGroup(
                        panelCustInfoLayout
                            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(
                                jLabel2,
                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                Short.MAX_VALUE)
                            .addComponent(
                                jLabel3,
                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                Short.MAX_VALUE)
                            .addComponent(
                                jLabel5,
                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                Short.MAX_VALUE)
                            .addComponent(
                                jLabel7,
                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                Short.MAX_VALUE)
                            .addComponent(
                                jLabel9,
                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                Short.MAX_VALUE)
                            .addComponent(
                                jLabel11,
                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                Short.MAX_VALUE)
                            .addComponent(
                                jLabel13,
                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                Short.MAX_VALUE))
                    .addGap(18, 18, 18)
                    .addGroup(
                        panelCustInfoLayout
                            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(
                                panelCustInfoLayout
                                    .createSequentialGroup()
                                    .addGroup(
                                        panelCustInfoLayout
                                            .createParallelGroup(
                                                javax.swing.GroupLayout.Alignment.LEADING)
                                            .addComponent(jTextField5)
                                            .addComponent(
                                                jTextField7,
                                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                                91,
                                                Short.MAX_VALUE)
                                            .addComponent(
                                                jTextField9,
                                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                                91,
                                                Short.MAX_VALUE)
                                            .addComponent(
                                                jTextField11,
                                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                                91,
                                                Short.MAX_VALUE)
                                            .addComponent(
                                                jTextField13,
                                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                                91,
                                                Short.MAX_VALUE))
                                    .addPreferredGap(
                                        javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                    .addGroup(
                                        panelCustInfoLayout
                                            .createParallelGroup(
                                                javax.swing.GroupLayout.Alignment.LEADING)
                                            .addComponent(
                                                jLabel6,
                                                javax.swing.GroupLayout.Alignment.TRAILING,
                                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                                Short.MAX_VALUE)
                                            .addComponent(
                                                jLabel8,
                                                javax.swing.GroupLayout.Alignment.TRAILING,
                                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                                Short.MAX_VALUE)
                                            .addComponent(
                                                jLabel10,
                                                javax.swing.GroupLayout.Alignment.TRAILING,
                                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                                Short.MAX_VALUE)
                                            .addComponent(
                                                jLabel12,
                                                javax.swing.GroupLayout.Alignment.TRAILING,
                                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                                Short.MAX_VALUE))
                                    .addGap(18, 18, 18)
                                    .addGroup(
                                        panelCustInfoLayout
                                            .createParallelGroup(
                                                javax.swing.GroupLayout.Alignment.LEADING)
                                            .addComponent(jTextField10)
                                            .addComponent(jTextField6)
                                            .addComponent(jTextField12)
                                            .addComponent(
                                                jComboBox1,
                                                0,
                                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                                Short.MAX_VALUE)))
                            .addComponent(jTextField1)
                            .addComponent(jTextField2)
                            .addComponent(jTextField4))
                    .addContainerGap()));
    panelCustInfoLayout.setVerticalGroup(
        panelCustInfoLayout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(
                panelCustInfoLayout
                    .createSequentialGroup()
                    .addGap(6, 6, 6)
                    .addGroup(
                        panelCustInfoLayout
                            .createParallelGroup(javax.swing.GroupLayout.Alignment.CENTER)
                            .addComponent(
                                jLabel2,
                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                Short.MAX_VALUE)
                            .addComponent(jTextField1))
                    .addGap(6, 6, 6)
                    .addGroup(
                        panelCustInfoLayout
                            .createParallelGroup(javax.swing.GroupLayout.Alignment.CENTER)
                            .addComponent(
                                jLabel3,
                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                Short.MAX_VALUE)
                            .addComponent(jTextField2))
                    .addGap(6, 6, 6)
                    .addComponent(jTextField4)
                    .addGap(6, 6, 6)
                    .addGroup(
                        panelCustInfoLayout
                            .createParallelGroup(javax.swing.GroupLayout.Alignment.CENTER)
                            .addComponent(
                                jLabel5,
                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                Short.MAX_VALUE)
                            .addComponent(jTextField5)
                            .addComponent(
                                jLabel6,
                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                Short.MAX_VALUE)
                            .addComponent(jTextField6))
                    .addGap(6, 6, 6)
                    .addGroup(
                        panelCustInfoLayout
                            .createParallelGroup(javax.swing.GroupLayout.Alignment.CENTER)
                            .addComponent(
                                jLabel7,
                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                Short.MAX_VALUE)
                            .addComponent(jTextField7)
                            .addComponent(
                                jLabel8,
                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                Short.MAX_VALUE)
                            .addComponent(
                                jComboBox1,
                                javax.swing.GroupLayout.PREFERRED_SIZE,
                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGap(6, 6, 6)
                    .addGroup(
                        panelCustInfoLayout
                            .createParallelGroup(javax.swing.GroupLayout.Alignment.CENTER)
                            .addComponent(
                                jLabel9,
                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                Short.MAX_VALUE)
                            .addComponent(jTextField9)
                            .addComponent(
                                jLabel10,
                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                Short.MAX_VALUE)
                            .addComponent(jTextField10))
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                    .addGroup(
                        panelCustInfoLayout
                            .createParallelGroup(javax.swing.GroupLayout.Alignment.CENTER)
                            .addComponent(
                                jLabel11,
                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                Short.MAX_VALUE)
                            .addComponent(jTextField11)
                            .addComponent(
                                jLabel12,
                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                Short.MAX_VALUE)
                            .addComponent(jTextField12))
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                    .addGroup(
                        panelCustInfoLayout
                            .createParallelGroup(javax.swing.GroupLayout.Alignment.CENTER)
                            .addComponent(
                                jLabel13,
                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                Short.MAX_VALUE)
                            .addComponent(jTextField13))));

    panelContact.setBorder(
        javax.swing.BorderFactory.createTitledBorder(
            null,
            "Contact ",
            javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION,
            javax.swing.border.TitledBorder.DEFAULT_POSITION,
            new java.awt.Font("Tahoma", 1, 11))); // NOI18N

    jLabel4.setText("Full name");

    jLabel22.setText("Title");

    jLabel23.setText("Cell");

    jLabel24.setText("Email");

    javax.swing.GroupLayout panelContactLayout = new javax.swing.GroupLayout(panelContact);
    panelContact.setLayout(panelContactLayout);
    panelContactLayout.setHorizontalGroup(
        panelContactLayout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(
                panelContactLayout
                    .createSequentialGroup()
                    .addContainerGap()
                    .addGroup(
                        panelContactLayout
                            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jLabel4)
                            .addComponent(jLabel22)
                            .addComponent(jLabel23)
                            .addComponent(jLabel24))
                    .addGap(18, 18, 18)
                    .addGroup(
                        panelContactLayout
                            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(
                                jTextField3,
                                javax.swing.GroupLayout.PREFERRED_SIZE,
                                159,
                                javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(
                                jTextField24,
                                javax.swing.GroupLayout.PREFERRED_SIZE,
                                159,
                                javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(
                                jTextField25,
                                javax.swing.GroupLayout.PREFERRED_SIZE,
                                159,
                                javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(
                                jTextField23,
                                javax.swing.GroupLayout.PREFERRED_SIZE,
                                159,
                                javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)));
    panelContactLayout.setVerticalGroup(
        panelContactLayout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(
                panelContactLayout
                    .createSequentialGroup()
                    .addGap(6, 6, 6)
                    .addGroup(
                        panelContactLayout
                            .createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(
                                jLabel4,
                                javax.swing.GroupLayout.PREFERRED_SIZE,
                                20,
                                javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(
                                jTextField3,
                                javax.swing.GroupLayout.PREFERRED_SIZE,
                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGap(6, 6, 6)
                    .addGroup(
                        panelContactLayout
                            .createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(
                                jLabel22,
                                javax.swing.GroupLayout.PREFERRED_SIZE,
                                20,
                                javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(
                                jTextField23,
                                javax.swing.GroupLayout.PREFERRED_SIZE,
                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGap(6, 6, 6)
                    .addGroup(
                        panelContactLayout
                            .createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(
                                jLabel23,
                                javax.swing.GroupLayout.PREFERRED_SIZE,
                                20,
                                javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(
                                jTextField24,
                                javax.swing.GroupLayout.PREFERRED_SIZE,
                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGap(6, 6, 6)
                    .addGroup(
                        panelContactLayout
                            .createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(
                                jLabel24,
                                javax.swing.GroupLayout.PREFERRED_SIZE,
                                20,
                                javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(
                                jTextField25,
                                javax.swing.GroupLayout.PREFERRED_SIZE,
                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)));

    panelCredit.setBorder(javax.swing.BorderFactory.createTitledBorder("Other info"));

    jLabel14.setText("Available credit");

    jButton1.setText("History order");

    javax.swing.GroupLayout panelCreditLayout = new javax.swing.GroupLayout(panelCredit);
    panelCredit.setLayout(panelCreditLayout);
    panelCreditLayout.setHorizontalGroup(
        panelCreditLayout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(
                panelCreditLayout
                    .createSequentialGroup()
                    .addContainerGap()
                    .addGroup(
                        panelCreditLayout
                            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(
                                panelCreditLayout
                                    .createSequentialGroup()
                                    .addComponent(
                                        jLabel14,
                                        javax.swing.GroupLayout.DEFAULT_SIZE,
                                        javax.swing.GroupLayout.DEFAULT_SIZE,
                                        Short.MAX_VALUE)
                                    .addPreferredGap(
                                        javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                    .addComponent(
                                        jTextField14,
                                        javax.swing.GroupLayout.PREFERRED_SIZE,
                                        151,
                                        javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addComponent(
                                jButton1,
                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                Short.MAX_VALUE))
                    .addContainerGap()));
    panelCreditLayout.setVerticalGroup(
        panelCreditLayout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(
                panelCreditLayout
                    .createSequentialGroup()
                    .addGap(6, 6, 6)
                    .addGroup(
                        panelCreditLayout
                            .createParallelGroup(javax.swing.GroupLayout.Alignment.CENTER)
                            .addComponent(
                                jLabel14,
                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                Short.MAX_VALUE)
                            .addComponent(
                                jTextField14,
                                javax.swing.GroupLayout.PREFERRED_SIZE,
                                25,
                                javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                    .addComponent(jButton1)
                    .addContainerGap()));

    panelCreditLayout.linkSize(
        javax.swing.SwingConstants.VERTICAL, new java.awt.Component[] {jButton1, jTextField14});

    panelDesc.setBorder(javax.swing.BorderFactory.createTitledBorder("Description"));

    jTextArea1.setColumns(20);
    jTextArea1.setRows(5);
    jScrollPane1.setViewportView(jTextArea1);

    javax.swing.GroupLayout panelDescLayout = new javax.swing.GroupLayout(panelDesc);
    panelDesc.setLayout(panelDescLayout);
    panelDescLayout.setHorizontalGroup(
        panelDescLayout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(
                javax.swing.GroupLayout.Alignment.TRAILING,
                panelDescLayout
                    .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)
                    .addContainerGap()));
    panelDescLayout.setVerticalGroup(
        panelDescLayout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(
                panelDescLayout
                    .createSequentialGroup()
                    .addContainerGap()
                    .addComponent(jScrollPane1)
                    .addContainerGap()));

    javax.swing.GroupLayout panelEntryLayout = new javax.swing.GroupLayout(panelEntry);
    panelEntry.setLayout(panelEntryLayout);
    panelEntryLayout.setHorizontalGroup(
        panelEntryLayout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(
                panelEntryLayout
                    .createSequentialGroup()
                    .addContainerGap()
                    .addComponent(
                        panelCustInfo,
                        javax.swing.GroupLayout.PREFERRED_SIZE,
                        javax.swing.GroupLayout.DEFAULT_SIZE,
                        javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                    .addGroup(
                        panelEntryLayout
                            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                            .addComponent(
                                panelContact,
                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                Short.MAX_VALUE)
                            .addComponent(
                                panelCredit,
                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                Short.MAX_VALUE))
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                    .addComponent(
                        panelDesc,
                        javax.swing.GroupLayout.DEFAULT_SIZE,
                        javax.swing.GroupLayout.DEFAULT_SIZE,
                        Short.MAX_VALUE)
                    .addContainerGap()));
    panelEntryLayout.setVerticalGroup(
        panelEntryLayout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(
                panelEntryLayout
                    .createSequentialGroup()
                    .addContainerGap()
                    .addGroup(
                        panelEntryLayout
                            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                            .addComponent(
                                panelDesc,
                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                Short.MAX_VALUE)
                            .addGroup(
                                panelEntryLayout
                                    .createSequentialGroup()
                                    .addComponent(
                                        panelContact,
                                        javax.swing.GroupLayout.PREFERRED_SIZE,
                                        javax.swing.GroupLayout.DEFAULT_SIZE,
                                        javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addPreferredGap(
                                        javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                    .addComponent(
                                        panelCredit,
                                        javax.swing.GroupLayout.DEFAULT_SIZE,
                                        javax.swing.GroupLayout.DEFAULT_SIZE,
                                        Short.MAX_VALUE))
                            .addComponent(
                                panelCustInfo,
                                javax.swing.GroupLayout.PREFERRED_SIZE,
                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGap(0, 0, Short.MAX_VALUE)));

    panelNavigator.setBorder(javax.swing.BorderFactory.createEtchedBorder());

    panelNavigator1.setBorder(javax.swing.BorderFactory.createEtchedBorder());

    Navigator.setLayout(new java.awt.GridLayout());

    btnSearch.setText("Search");
    Navigator.add(btnSearch);

    btnNew.setText("New");
    Navigator.add(btnNew);

    btnRefresh.setText("Refresh");
    Navigator.add(btnRefresh);

    btnSave.setText("Save");
    Navigator.add(btnSave);

    btnClose.setText("Close");
    btnClose.addActionListener(
        new java.awt.event.ActionListener() {
          public void actionPerformed(java.awt.event.ActionEvent evt) {
            btnCloseActionPerformed(evt);
          }
        });
    Navigator.add(btnClose);

    btnHelp.setText("Help");
    Navigator.add(btnHelp);

    javax.swing.GroupLayout panelNavigator1Layout = new javax.swing.GroupLayout(panelNavigator1);
    panelNavigator1.setLayout(panelNavigator1Layout);
    panelNavigator1Layout.setHorizontalGroup(
        panelNavigator1Layout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(
                javax.swing.GroupLayout.Alignment.TRAILING,
                panelNavigator1Layout
                    .createSequentialGroup()
                    .addContainerGap()
                    .addComponent(
                        Navigator,
                        javax.swing.GroupLayout.PREFERRED_SIZE,
                        javax.swing.GroupLayout.DEFAULT_SIZE,
                        javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)));
    panelNavigator1Layout.setVerticalGroup(
        panelNavigator1Layout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(
                javax.swing.GroupLayout.Alignment.TRAILING,
                panelNavigator1Layout
                    .createSequentialGroup()
                    .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(
                        Navigator,
                        javax.swing.GroupLayout.PREFERRED_SIZE,
                        javax.swing.GroupLayout.DEFAULT_SIZE,
                        javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addContainerGap()));

    javax.swing.GroupLayout panelNavigatorLayout = new javax.swing.GroupLayout(panelNavigator);
    panelNavigator.setLayout(panelNavigatorLayout);
    panelNavigatorLayout.setHorizontalGroup(
        panelNavigatorLayout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(
                panelNavigator1,
                javax.swing.GroupLayout.Alignment.TRAILING,
                javax.swing.GroupLayout.DEFAULT_SIZE,
                javax.swing.GroupLayout.DEFAULT_SIZE,
                Short.MAX_VALUE));
    panelNavigatorLayout.setVerticalGroup(
        panelNavigatorLayout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(
                panelNavigator1,
                javax.swing.GroupLayout.PREFERRED_SIZE,
                javax.swing.GroupLayout.DEFAULT_SIZE,
                javax.swing.GroupLayout.PREFERRED_SIZE));

    jTable2.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"}));
    jScrollPane2.setViewportView(jTable2);

    javax.swing.GroupLayout panelTableLayout = new javax.swing.GroupLayout(panelTable);
    panelTable.setLayout(panelTableLayout);
    panelTableLayout.setHorizontalGroup(
        panelTableLayout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jScrollPane2));
    panelTableLayout.setVerticalGroup(
        panelTableLayout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(
                jScrollPane2, javax.swing.GroupLayout.DEFAULT_SIZE, 300, Short.MAX_VALUE));

    panelFooter.setBorder(javax.swing.BorderFactory.createEtchedBorder());

    javax.swing.GroupLayout panelFooterLayout = new javax.swing.GroupLayout(panelFooter);
    panelFooter.setLayout(panelFooterLayout);
    panelFooterLayout.setHorizontalGroup(
        panelFooterLayout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 0, Short.MAX_VALUE));
    panelFooterLayout.setVerticalGroup(
        panelFooterLayout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 32, Short.MAX_VALUE));

    javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
    getContentPane().setLayout(layout);
    layout.setHorizontalGroup(
        layout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(
                panelEntry,
                javax.swing.GroupLayout.DEFAULT_SIZE,
                javax.swing.GroupLayout.DEFAULT_SIZE,
                Short.MAX_VALUE)
            .addComponent(
                panelHeader,
                javax.swing.GroupLayout.Alignment.TRAILING,
                javax.swing.GroupLayout.DEFAULT_SIZE,
                javax.swing.GroupLayout.DEFAULT_SIZE,
                Short.MAX_VALUE)
            .addComponent(
                panelFooter,
                javax.swing.GroupLayout.DEFAULT_SIZE,
                javax.swing.GroupLayout.DEFAULT_SIZE,
                Short.MAX_VALUE)
            .addComponent(
                panelTable,
                javax.swing.GroupLayout.DEFAULT_SIZE,
                javax.swing.GroupLayout.DEFAULT_SIZE,
                Short.MAX_VALUE)
            .addComponent(
                panelNavigator,
                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(
                        panelHeader,
                        javax.swing.GroupLayout.DEFAULT_SIZE,
                        javax.swing.GroupLayout.DEFAULT_SIZE,
                        Short.MAX_VALUE)
                    .addGap(0, 0, 0)
                    .addComponent(
                        panelEntry,
                        javax.swing.GroupLayout.DEFAULT_SIZE,
                        javax.swing.GroupLayout.DEFAULT_SIZE,
                        Short.MAX_VALUE)
                    .addGap(0, 0, 0)
                    .addComponent(
                        panelNavigator,
                        javax.swing.GroupLayout.PREFERRED_SIZE,
                        javax.swing.GroupLayout.DEFAULT_SIZE,
                        javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addGap(0, 0, 0)
                    .addComponent(
                        panelTable,
                        javax.swing.GroupLayout.PREFERRED_SIZE,
                        javax.swing.GroupLayout.DEFAULT_SIZE,
                        javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addGap(0, 0, 0)
                    .addComponent(
                        panelFooter,
                        javax.swing.GroupLayout.DEFAULT_SIZE,
                        javax.swing.GroupLayout.DEFAULT_SIZE,
                        Short.MAX_VALUE)));

    pack();
    setLocationRelativeTo(null);
  } // </editor-fold>//GEN-END:initComponents
  /**
   * 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.
   */
  @SuppressWarnings("unchecked")
  // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
  private void initComponents() {

    panelMaster = new javax.swing.JPanel();
    panelHeader = new javax.swing.JPanel();
    lblHeader = new javax.swing.JLabel();
    panelEntry = new javax.swing.JPanel();
    jLabel1 = new javax.swing.JLabel();
    txtFinder = new javax.swing.JTextField();
    jButton1 = new javax.swing.JButton();
    panelNavigator = new javax.swing.JPanel();
    Navigator = new javax.swing.JPanel();
    btnOK = new javax.swing.JButton();
    btnCancel = new javax.swing.JButton();
    btnHelp = new javax.swing.JButton();
    panelTable = new javax.swing.JPanel();
    jScrollPane1 = new javax.swing.JScrollPane();
    jTable1 = new javax.swing.JTable();

    panelHeader.setBorder(javax.swing.BorderFactory.createEtchedBorder());

    lblHeader.setFont(
        lblHeader
            .getFont()
            .deriveFont(
                lblHeader.getFont().getStyle() | java.awt.Font.BOLD,
                lblHeader.getFont().getSize() + 10));
    lblHeader.setText("FIND CATEGORY");
    lblHeader.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);

    javax.swing.GroupLayout panelHeaderLayout = new javax.swing.GroupLayout(panelHeader);
    panelHeader.setLayout(panelHeaderLayout);
    panelHeaderLayout.setHorizontalGroup(
        panelHeaderLayout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(
                panelHeaderLayout
                    .createSequentialGroup()
                    .addContainerGap()
                    .addComponent(
                        lblHeader,
                        javax.swing.GroupLayout.DEFAULT_SIZE,
                        javax.swing.GroupLayout.DEFAULT_SIZE,
                        Short.MAX_VALUE)
                    .addContainerGap()));
    panelHeaderLayout.setVerticalGroup(
        panelHeaderLayout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(
                javax.swing.GroupLayout.Alignment.TRAILING,
                panelHeaderLayout
                    .createSequentialGroup()
                    .addGap(0, 11, Short.MAX_VALUE)
                    .addComponent(
                        lblHeader,
                        javax.swing.GroupLayout.PREFERRED_SIZE,
                        21,
                        javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addContainerGap()));

    jLabel1.setText("Enter text to find");

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

    javax.swing.GroupLayout panelEntryLayout = new javax.swing.GroupLayout(panelEntry);
    panelEntry.setLayout(panelEntryLayout);
    panelEntryLayout.setHorizontalGroup(
        panelEntryLayout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(
                panelEntryLayout
                    .createSequentialGroup()
                    .addContainerGap()
                    .addGroup(
                        panelEntryLayout
                            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jLabel1)
                            .addGroup(
                                panelEntryLayout
                                    .createSequentialGroup()
                                    .addComponent(
                                        txtFinder,
                                        javax.swing.GroupLayout.PREFERRED_SIZE,
                                        200,
                                        javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addPreferredGap(
                                        javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                    .addComponent(jButton1)))
                    .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)));
    panelEntryLayout.setVerticalGroup(
        panelEntryLayout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(
                panelEntryLayout
                    .createSequentialGroup()
                    .addContainerGap()
                    .addComponent(jLabel1)
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                    .addGroup(
                        panelEntryLayout
                            .createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(
                                txtFinder,
                                javax.swing.GroupLayout.PREFERRED_SIZE,
                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jButton1))
                    .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)));

    Navigator.setLayout(new java.awt.GridLayout(1, 0, 4, 0));

    btnOK.setText("OK");
    Navigator.add(btnOK);

    btnCancel.setText("Cancel");
    btnCancel.addActionListener(
        new java.awt.event.ActionListener() {
          public void actionPerformed(java.awt.event.ActionEvent evt) {
            btnCancelActionPerformed(evt);
          }
        });
    Navigator.add(btnCancel);

    btnHelp.setText("Help");
    Navigator.add(btnHelp);

    javax.swing.GroupLayout panelNavigatorLayout = new javax.swing.GroupLayout(panelNavigator);
    panelNavigator.setLayout(panelNavigatorLayout);
    panelNavigatorLayout.setHorizontalGroup(
        panelNavigatorLayout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(
                javax.swing.GroupLayout.Alignment.TRAILING,
                panelNavigatorLayout
                    .createSequentialGroup()
                    .addContainerGap()
                    .addComponent(
                        Navigator,
                        javax.swing.GroupLayout.PREFERRED_SIZE,
                        javax.swing.GroupLayout.DEFAULT_SIZE,
                        javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addContainerGap(79, Short.MAX_VALUE)));
    panelNavigatorLayout.setVerticalGroup(
        panelNavigatorLayout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(
                javax.swing.GroupLayout.Alignment.TRAILING,
                panelNavigatorLayout
                    .createSequentialGroup()
                    .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(
                        Navigator,
                        javax.swing.GroupLayout.PREFERRED_SIZE,
                        javax.swing.GroupLayout.DEFAULT_SIZE,
                        javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addContainerGap()));

    panelTable.setBorder(javax.swing.BorderFactory.createEtchedBorder());

    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"}));
    jScrollPane1.setViewportView(jTable1);

    javax.swing.GroupLayout panelTableLayout = new javax.swing.GroupLayout(panelTable);
    panelTable.setLayout(panelTableLayout);
    panelTableLayout.setHorizontalGroup(
        panelTableLayout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(
                panelTableLayout
                    .createSequentialGroup()
                    .addContainerGap()
                    .addComponent(
                        jScrollPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 726, Short.MAX_VALUE)
                    .addContainerGap()));
    panelTableLayout.setVerticalGroup(
        panelTableLayout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(
                panelTableLayout
                    .createSequentialGroup()
                    .addContainerGap()
                    .addComponent(
                        jScrollPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 268, Short.MAX_VALUE)
                    .addContainerGap()));

    javax.swing.GroupLayout panelMasterLayout = new javax.swing.GroupLayout(panelMaster);
    panelMaster.setLayout(panelMasterLayout);
    panelMasterLayout.setHorizontalGroup(
        panelMasterLayout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(
                panelMasterLayout
                    .createSequentialGroup()
                    .addContainerGap()
                    .addGroup(
                        panelMasterLayout
                            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(
                                panelHeader,
                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                Short.MAX_VALUE)
                            .addComponent(
                                panelEntry,
                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                Short.MAX_VALUE)
                            .addComponent(
                                panelTable,
                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                Short.MAX_VALUE)
                            .addGroup(
                                panelMasterLayout
                                    .createSequentialGroup()
                                    .addComponent(
                                        panelNavigator,
                                        javax.swing.GroupLayout.PREFERRED_SIZE,
                                        javax.swing.GroupLayout.DEFAULT_SIZE,
                                        javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addGap(0, 0, Short.MAX_VALUE)))
                    .addContainerGap()));
    panelMasterLayout.setVerticalGroup(
        panelMasterLayout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(
                panelMasterLayout
                    .createSequentialGroup()
                    .addContainerGap()
                    .addComponent(
                        panelHeader,
                        javax.swing.GroupLayout.PREFERRED_SIZE,
                        javax.swing.GroupLayout.DEFAULT_SIZE,
                        javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                    .addComponent(
                        panelEntry,
                        javax.swing.GroupLayout.PREFERRED_SIZE,
                        javax.swing.GroupLayout.DEFAULT_SIZE,
                        javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addPreferredGap(
                        javax.swing.LayoutStyle.ComponentPlacement.RELATED,
                        javax.swing.GroupLayout.DEFAULT_SIZE,
                        Short.MAX_VALUE)
                    .addComponent(
                        panelNavigator,
                        javax.swing.GroupLayout.PREFERRED_SIZE,
                        javax.swing.GroupLayout.DEFAULT_SIZE,
                        javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                    .addComponent(
                        panelTable,
                        javax.swing.GroupLayout.PREFERRED_SIZE,
                        javax.swing.GroupLayout.DEFAULT_SIZE,
                        javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)));

    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(
                        panelMaster,
                        javax.swing.GroupLayout.DEFAULT_SIZE,
                        javax.swing.GroupLayout.DEFAULT_SIZE,
                        Short.MAX_VALUE)
                    .addContainerGap()));
    layout.setVerticalGroup(
        layout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(
                javax.swing.GroupLayout.Alignment.TRAILING,
                layout
                    .createSequentialGroup()
                    .addContainerGap()
                    .addComponent(
                        panelMaster,
                        javax.swing.GroupLayout.PREFERRED_SIZE,
                        javax.swing.GroupLayout.DEFAULT_SIZE,
                        javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addContainerGap()));

    pack();
    setLocationRelativeTo(null);
  } // </editor-fold>//GEN-END:initComponents