/** * This method initializes jPanel * * @return javax.swing.JPanel */ private JPanel getContentPanel() { if (contentPanel == null) { GridBagConstraints gridBagConstraints = new GridBagConstraints(); gridBagConstraints.gridx = 1; gridBagConstraints.fill = GridBagConstraints.NONE; gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2); gridBagConstraints.gridy = 0; GridBagConstraints gridBagConstraints4 = new GridBagConstraints(); contentPanel = new JPanel(); contentPanel.setLayout(new GridBagLayout()); contentPanel.setBorder( javax.swing.BorderFactory.createTitledBorder( null, "Authority(s)", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, null, LookAndFeel.getPanelLabelColor())); gridBagConstraints4.weightx = 1.0; gridBagConstraints4.gridy = 0; gridBagConstraints4.gridx = 0; gridBagConstraints4.weighty = 1.0; gridBagConstraints4.fill = java.awt.GridBagConstraints.BOTH; contentPanel.add(getJScrollPane(), gridBagConstraints4); contentPanel.add(getPriorityPanel(), gridBagConstraints); } return contentPanel; }
/** * This method initializes searchCriteriaPanel * * @return javax.swing.JPanel */ private JPanel getSearchCriteriaPanel() { if (searchCriteriaPanel == null) { GridBagConstraints gridBagConstraints10 = new GridBagConstraints(); gridBagConstraints10.gridx = 0; gridBagConstraints10.insets = new Insets(2, 2, 2, 2); gridBagConstraints10.anchor = GridBagConstraints.WEST; gridBagConstraints10.fill = GridBagConstraints.HORIZONTAL; gridBagConstraints10.weightx = 1.0D; gridBagConstraints10.gridy = 4; GridBagConstraints gridBagConstraints7 = new GridBagConstraints(); gridBagConstraints7.gridx = 0; gridBagConstraints7.anchor = GridBagConstraints.WEST; gridBagConstraints7.insets = new Insets(2, 2, 2, 2); gridBagConstraints7.fill = GridBagConstraints.HORIZONTAL; gridBagConstraints7.gridy = 3; GridBagConstraints gridBagConstraints3 = new GridBagConstraints(); gridBagConstraints3.gridy = 0; gridBagConstraints3.anchor = GridBagConstraints.WEST; gridBagConstraints3.insets = new Insets(2, 2, 2, 2); gridBagConstraints3.fill = GridBagConstraints.HORIZONTAL; gridBagConstraints3.weightx = 1.0D; gridBagConstraints3.gridx = 0; GridBagConstraints gridBagConstraints30 = new GridBagConstraints(); gridBagConstraints30.fill = GridBagConstraints.HORIZONTAL; gridBagConstraints30.gridx = 0; gridBagConstraints30.gridy = 1; gridBagConstraints30.weightx = 1.0D; gridBagConstraints30.insets = new Insets(2, 2, 2, 2); GridBagConstraints gridBagConstraints17 = new GridBagConstraints(); gridBagConstraints17.anchor = GridBagConstraints.WEST; gridBagConstraints17.insets = new Insets(2, 2, 2, 2); gridBagConstraints17.gridx = 0; gridBagConstraints17.gridy = 2; gridBagConstraints17.weightx = 1.0D; gridBagConstraints17.fill = GridBagConstraints.HORIZONTAL; searchCriteriaPanel = new JPanel(); searchCriteriaPanel.setLayout(new GridBagLayout()); searchCriteriaPanel.add(getOtherCriteria(), gridBagConstraints30); if (allowGridIdentitySearch) { searchCriteriaPanel.add(getGridIdentityPanel(), gridBagConstraints3); } searchCriteriaPanel.add(getButtonPanel(), gridBagConstraints10); searchCriteriaPanel.setBorder( javax.swing.BorderFactory.createTitledBorder( null, "Search Criteria", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, null, LookAndFeel.getPanelLabelColor())); searchCriteriaPanel.add(getDatePanel(), gridBagConstraints17); searchCriteriaPanel.add(getNotePanel(), gridBagConstraints7); } return searchCriteriaPanel; }