1 19 package org.netbeans.modules.subversion.options; 20 21 25 public class SvnOptionsPanel extends javax.swing.JPanel { 26 27 28 public SvnOptionsPanel() { 29 initComponents(); 30 } 31 32 37 private void initComponents() { 39 40 jLabel1 = new javax.swing.JLabel (); 41 jLabel5 = new javax.swing.JLabel (); 42 jPanel3 = new javax.swing.JPanel (); 43 jLabel6 = new javax.swing.JLabel (); 44 jPanel4 = new javax.swing.JPanel (); 45 jLabel7 = new javax.swing.JLabel (); 46 47 setBackground(new java.awt.Color (255, 255, 255)); 48 49 jLabel1.setText(org.openide.util.NbBundle.getMessage(SvnOptionsPanel.class, "SvnOptionsPanel.jLabel1.text")); 51 jLabel5.setText(org.openide.util.NbBundle.getMessage(SvnOptionsPanel.class, "SvnOptionsPanel.jLabel5.text")); 53 browseButton.setText(org.openide.util.NbBundle.getMessage(SvnOptionsPanel.class, "SvnOptionsPanel.browseButton.text")); 55 jPanel3.setBackground(new java.awt.Color (255, 255, 255)); 56 jPanel3.setBorder(javax.swing.BorderFactory.createTitledBorder(org.openide.util.NbBundle.getMessage(SvnOptionsPanel.class, "SvnOptionsPanel.jPanel3.border.title"))); 58 jLabel6.setText(org.openide.util.NbBundle.getMessage(SvnOptionsPanel.class, "SvnOptionsPanel.jLabel6.text")); 60 manageConnSettingsButton.setText(org.openide.util.NbBundle.getMessage(SvnOptionsPanel.class, "SvnOptionsPanel.manageConnSettingsButton.text")); 62 org.jdesktop.layout.GroupLayout jPanel3Layout = new org.jdesktop.layout.GroupLayout(jPanel3); 63 jPanel3.setLayout(jPanel3Layout); 64 jPanel3Layout.setHorizontalGroup( 65 jPanel3Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) 66 .add(jPanel3Layout.createSequentialGroup() 67 .addContainerGap() 68 .add(jLabel6) 69 .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED, 87, Short.MAX_VALUE) 70 .add(manageConnSettingsButton) 71 .addContainerGap()) 72 ); 73 jPanel3Layout.setVerticalGroup( 74 jPanel3Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) 75 .add(jPanel3Layout.createSequentialGroup() 76 .add(jPanel3Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE) 77 .add(jLabel6) 78 .add(manageConnSettingsButton)) 79 .addContainerGap(org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) 80 ); 81 82 jPanel4.setBackground(new java.awt.Color (255, 255, 255)); 83 jPanel4.setBorder(javax.swing.BorderFactory.createTitledBorder(org.openide.util.NbBundle.getMessage(SvnOptionsPanel.class, "SvnOptionsPanel.jPanel4.border.title"))); 85 jLabel7.setText(org.openide.util.NbBundle.getMessage(SvnOptionsPanel.class, "SvnOptionsPanel.jLabel7.text")); 87 manageLabelsButton.setText(org.openide.util.NbBundle.getMessage(SvnOptionsPanel.class, "SvnOptionsPanel.manageLabelsButton.text")); 89 org.jdesktop.layout.GroupLayout jPanel4Layout = new org.jdesktop.layout.GroupLayout(jPanel4); 90 jPanel4.setLayout(jPanel4Layout); 91 jPanel4Layout.setHorizontalGroup( 92 jPanel4Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) 93 .add(jPanel4Layout.createSequentialGroup() 94 .addContainerGap() 95 .add(jLabel7) 96 .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED, 124, Short.MAX_VALUE) 97 .add(manageLabelsButton) 98 .addContainerGap()) 99 ); 100 jPanel4Layout.setVerticalGroup( 101 jPanel4Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) 102 .add(jPanel4Layout.createSequentialGroup() 103 .add(jPanel4Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE) 104 .add(jLabel7) 105 .add(manageLabelsButton)) 106 .addContainerGap(org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) 107 ); 108 109 org.jdesktop.layout.GroupLayout layout = new org.jdesktop.layout.GroupLayout(this); 110 this.setLayout(layout); 111 layout.setHorizontalGroup( 112 layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) 113 .add(layout.createSequentialGroup() 114 .addContainerGap() 115 .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) 116 .add(jPanel3, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) 117 .add(layout.createSequentialGroup() 118 .add(jLabel1) 119 .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) 120 .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) 121 .add(jLabel5) 122 .add(org.jdesktop.layout.GroupLayout.TRAILING, layout.createSequentialGroup() 123 .add(executablePathTextField, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 375, Short.MAX_VALUE) 124 .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) 125 .add(browseButton)))) 126 .add(org.jdesktop.layout.GroupLayout.TRAILING, jPanel4, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) 127 .addContainerGap()) 128 ); 129 layout.setVerticalGroup( 130 layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) 131 .add(org.jdesktop.layout.GroupLayout.TRAILING, layout.createSequentialGroup() 132 .addContainerGap() 133 .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE) 134 .add(jLabel1) 135 .add(browseButton) 136 .add(executablePathTextField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)) 137 .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) 138 .add(jLabel5) 139 .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) 140 .add(jPanel3, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) 141 .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) 142 .add(jPanel4, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) 143 .addContainerGap()) 144 ); 145 } 147 148 final javax.swing.JButton browseButton = new javax.swing.JButton (); 150 final javax.swing.JTextField executablePathTextField = new javax.swing.JTextField (); 151 private javax.swing.JLabel jLabel1; 152 private javax.swing.JLabel jLabel5; 153 private javax.swing.JLabel jLabel6; 154 private javax.swing.JLabel jLabel7; 155 private javax.swing.JPanel jPanel3; 156 private javax.swing.JPanel jPanel4; 157 final javax.swing.JButton manageConnSettingsButton = new javax.swing.JButton (); 158 final javax.swing.JButton manageLabelsButton = new javax.swing.JButton (); 159 161 } 162 | Popular Tags |