1 19 20 package org.netbeans.modules.subversion.ui.search; 21 22 import org.openide.explorer.ExplorerManager; 23 24 28 public class SvnSearchPanel extends javax.swing.JPanel { 29 30 31 public SvnSearchPanel() { 32 initComponents(); 33 } 34 35 40 private void initComponents() { 42 jLabel1 = new javax.swing.JLabel (); 43 jLabel2 = new javax.swing.JLabel (); 44 45 setPreferredSize(new java.awt.Dimension (650, 330)); 46 dateFromTextField.setText(org.openide.util.NbBundle.getMessage(SvnSearchPanel.class, "SvnSearchPanel.dateFromTextField.text")); 48 listButton.setText(org.openide.util.NbBundle.getMessage(SvnSearchPanel.class, "SvnSearchPanel.listButton.text_1")); 50 jLabel1.setText(org.openide.util.NbBundle.getMessage(SvnSearchPanel.class, "SvnSearchPanel.jLabel1.text_1")); 52 jLabel2.setText(org.openide.util.NbBundle.getMessage(SvnSearchPanel.class, "SvnSearchPanel.jLabel2.text_1")); 54 listPanel.setLayout(new java.awt.GridBagLayout ()); 55 56 org.jdesktop.layout.GroupLayout noContentPanelLayout = new org.jdesktop.layout.GroupLayout(noContentPanel); 57 noContentPanel.setLayout(noContentPanelLayout); 58 noContentPanelLayout.setHorizontalGroup( 59 noContentPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) 60 .add(0, 556, Short.MAX_VALUE) 61 ); 62 noContentPanelLayout.setVerticalGroup( 63 noContentPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) 64 .add(0, 154, Short.MAX_VALUE) 65 ); 66 67 org.jdesktop.layout.GroupLayout layout = new org.jdesktop.layout.GroupLayout(this); 68 this.setLayout(layout); 69 layout.setHorizontalGroup( 70 layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) 71 .add(org.jdesktop.layout.GroupLayout.TRAILING, layout.createSequentialGroup() 72 .addContainerGap() 73 .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING) 74 .add(org.jdesktop.layout.GroupLayout.LEADING, noContentPanel, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) 75 .add(listPanel, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 556, Short.MAX_VALUE) 76 .add(org.jdesktop.layout.GroupLayout.LEADING, layout.createSequentialGroup() 77 .add(jLabel1) 78 .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) 79 .add(dateFromTextField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 101, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) 80 .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) 81 .add(jLabel2, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 227, Short.MAX_VALUE) 82 .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) 83 .add(listButton))) 84 .addContainerGap()) 85 ); 86 layout.setVerticalGroup( 87 layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) 88 .add(layout.createSequentialGroup() 89 .addContainerGap() 90 .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE) 91 .add(listButton) 92 .add(jLabel1) 93 .add(jLabel2) 94 .add(dateFromTextField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)) 95 .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) 96 .add(listPanel, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 115, Short.MAX_VALUE) 97 .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) 98 .add(noContentPanel, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) 99 .addContainerGap()) 100 ); 101 } 103 104 final javax.swing.JTextField dateFromTextField = new javax.swing.JTextField (); 106 private javax.swing.JLabel jLabel1; 107 private javax.swing.JLabel jLabel2; 108 final javax.swing.JButton listButton = new javax.swing.JButton (); 109 final javax.swing.JPanel listPanel = new javax.swing.JPanel (); 110 final javax.swing.JPanel noContentPanel = new javax.swing.JPanel (); 111 113 } 114 | Popular Tags |