| 1 | package tmcsim.client.cadclientgui.screens; |
|---|
| 2 | |
|---|
| 3 | /* |
|---|
| 4 | * To change this template, choose Tools | Templates |
|---|
| 5 | * and open the template in the editor. |
|---|
| 6 | */ |
|---|
| 7 | |
|---|
| 8 | /** |
|---|
| 9 | * CURRENTLY NOT IN USE. |
|---|
| 10 | * @author Stuart |
|---|
| 11 | */ |
|---|
| 12 | public class RotationServiceRequest extends javax.swing.JFrame { |
|---|
| 13 | |
|---|
| 14 | /** |
|---|
| 15 | * Creates new form RotationServiceRequest |
|---|
| 16 | */ |
|---|
| 17 | public RotationServiceRequest() { |
|---|
| 18 | initComponents(); |
|---|
| 19 | } |
|---|
| 20 | |
|---|
| 21 | /** |
|---|
| 22 | * This method is called from within the constructor to initialize the form. |
|---|
| 23 | * WARNING: Do NOT modify this code. The content of this method is always |
|---|
| 24 | * regenerated by the Form Editor. |
|---|
| 25 | */ |
|---|
| 26 | @SuppressWarnings("unchecked") |
|---|
| 27 | // <editor-fold defaultstate="collapsed" desc="Generated Code"> |
|---|
| 28 | private void initComponents() { |
|---|
| 29 | |
|---|
| 30 | jTabbedPane1 = new javax.swing.JTabbedPane(); |
|---|
| 31 | pendingRequestsScroll = new javax.swing.JScrollPane(); |
|---|
| 32 | pendingRequestsTable = new javax.swing.JTable(); |
|---|
| 33 | activeRequestsScroll = new javax.swing.JScrollPane(); |
|---|
| 34 | activeRequestsTable = new javax.swing.JTable(); |
|---|
| 35 | requestInformationPane = new javax.swing.JPanel(); |
|---|
| 36 | rotationProviderAreaCombo = new javax.swing.JComboBox(); |
|---|
| 37 | rotationProviderAreaLabel = new javax.swing.JLabel(); |
|---|
| 38 | rotationCategoryCombo = new javax.swing.JComboBox(); |
|---|
| 39 | rotationCategoryLabel = new javax.swing.JLabel(); |
|---|
| 40 | locationLabel = new javax.swing.JLabel(); |
|---|
| 41 | incidentNumberField = new javax.swing.JTextField(); |
|---|
| 42 | incidentNumberLabel = new javax.swing.JLabel(); |
|---|
| 43 | requestNumberField = new javax.swing.JTextField(); |
|---|
| 44 | requestNumberLabel = new javax.swing.JLabel(); |
|---|
| 45 | enteredDateTimeCombo = new javax.swing.JComboBox(); |
|---|
| 46 | enteredDateTimeLabel = new javax.swing.JLabel(); |
|---|
| 47 | requestDateTimeCombo = new javax.swing.JComboBox(); |
|---|
| 48 | requestDateTimeLabel = new javax.swing.JLabel(); |
|---|
| 49 | onSceneDateTimeCombo = new javax.swing.JComboBox(); |
|---|
| 50 | onSceneDateTimeLabel = new javax.swing.JLabel(); |
|---|
| 51 | completedDateTimeCombo = new javax.swing.JComboBox(); |
|---|
| 52 | completedDateTimeLabel = new javax.swing.JLabel(); |
|---|
| 53 | locationCombo = new javax.swing.JComboBox(); |
|---|
| 54 | caseNumberField = new javax.swing.JTextField(); |
|---|
| 55 | caseNumberLabel = new javax.swing.JLabel(); |
|---|
| 56 | cancelDateTimeCombo = new javax.swing.JComboBox(); |
|---|
| 57 | cancelDateTimeLabel = new javax.swing.JLabel(); |
|---|
| 58 | unitLabel = new javax.swing.JLabel(); |
|---|
| 59 | unitField = new javax.swing.JTextField(); |
|---|
| 60 | requestedByField = new javax.swing.JTextField(); |
|---|
| 61 | requestedByLabel = new javax.swing.JLabel(); |
|---|
| 62 | enteredByField = new javax.swing.JTextField(); |
|---|
| 63 | enteredByLabel = new javax.swing.JLabel(); |
|---|
| 64 | vehicleInformationPane = new javax.swing.JPanel(); |
|---|
| 65 | yearField = new javax.swing.JTextField(); |
|---|
| 66 | yearLabel = new javax.swing.JLabel(); |
|---|
| 67 | makeLabel = new javax.swing.JLabel(); |
|---|
| 68 | makeField = new javax.swing.JTextField(); |
|---|
| 69 | modelField = new javax.swing.JTextField(); |
|---|
| 70 | modelLabel = new javax.swing.JLabel(); |
|---|
| 71 | styleField = new javax.swing.JTextField(); |
|---|
| 72 | styleLabel = new javax.swing.JLabel(); |
|---|
| 73 | colorField = new javax.swing.JTextField(); |
|---|
| 74 | colorLabel = new javax.swing.JLabel(); |
|---|
| 75 | licensePlateNumberLabel = new javax.swing.JLabel(); |
|---|
| 76 | licensePlateNumberField = new javax.swing.JTextField(); |
|---|
| 77 | licensePlateStateLabel = new javax.swing.JLabel(); |
|---|
| 78 | licensePlateStateField = new javax.swing.JTextField(); |
|---|
| 79 | licensePlateYearLabel = new javax.swing.JLabel(); |
|---|
| 80 | licensePlateYearField = new javax.swing.JTextField(); |
|---|
| 81 | releaseDateLabel = new javax.swing.JLabel(); |
|---|
| 82 | releaseDateCombo = new javax.swing.JComboBox(); |
|---|
| 83 | vinField = new javax.swing.JTextField(); |
|---|
| 84 | vinLabel = new javax.swing.JLabel(); |
|---|
| 85 | holdForEvidenceCheckBox = new javax.swing.JCheckBox(); |
|---|
| 86 | rotationProviderInformation = new javax.swing.JPanel(); |
|---|
| 87 | companyNameLabel = new javax.swing.JLabel(); |
|---|
| 88 | companyNameField = new javax.swing.JTextField(); |
|---|
| 89 | contactNameLabel = new javax.swing.JLabel(); |
|---|
| 90 | contactNameField = new javax.swing.JTextField(); |
|---|
| 91 | phone1Label = new javax.swing.JLabel(); |
|---|
| 92 | phone1Field = new javax.swing.JTextField(); |
|---|
| 93 | phone2Label = new javax.swing.JLabel(); |
|---|
| 94 | phone2Field = new javax.swing.JTextField(); |
|---|
| 95 | pagerLabel = new javax.swing.JLabel(); |
|---|
| 96 | pagingProviderLabel = new javax.swing.JLabel(); |
|---|
| 97 | pagerField = new javax.swing.JTextField(); |
|---|
| 98 | pagingProviderCombo = new javax.swing.JComboBox(); |
|---|
| 99 | overrideButton = new javax.swing.JButton(); |
|---|
| 100 | skipButton = new javax.swing.JButton(); |
|---|
| 101 | assignProviderButton = new javax.swing.JButton(); |
|---|
| 102 | cancelRequestButton = new javax.swing.JButton(); |
|---|
| 103 | providerOnSceneButton = new javax.swing.JButton(); |
|---|
| 104 | providerCompleteButton = new javax.swing.JButton(); |
|---|
| 105 | jPanel1 = new javax.swing.JPanel(); |
|---|
| 106 | commentsTableScroll = new javax.swing.JScrollPane(); |
|---|
| 107 | commentsTable = new javax.swing.JTable(); |
|---|
| 108 | commentsFieldScroll = new javax.swing.JScrollPane(); |
|---|
| 109 | commentsField = new javax.swing.JTextField(); |
|---|
| 110 | addCommentButton = new javax.swing.JButton(); |
|---|
| 111 | saveCommentButton = new javax.swing.JButton(); |
|---|
| 112 | cancelCommentButton = new javax.swing.JButton(); |
|---|
| 113 | searchButton = new javax.swing.JButton(); |
|---|
| 114 | saveButton = new javax.swing.JButton(); |
|---|
| 115 | cancelButton = new javax.swing.JButton(); |
|---|
| 116 | exitButton = new javax.swing.JButton(); |
|---|
| 117 | |
|---|
| 118 | setDefaultCloseOperation(javax.swing.WindowConstants.HIDE_ON_CLOSE); |
|---|
| 119 | |
|---|
| 120 | pendingRequestsTable.setModel(new javax.swing.table.DefaultTableModel( |
|---|
| 121 | new Object [][] { |
|---|
| 122 | {null, null, null, null, null, null, null}, |
|---|
| 123 | {null, null, null, null, null, null, null}, |
|---|
| 124 | {null, null, null, null, null, null, null}, |
|---|
| 125 | {null, null, null, null, null, null, null} |
|---|
| 126 | }, |
|---|
| 127 | new String [] { |
|---|
| 128 | "Entered", "Incident Number", "Unit", "Rotation Category", "Service Area", "Location", "Entered By" |
|---|
| 129 | } |
|---|
| 130 | )); |
|---|
| 131 | pendingRequestsScroll.setViewportView(pendingRequestsTable); |
|---|
| 132 | |
|---|
| 133 | jTabbedPane1.addTab("Pending Requests", pendingRequestsScroll); |
|---|
| 134 | |
|---|
| 135 | activeRequestsTable.setModel(new javax.swing.table.DefaultTableModel( |
|---|
| 136 | new Object [][] { |
|---|
| 137 | {null, null, null, null, null, null}, |
|---|
| 138 | {null, null, null, null, null, null}, |
|---|
| 139 | {null, null, null, null, null, null}, |
|---|
| 140 | {null, null, null, null, null, null} |
|---|
| 141 | }, |
|---|
| 142 | new String [] { |
|---|
| 143 | "Requested", "Incident Number", "Unit", "Location", "Provider Name", "Entered By" |
|---|
| 144 | } |
|---|
| 145 | )); |
|---|
| 146 | activeRequestsScroll.setViewportView(activeRequestsTable); |
|---|
| 147 | |
|---|
| 148 | jTabbedPane1.addTab("Active Requests", activeRequestsScroll); |
|---|
| 149 | |
|---|
| 150 | rotationProviderAreaCombo.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Item 1", "Item 2", "Item 3", "Item 4" })); |
|---|
| 151 | |
|---|
| 152 | rotationProviderAreaLabel.setText("Rotation Provider Area:"); |
|---|
| 153 | |
|---|
| 154 | rotationCategoryCombo.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Item 1", "Item 2", "Item 3", "Item 4" })); |
|---|
| 155 | |
|---|
| 156 | rotationCategoryLabel.setFont(new java.awt.Font("Tahoma", 1, 11)); // NOI18N |
|---|
| 157 | rotationCategoryLabel.setText("Rotation Category:"); |
|---|
| 158 | |
|---|
| 159 | locationLabel.setText("Location:"); |
|---|
| 160 | |
|---|
| 161 | incidentNumberField.setText("jTextField2"); |
|---|
| 162 | |
|---|
| 163 | incidentNumberLabel.setText("Incident Number:"); |
|---|
| 164 | |
|---|
| 165 | requestNumberField.setText("jTextField3"); |
|---|
| 166 | |
|---|
| 167 | requestNumberLabel.setText("Request Number:"); |
|---|
| 168 | |
|---|
| 169 | enteredDateTimeCombo.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Item 1", "Item 2", "Item 3", "Item 4" })); |
|---|
| 170 | |
|---|
| 171 | enteredDateTimeLabel.setText("Entered Date/Time:"); |
|---|
| 172 | |
|---|
| 173 | requestDateTimeCombo.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Item 1", "Item 2", "Item 3", "Item 4" })); |
|---|
| 174 | |
|---|
| 175 | requestDateTimeLabel.setText("Request Date/Time:"); |
|---|
| 176 | |
|---|
| 177 | onSceneDateTimeCombo.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Item 1", "Item 2", "Item 3", "Item 4" })); |
|---|
| 178 | |
|---|
| 179 | onSceneDateTimeLabel.setText("OnScene Date/Time:"); |
|---|
| 180 | |
|---|
| 181 | completedDateTimeCombo.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Item 1", "Item 2", "Item 3", "Item 4" })); |
|---|
| 182 | |
|---|
| 183 | completedDateTimeLabel.setText("Completed Date/Time"); |
|---|
| 184 | |
|---|
| 185 | locationCombo.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Item 1", "Item 2", "Item 3", "Item 4" })); |
|---|
| 186 | |
|---|
| 187 | caseNumberField.setText("jTextField1"); |
|---|
| 188 | |
|---|
| 189 | caseNumberLabel.setText("Case Number:"); |
|---|
| 190 | |
|---|
| 191 | cancelDateTimeCombo.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Item 1", "Item 2", "Item 3", "Item 4" })); |
|---|
| 192 | |
|---|
| 193 | cancelDateTimeLabel.setText("Cancel Date/Time"); |
|---|
| 194 | |
|---|
| 195 | unitLabel.setText("Unit:"); |
|---|
| 196 | |
|---|
| 197 | unitField.setText("jTextField4"); |
|---|
| 198 | |
|---|
| 199 | requestedByField.setText("jTextField5"); |
|---|
| 200 | |
|---|
| 201 | requestedByLabel.setText("Requested By:"); |
|---|
| 202 | |
|---|
| 203 | enteredByField.setText("jTextField6"); |
|---|
| 204 | enteredByField.addActionListener(new java.awt.event.ActionListener() { |
|---|
| 205 | public void actionPerformed(java.awt.event.ActionEvent evt) { |
|---|
| 206 | enteredByFieldActionPerformed(evt); |
|---|
| 207 | } |
|---|
| 208 | }); |
|---|
| 209 | |
|---|
| 210 | enteredByLabel.setText("Entered By:"); |
|---|
| 211 | |
|---|
| 212 | javax.swing.GroupLayout requestInformationPaneLayout = new javax.swing.GroupLayout(requestInformationPane); |
|---|
| 213 | requestInformationPane.setLayout(requestInformationPaneLayout); |
|---|
| 214 | requestInformationPaneLayout.setHorizontalGroup( |
|---|
| 215 | requestInformationPaneLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
|---|
| 216 | .addGroup(requestInformationPaneLayout.createSequentialGroup() |
|---|
| 217 | .addContainerGap() |
|---|
| 218 | .addGroup(requestInformationPaneLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING) |
|---|
| 219 | .addComponent(rotationProviderAreaLabel) |
|---|
| 220 | .addComponent(rotationCategoryLabel) |
|---|
| 221 | .addComponent(locationLabel) |
|---|
| 222 | .addComponent(incidentNumberLabel) |
|---|
| 223 | .addComponent(requestNumberLabel) |
|---|
| 224 | .addComponent(enteredDateTimeLabel) |
|---|
| 225 | .addComponent(requestDateTimeLabel) |
|---|
| 226 | .addComponent(onSceneDateTimeLabel) |
|---|
| 227 | .addComponent(completedDateTimeLabel) |
|---|
| 228 | .addComponent(caseNumberLabel) |
|---|
| 229 | .addComponent(cancelDateTimeLabel) |
|---|
| 230 | .addComponent(unitLabel) |
|---|
| 231 | .addComponent(requestedByLabel) |
|---|
| 232 | .addComponent(enteredByLabel)) |
|---|
| 233 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) |
|---|
| 234 | .addGroup(requestInformationPaneLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
|---|
| 235 | .addComponent(enteredByField) |
|---|
| 236 | .addComponent(cancelDateTimeCombo, 0, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) |
|---|
| 237 | .addComponent(caseNumberField) |
|---|
| 238 | .addComponent(completedDateTimeCombo, 0, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) |
|---|
| 239 | .addComponent(onSceneDateTimeCombo, 0, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) |
|---|
| 240 | .addComponent(requestDateTimeCombo, 0, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) |
|---|
| 241 | .addComponent(enteredDateTimeCombo, 0, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) |
|---|
| 242 | .addComponent(requestNumberField) |
|---|
| 243 | .addComponent(incidentNumberField) |
|---|
| 244 | .addComponent(rotationCategoryCombo, 0, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) |
|---|
| 245 | .addComponent(locationCombo, 0, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) |
|---|
| 246 | .addComponent(unitField) |
|---|
| 247 | .addGroup(requestInformationPaneLayout.createSequentialGroup() |
|---|
| 248 | .addComponent(rotationProviderAreaCombo, javax.swing.GroupLayout.PREFERRED_SIZE, 120, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 249 | .addGap(0, 0, Short.MAX_VALUE)) |
|---|
| 250 | .addComponent(requestedByField)) |
|---|
| 251 | .addContainerGap()) |
|---|
| 252 | ); |
|---|
| 253 | requestInformationPaneLayout.setVerticalGroup( |
|---|
| 254 | requestInformationPaneLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
|---|
| 255 | .addGroup(requestInformationPaneLayout.createSequentialGroup() |
|---|
| 256 | .addContainerGap() |
|---|
| 257 | .addGroup(requestInformationPaneLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) |
|---|
| 258 | .addComponent(rotationProviderAreaCombo, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 259 | .addComponent(rotationProviderAreaLabel)) |
|---|
| 260 | .addGap(6, 6, 6) |
|---|
| 261 | .addGroup(requestInformationPaneLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) |
|---|
| 262 | .addComponent(rotationCategoryCombo, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 263 | .addComponent(rotationCategoryLabel)) |
|---|
| 264 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) |
|---|
| 265 | .addGroup(requestInformationPaneLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) |
|---|
| 266 | .addComponent(locationCombo, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 267 | .addComponent(locationLabel)) |
|---|
| 268 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) |
|---|
| 269 | .addGroup(requestInformationPaneLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) |
|---|
| 270 | .addComponent(incidentNumberField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 271 | .addComponent(incidentNumberLabel)) |
|---|
| 272 | .addGap(0, 0, 0) |
|---|
| 273 | .addGroup(requestInformationPaneLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) |
|---|
| 274 | .addComponent(requestNumberField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 275 | .addComponent(requestNumberLabel)) |
|---|
| 276 | .addGap(0, 0, 0) |
|---|
| 277 | .addGroup(requestInformationPaneLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) |
|---|
| 278 | .addComponent(caseNumberField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 279 | .addComponent(caseNumberLabel)) |
|---|
| 280 | .addGap(0, 0, 0) |
|---|
| 281 | .addGroup(requestInformationPaneLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) |
|---|
| 282 | .addComponent(enteredDateTimeCombo, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 283 | .addComponent(enteredDateTimeLabel)) |
|---|
| 284 | .addGap(0, 0, 0) |
|---|
| 285 | .addGroup(requestInformationPaneLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) |
|---|
| 286 | .addComponent(requestDateTimeCombo, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 287 | .addComponent(requestDateTimeLabel)) |
|---|
| 288 | .addGap(0, 0, 0) |
|---|
| 289 | .addGroup(requestInformationPaneLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) |
|---|
| 290 | .addComponent(onSceneDateTimeCombo, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 291 | .addComponent(onSceneDateTimeLabel)) |
|---|
| 292 | .addGap(0, 0, 0) |
|---|
| 293 | .addGroup(requestInformationPaneLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) |
|---|
| 294 | .addComponent(completedDateTimeCombo, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 295 | .addComponent(completedDateTimeLabel)) |
|---|
| 296 | .addGap(0, 0, 0) |
|---|
| 297 | .addGroup(requestInformationPaneLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) |
|---|
| 298 | .addComponent(cancelDateTimeCombo, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 299 | .addComponent(cancelDateTimeLabel)) |
|---|
| 300 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) |
|---|
| 301 | .addGroup(requestInformationPaneLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) |
|---|
| 302 | .addComponent(unitLabel) |
|---|
| 303 | .addComponent(unitField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) |
|---|
| 304 | .addGap(0, 0, 0) |
|---|
| 305 | .addGroup(requestInformationPaneLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) |
|---|
| 306 | .addComponent(requestedByField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 307 | .addComponent(requestedByLabel)) |
|---|
| 308 | .addGap(0, 0, 0) |
|---|
| 309 | .addGroup(requestInformationPaneLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) |
|---|
| 310 | .addComponent(enteredByField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 311 | .addComponent(enteredByLabel)) |
|---|
| 312 | .addContainerGap(14, Short.MAX_VALUE)) |
|---|
| 313 | ); |
|---|
| 314 | |
|---|
| 315 | yearField.setText("jTextField7"); |
|---|
| 316 | |
|---|
| 317 | yearLabel.setText("Year:"); |
|---|
| 318 | |
|---|
| 319 | makeLabel.setText("Make:"); |
|---|
| 320 | |
|---|
| 321 | makeField.setText("jTextField8"); |
|---|
| 322 | |
|---|
| 323 | modelField.setText("jTextField9"); |
|---|
| 324 | |
|---|
| 325 | modelLabel.setText("Model:"); |
|---|
| 326 | |
|---|
| 327 | styleField.setText("jTextField10"); |
|---|
| 328 | |
|---|
| 329 | styleLabel.setText("Style:"); |
|---|
| 330 | |
|---|
| 331 | colorField.setText("jTextField11"); |
|---|
| 332 | |
|---|
| 333 | colorLabel.setText("Color:"); |
|---|
| 334 | |
|---|
| 335 | licensePlateNumberLabel.setText("Lisence Plate Number:"); |
|---|
| 336 | |
|---|
| 337 | licensePlateNumberField.setText("jTextField12"); |
|---|
| 338 | |
|---|
| 339 | licensePlateStateLabel.setText("License Plate State:"); |
|---|
| 340 | |
|---|
| 341 | licensePlateStateField.setText("jTextField13"); |
|---|
| 342 | |
|---|
| 343 | licensePlateYearLabel.setText("License Plate Year:"); |
|---|
| 344 | |
|---|
| 345 | licensePlateYearField.setText("jTextField14"); |
|---|
| 346 | |
|---|
| 347 | releaseDateLabel.setText("Release Date:"); |
|---|
| 348 | |
|---|
| 349 | releaseDateCombo.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Item 1", "Item 2", "Item 3", "Item 4" })); |
|---|
| 350 | |
|---|
| 351 | vinField.setText("jTextField15"); |
|---|
| 352 | |
|---|
| 353 | vinLabel.setText("VIN:"); |
|---|
| 354 | |
|---|
| 355 | holdForEvidenceCheckBox.setText("Hold for Evidence"); |
|---|
| 356 | |
|---|
| 357 | javax.swing.GroupLayout vehicleInformationPaneLayout = new javax.swing.GroupLayout(vehicleInformationPane); |
|---|
| 358 | vehicleInformationPane.setLayout(vehicleInformationPaneLayout); |
|---|
| 359 | vehicleInformationPaneLayout.setHorizontalGroup( |
|---|
| 360 | vehicleInformationPaneLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
|---|
| 361 | .addGroup(vehicleInformationPaneLayout.createSequentialGroup() |
|---|
| 362 | .addContainerGap() |
|---|
| 363 | .addGroup(vehicleInformationPaneLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING) |
|---|
| 364 | .addComponent(makeLabel) |
|---|
| 365 | .addComponent(yearLabel) |
|---|
| 366 | .addComponent(modelLabel) |
|---|
| 367 | .addComponent(styleLabel) |
|---|
| 368 | .addComponent(colorLabel)) |
|---|
| 369 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) |
|---|
| 370 | .addGroup(vehicleInformationPaneLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false) |
|---|
| 371 | .addGroup(vehicleInformationPaneLayout.createSequentialGroup() |
|---|
| 372 | .addGroup(vehicleInformationPaneLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false) |
|---|
| 373 | .addComponent(modelField) |
|---|
| 374 | .addComponent(makeField) |
|---|
| 375 | .addComponent(styleField, javax.swing.GroupLayout.DEFAULT_SIZE, 160, Short.MAX_VALUE) |
|---|
| 376 | .addComponent(yearField, javax.swing.GroupLayout.PREFERRED_SIZE, 50, javax.swing.GroupLayout.PREFERRED_SIZE)) |
|---|
| 377 | .addGap(40, 40, 40) |
|---|
| 378 | .addGroup(vehicleInformationPaneLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING) |
|---|
| 379 | .addComponent(licensePlateNumberLabel) |
|---|
| 380 | .addComponent(licensePlateStateLabel) |
|---|
| 381 | .addComponent(licensePlateYearLabel) |
|---|
| 382 | .addComponent(releaseDateLabel))) |
|---|
| 383 | .addGroup(vehicleInformationPaneLayout.createSequentialGroup() |
|---|
| 384 | .addComponent(colorField, javax.swing.GroupLayout.PREFERRED_SIZE, 120, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 385 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) |
|---|
| 386 | .addComponent(vinLabel))) |
|---|
| 387 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) |
|---|
| 388 | .addGroup(vehicleInformationPaneLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
|---|
| 389 | .addComponent(vinField) |
|---|
| 390 | .addGroup(vehicleInformationPaneLayout.createSequentialGroup() |
|---|
| 391 | .addGroup(vehicleInformationPaneLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
|---|
| 392 | .addComponent(holdForEvidenceCheckBox) |
|---|
| 393 | .addGroup(vehicleInformationPaneLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false) |
|---|
| 394 | .addComponent(licensePlateNumberField, javax.swing.GroupLayout.DEFAULT_SIZE, 120, Short.MAX_VALUE) |
|---|
| 395 | .addComponent(licensePlateStateField) |
|---|
| 396 | .addComponent(licensePlateYearField, javax.swing.GroupLayout.PREFERRED_SIZE, 50, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 397 | .addComponent(releaseDateCombo, 0, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))) |
|---|
| 398 | .addGap(0, 0, Short.MAX_VALUE))) |
|---|
| 399 | .addContainerGap()) |
|---|
| 400 | ); |
|---|
| 401 | vehicleInformationPaneLayout.setVerticalGroup( |
|---|
| 402 | vehicleInformationPaneLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
|---|
| 403 | .addGroup(vehicleInformationPaneLayout.createSequentialGroup() |
|---|
| 404 | .addContainerGap() |
|---|
| 405 | .addGroup(vehicleInformationPaneLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) |
|---|
| 406 | .addComponent(yearField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 407 | .addComponent(yearLabel) |
|---|
| 408 | .addComponent(licensePlateNumberLabel) |
|---|
| 409 | .addComponent(licensePlateNumberField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) |
|---|
| 410 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) |
|---|
| 411 | .addGroup(vehicleInformationPaneLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) |
|---|
| 412 | .addComponent(makeLabel) |
|---|
| 413 | .addComponent(makeField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 414 | .addComponent(licensePlateStateLabel) |
|---|
| 415 | .addComponent(licensePlateStateField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) |
|---|
| 416 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) |
|---|
| 417 | .addGroup(vehicleInformationPaneLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) |
|---|
| 418 | .addComponent(modelField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 419 | .addComponent(modelLabel) |
|---|
| 420 | .addComponent(licensePlateYearLabel) |
|---|
| 421 | .addComponent(licensePlateYearField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) |
|---|
| 422 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) |
|---|
| 423 | .addGroup(vehicleInformationPaneLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) |
|---|
| 424 | .addComponent(styleField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 425 | .addComponent(styleLabel) |
|---|
| 426 | .addComponent(releaseDateLabel) |
|---|
| 427 | .addComponent(releaseDateCombo, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) |
|---|
| 428 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) |
|---|
| 429 | .addGroup(vehicleInformationPaneLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) |
|---|
| 430 | .addComponent(colorField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 431 | .addComponent(colorLabel) |
|---|
| 432 | .addComponent(vinField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 433 | .addComponent(vinLabel)) |
|---|
| 434 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) |
|---|
| 435 | .addComponent(holdForEvidenceCheckBox) |
|---|
| 436 | .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) |
|---|
| 437 | ); |
|---|
| 438 | |
|---|
| 439 | companyNameLabel.setText("Company Name:"); |
|---|
| 440 | |
|---|
| 441 | companyNameField.setText("jTextField16"); |
|---|
| 442 | |
|---|
| 443 | contactNameLabel.setText("Contact Name:"); |
|---|
| 444 | |
|---|
| 445 | contactNameField.setText("jTextField17"); |
|---|
| 446 | |
|---|
| 447 | phone1Label.setText("Phone 1:"); |
|---|
| 448 | |
|---|
| 449 | phone1Field.setText("jTextField18"); |
|---|
| 450 | |
|---|
| 451 | phone2Label.setText("Phone 2:"); |
|---|
| 452 | |
|---|
| 453 | phone2Field.setText("jTextField19"); |
|---|
| 454 | |
|---|
| 455 | pagerLabel.setText("Pager:"); |
|---|
| 456 | |
|---|
| 457 | pagingProviderLabel.setText("Paging Provider:"); |
|---|
| 458 | |
|---|
| 459 | pagerField.setText("jTextField20"); |
|---|
| 460 | |
|---|
| 461 | pagingProviderCombo.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Item 1", "Item 2", "Item 3", "Item 4" })); |
|---|
| 462 | |
|---|
| 463 | overrideButton.setText("Override"); |
|---|
| 464 | overrideButton.setMargin(new java.awt.Insets(2, 2, 2, 2)); |
|---|
| 465 | |
|---|
| 466 | skipButton.setText("Skip"); |
|---|
| 467 | |
|---|
| 468 | assignProviderButton.setText("<html>Assign<br>Provider </html>"); |
|---|
| 469 | assignProviderButton.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER); |
|---|
| 470 | assignProviderButton.setMargin(new java.awt.Insets(2, 2, 2, 2)); |
|---|
| 471 | |
|---|
| 472 | cancelRequestButton.setText("<html>Cancel<br>Request</html>"); |
|---|
| 473 | |
|---|
| 474 | providerOnSceneButton.setText("<html>Provider On<br>Scene</html>"); |
|---|
| 475 | providerOnSceneButton.setMargin(new java.awt.Insets(2, 2, 2, 2)); |
|---|
| 476 | |
|---|
| 477 | providerCompleteButton.setText("<html>Provider<br>Complete</html>"); |
|---|
| 478 | providerCompleteButton.setMargin(new java.awt.Insets(2, 2, 2, 2)); |
|---|
| 479 | |
|---|
| 480 | javax.swing.GroupLayout rotationProviderInformationLayout = new javax.swing.GroupLayout(rotationProviderInformation); |
|---|
| 481 | rotationProviderInformation.setLayout(rotationProviderInformationLayout); |
|---|
| 482 | rotationProviderInformationLayout.setHorizontalGroup( |
|---|
| 483 | rotationProviderInformationLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
|---|
| 484 | .addGroup(rotationProviderInformationLayout.createSequentialGroup() |
|---|
| 485 | .addGap(19, 19, 19) |
|---|
| 486 | .addGroup(rotationProviderInformationLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING) |
|---|
| 487 | .addComponent(phone2Label) |
|---|
| 488 | .addComponent(phone1Label) |
|---|
| 489 | .addComponent(contactNameLabel) |
|---|
| 490 | .addComponent(companyNameLabel)) |
|---|
| 491 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) |
|---|
| 492 | .addGroup(rotationProviderInformationLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false) |
|---|
| 493 | .addComponent(companyNameField, javax.swing.GroupLayout.DEFAULT_SIZE, 190, Short.MAX_VALUE) |
|---|
| 494 | .addComponent(contactNameField) |
|---|
| 495 | .addComponent(phone1Field) |
|---|
| 496 | .addComponent(phone2Field)) |
|---|
| 497 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED) |
|---|
| 498 | .addGroup(rotationProviderInformationLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING) |
|---|
| 499 | .addComponent(pagingProviderLabel) |
|---|
| 500 | .addComponent(pagerLabel)) |
|---|
| 501 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) |
|---|
| 502 | .addGroup(rotationProviderInformationLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
|---|
| 503 | .addComponent(pagerField) |
|---|
| 504 | .addComponent(pagingProviderCombo, 0, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) |
|---|
| 505 | .addContainerGap()) |
|---|
| 506 | .addGroup(rotationProviderInformationLayout.createSequentialGroup() |
|---|
| 507 | .addGap(30, 30, 30) |
|---|
| 508 | .addComponent(overrideButton, javax.swing.GroupLayout.PREFERRED_SIZE, 80, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 509 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) |
|---|
| 510 | .addComponent(skipButton, javax.swing.GroupLayout.PREFERRED_SIZE, 80, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 511 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) |
|---|
| 512 | .addComponent(assignProviderButton, javax.swing.GroupLayout.PREFERRED_SIZE, 80, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 513 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) |
|---|
| 514 | .addComponent(cancelRequestButton, javax.swing.GroupLayout.PREFERRED_SIZE, 70, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 515 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) |
|---|
| 516 | .addComponent(providerOnSceneButton, javax.swing.GroupLayout.PREFERRED_SIZE, 80, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 517 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) |
|---|
| 518 | .addComponent(providerCompleteButton, javax.swing.GroupLayout.PREFERRED_SIZE, 80, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 519 | .addContainerGap(46, Short.MAX_VALUE)) |
|---|
| 520 | ); |
|---|
| 521 | rotationProviderInformationLayout.setVerticalGroup( |
|---|
| 522 | rotationProviderInformationLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
|---|
| 523 | .addGroup(rotationProviderInformationLayout.createSequentialGroup() |
|---|
| 524 | .addContainerGap() |
|---|
| 525 | .addGroup(rotationProviderInformationLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) |
|---|
| 526 | .addComponent(companyNameLabel) |
|---|
| 527 | .addComponent(companyNameField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 528 | .addComponent(pagerLabel) |
|---|
| 529 | .addComponent(pagerField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) |
|---|
| 530 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) |
|---|
| 531 | .addGroup(rotationProviderInformationLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) |
|---|
| 532 | .addComponent(contactNameLabel) |
|---|
| 533 | .addComponent(contactNameField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 534 | .addComponent(pagingProviderLabel) |
|---|
| 535 | .addComponent(pagingProviderCombo, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) |
|---|
| 536 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) |
|---|
| 537 | .addGroup(rotationProviderInformationLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) |
|---|
| 538 | .addComponent(phone1Label) |
|---|
| 539 | .addComponent(phone1Field, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) |
|---|
| 540 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) |
|---|
| 541 | .addGroup(rotationProviderInformationLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) |
|---|
| 542 | .addComponent(phone2Label) |
|---|
| 543 | .addComponent(phone2Field, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) |
|---|
| 544 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) |
|---|
| 545 | .addGroup(rotationProviderInformationLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
|---|
| 546 | .addComponent(skipButton, javax.swing.GroupLayout.DEFAULT_SIZE, 30, Short.MAX_VALUE) |
|---|
| 547 | .addComponent(assignProviderButton, javax.swing.GroupLayout.PREFERRED_SIZE, 0, Short.MAX_VALUE) |
|---|
| 548 | .addComponent(overrideButton, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) |
|---|
| 549 | .addComponent(cancelRequestButton, javax.swing.GroupLayout.PREFERRED_SIZE, 0, Short.MAX_VALUE) |
|---|
| 550 | .addComponent(providerOnSceneButton, javax.swing.GroupLayout.PREFERRED_SIZE, 0, Short.MAX_VALUE) |
|---|
| 551 | .addComponent(providerCompleteButton, javax.swing.GroupLayout.PREFERRED_SIZE, 0, Short.MAX_VALUE)) |
|---|
| 552 | .addContainerGap()) |
|---|
| 553 | ); |
|---|
| 554 | |
|---|
| 555 | commentsTable.setModel(new javax.swing.table.DefaultTableModel( |
|---|
| 556 | new Object [][] { |
|---|
| 557 | {null, null, null, null}, |
|---|
| 558 | {null, null, null, null}, |
|---|
| 559 | {null, null, null, null}, |
|---|
| 560 | {null, null, null, null} |
|---|
| 561 | }, |
|---|
| 562 | new String [] { |
|---|
| 563 | "Date", "Time", "Dispatcher", "Comment" |
|---|
| 564 | } |
|---|
| 565 | )); |
|---|
| 566 | commentsTableScroll.setViewportView(commentsTable); |
|---|
| 567 | |
|---|
| 568 | commentsField.setText("jTextField21"); |
|---|
| 569 | commentsFieldScroll.setViewportView(commentsField); |
|---|
| 570 | |
|---|
| 571 | addCommentButton.setText("Add Comment"); |
|---|
| 572 | addCommentButton.setMargin(new java.awt.Insets(2, 2, 2, 2)); |
|---|
| 573 | |
|---|
| 574 | saveCommentButton.setText("Save"); |
|---|
| 575 | |
|---|
| 576 | cancelCommentButton.setText("Cancel"); |
|---|
| 577 | |
|---|
| 578 | javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1); |
|---|
| 579 | jPanel1.setLayout(jPanel1Layout); |
|---|
| 580 | jPanel1Layout.setHorizontalGroup( |
|---|
| 581 | jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
|---|
| 582 | .addGroup(jPanel1Layout.createSequentialGroup() |
|---|
| 583 | .addContainerGap() |
|---|
| 584 | .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
|---|
| 585 | .addComponent(commentsTableScroll) |
|---|
| 586 | .addGroup(jPanel1Layout.createSequentialGroup() |
|---|
| 587 | .addComponent(commentsFieldScroll, javax.swing.GroupLayout.PREFERRED_SIZE, 392, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 588 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) |
|---|
| 589 | .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
|---|
| 590 | .addComponent(addCommentButton, javax.swing.GroupLayout.DEFAULT_SIZE, 102, Short.MAX_VALUE) |
|---|
| 591 | .addComponent(saveCommentButton, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) |
|---|
| 592 | .addComponent(cancelCommentButton, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)))) |
|---|
| 593 | .addContainerGap()) |
|---|
| 594 | ); |
|---|
| 595 | jPanel1Layout.setVerticalGroup( |
|---|
| 596 | jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
|---|
| 597 | .addGroup(jPanel1Layout.createSequentialGroup() |
|---|
| 598 | .addContainerGap() |
|---|
| 599 | .addComponent(commentsTableScroll, javax.swing.GroupLayout.PREFERRED_SIZE, 85, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 600 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) |
|---|
| 601 | .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
|---|
| 602 | .addComponent(commentsFieldScroll) |
|---|
| 603 | .addGroup(jPanel1Layout.createSequentialGroup() |
|---|
| 604 | .addComponent(addCommentButton) |
|---|
| 605 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) |
|---|
| 606 | .addComponent(saveCommentButton) |
|---|
| 607 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) |
|---|
| 608 | .addComponent(cancelCommentButton) |
|---|
| 609 | .addGap(0, 0, Short.MAX_VALUE))) |
|---|
| 610 | .addContainerGap()) |
|---|
| 611 | ); |
|---|
| 612 | |
|---|
| 613 | searchButton.setText("Search"); |
|---|
| 614 | |
|---|
| 615 | saveButton.setText("Save"); |
|---|
| 616 | |
|---|
| 617 | cancelButton.setText("Cancel"); |
|---|
| 618 | |
|---|
| 619 | exitButton.setText("Exit"); |
|---|
| 620 | |
|---|
| 621 | javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane()); |
|---|
| 622 | getContentPane().setLayout(layout); |
|---|
| 623 | layout.setHorizontalGroup( |
|---|
| 624 | layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
|---|
| 625 | .addComponent(jTabbedPane1) |
|---|
| 626 | .addGroup(layout.createSequentialGroup() |
|---|
| 627 | .addComponent(requestInformationPane, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 628 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) |
|---|
| 629 | .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
|---|
| 630 | .addComponent(vehicleInformationPane, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) |
|---|
| 631 | .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup() |
|---|
| 632 | .addComponent(rotationProviderInformation, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) |
|---|
| 633 | .addContainerGap()))) |
|---|
| 634 | .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup() |
|---|
| 635 | .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) |
|---|
| 636 | .addComponent(searchButton, javax.swing.GroupLayout.PREFERRED_SIZE, 80, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 637 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) |
|---|
| 638 | .addComponent(saveButton, javax.swing.GroupLayout.PREFERRED_SIZE, 80, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 639 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) |
|---|
| 640 | .addComponent(cancelButton, javax.swing.GroupLayout.PREFERRED_SIZE, 80, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 641 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) |
|---|
| 642 | .addComponent(exitButton, javax.swing.GroupLayout.PREFERRED_SIZE, 80, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 643 | .addContainerGap()) |
|---|
| 644 | .addGroup(layout.createSequentialGroup() |
|---|
| 645 | .addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 646 | .addGap(0, 0, Short.MAX_VALUE)) |
|---|
| 647 | ); |
|---|
| 648 | layout.setVerticalGroup( |
|---|
| 649 | layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
|---|
| 650 | .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup() |
|---|
| 651 | .addComponent(jTabbedPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 130, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 652 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) |
|---|
| 653 | .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false) |
|---|
| 654 | .addGroup(layout.createSequentialGroup() |
|---|
| 655 | .addComponent(vehicleInformationPane, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 656 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) |
|---|
| 657 | .addComponent(rotationProviderInformation, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) |
|---|
| 658 | .addComponent(requestInformationPane, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) |
|---|
| 659 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) |
|---|
| 660 | .addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 661 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) |
|---|
| 662 | .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) |
|---|
| 663 | .addComponent(exitButton) |
|---|
| 664 | .addComponent(cancelButton) |
|---|
| 665 | .addComponent(saveButton) |
|---|
| 666 | .addComponent(searchButton)) |
|---|
| 667 | .addGap(5, 5, 5)) |
|---|
| 668 | ); |
|---|
| 669 | |
|---|
| 670 | pack(); |
|---|
| 671 | }// </editor-fold> |
|---|
| 672 | |
|---|
| 673 | private void enteredByFieldActionPerformed(java.awt.event.ActionEvent evt) { |
|---|
| 674 | // TODO add your handling code here: |
|---|
| 675 | } |
|---|
| 676 | |
|---|
| 677 | /* |
|---|
| 678 | * Makes screen visible. |
|---|
| 679 | */ |
|---|
| 680 | public void open(){ |
|---|
| 681 | setVisible(true); |
|---|
| 682 | } |
|---|
| 683 | |
|---|
| 684 | /* |
|---|
| 685 | * Hides screen. |
|---|
| 686 | */ |
|---|
| 687 | public void close(){ |
|---|
| 688 | setVisible(false); |
|---|
| 689 | } |
|---|
| 690 | |
|---|
| 691 | // Variables declaration - do not modify |
|---|
| 692 | private javax.swing.JScrollPane activeRequestsScroll; |
|---|
| 693 | private javax.swing.JTable activeRequestsTable; |
|---|
| 694 | private javax.swing.JButton addCommentButton; |
|---|
| 695 | private javax.swing.JButton assignProviderButton; |
|---|
| 696 | private javax.swing.JButton cancelButton; |
|---|
| 697 | private javax.swing.JButton cancelCommentButton; |
|---|
| 698 | private javax.swing.JComboBox cancelDateTimeCombo; |
|---|
| 699 | private javax.swing.JLabel cancelDateTimeLabel; |
|---|
| 700 | private javax.swing.JButton cancelRequestButton; |
|---|
| 701 | private javax.swing.JTextField caseNumberField; |
|---|
| 702 | private javax.swing.JLabel caseNumberLabel; |
|---|
| 703 | private javax.swing.JTextField colorField; |
|---|
| 704 | private javax.swing.JLabel colorLabel; |
|---|
| 705 | private javax.swing.JTextField commentsField; |
|---|
| 706 | private javax.swing.JScrollPane commentsFieldScroll; |
|---|
| 707 | private javax.swing.JTable commentsTable; |
|---|
| 708 | private javax.swing.JScrollPane commentsTableScroll; |
|---|
| 709 | private javax.swing.JTextField companyNameField; |
|---|
| 710 | private javax.swing.JLabel companyNameLabel; |
|---|
| 711 | private javax.swing.JComboBox completedDateTimeCombo; |
|---|
| 712 | private javax.swing.JLabel completedDateTimeLabel; |
|---|
| 713 | private javax.swing.JTextField contactNameField; |
|---|
| 714 | private javax.swing.JLabel contactNameLabel; |
|---|
| 715 | private javax.swing.JTextField enteredByField; |
|---|
| 716 | private javax.swing.JLabel enteredByLabel; |
|---|
| 717 | private javax.swing.JComboBox enteredDateTimeCombo; |
|---|
| 718 | private javax.swing.JLabel enteredDateTimeLabel; |
|---|
| 719 | private javax.swing.JButton exitButton; |
|---|
| 720 | private javax.swing.JCheckBox holdForEvidenceCheckBox; |
|---|
| 721 | private javax.swing.JTextField incidentNumberField; |
|---|
| 722 | private javax.swing.JLabel incidentNumberLabel; |
|---|
| 723 | private javax.swing.JPanel jPanel1; |
|---|
| 724 | private javax.swing.JTabbedPane jTabbedPane1; |
|---|
| 725 | private javax.swing.JTextField licensePlateNumberField; |
|---|
| 726 | private javax.swing.JLabel licensePlateNumberLabel; |
|---|
| 727 | private javax.swing.JTextField licensePlateStateField; |
|---|
| 728 | private javax.swing.JLabel licensePlateStateLabel; |
|---|
| 729 | private javax.swing.JTextField licensePlateYearField; |
|---|
| 730 | private javax.swing.JLabel licensePlateYearLabel; |
|---|
| 731 | private javax.swing.JComboBox locationCombo; |
|---|
| 732 | private javax.swing.JLabel locationLabel; |
|---|
| 733 | private javax.swing.JTextField makeField; |
|---|
| 734 | private javax.swing.JLabel makeLabel; |
|---|
| 735 | private javax.swing.JTextField modelField; |
|---|
| 736 | private javax.swing.JLabel modelLabel; |
|---|
| 737 | private javax.swing.JComboBox onSceneDateTimeCombo; |
|---|
| 738 | private javax.swing.JLabel onSceneDateTimeLabel; |
|---|
| 739 | private javax.swing.JButton overrideButton; |
|---|
| 740 | private javax.swing.JTextField pagerField; |
|---|
| 741 | private javax.swing.JLabel pagerLabel; |
|---|
| 742 | private javax.swing.JComboBox pagingProviderCombo; |
|---|
| 743 | private javax.swing.JLabel pagingProviderLabel; |
|---|
| 744 | private javax.swing.JScrollPane pendingRequestsScroll; |
|---|
| 745 | private javax.swing.JTable pendingRequestsTable; |
|---|
| 746 | private javax.swing.JTextField phone1Field; |
|---|
| 747 | private javax.swing.JLabel phone1Label; |
|---|
| 748 | private javax.swing.JTextField phone2Field; |
|---|
| 749 | private javax.swing.JLabel phone2Label; |
|---|
| 750 | private javax.swing.JButton providerCompleteButton; |
|---|
| 751 | private javax.swing.JButton providerOnSceneButton; |
|---|
| 752 | private javax.swing.JComboBox releaseDateCombo; |
|---|
| 753 | private javax.swing.JLabel releaseDateLabel; |
|---|
| 754 | private javax.swing.JComboBox requestDateTimeCombo; |
|---|
| 755 | private javax.swing.JLabel requestDateTimeLabel; |
|---|
| 756 | private javax.swing.JPanel requestInformationPane; |
|---|
| 757 | private javax.swing.JTextField requestNumberField; |
|---|
| 758 | private javax.swing.JLabel requestNumberLabel; |
|---|
| 759 | private javax.swing.JTextField requestedByField; |
|---|
| 760 | private javax.swing.JLabel requestedByLabel; |
|---|
| 761 | private javax.swing.JComboBox rotationCategoryCombo; |
|---|
| 762 | private javax.swing.JLabel rotationCategoryLabel; |
|---|
| 763 | private javax.swing.JComboBox rotationProviderAreaCombo; |
|---|
| 764 | private javax.swing.JLabel rotationProviderAreaLabel; |
|---|
| 765 | private javax.swing.JPanel rotationProviderInformation; |
|---|
| 766 | private javax.swing.JButton saveButton; |
|---|
| 767 | private javax.swing.JButton saveCommentButton; |
|---|
| 768 | private javax.swing.JButton searchButton; |
|---|
| 769 | private javax.swing.JButton skipButton; |
|---|
| 770 | private javax.swing.JTextField styleField; |
|---|
| 771 | private javax.swing.JLabel styleLabel; |
|---|
| 772 | private javax.swing.JTextField unitField; |
|---|
| 773 | private javax.swing.JLabel unitLabel; |
|---|
| 774 | private javax.swing.JPanel vehicleInformationPane; |
|---|
| 775 | private javax.swing.JTextField vinField; |
|---|
| 776 | private javax.swing.JLabel vinLabel; |
|---|
| 777 | private javax.swing.JTextField yearField; |
|---|
| 778 | private javax.swing.JLabel yearLabel; |
|---|
| 779 | // End of variables declaration |
|---|
| 780 | } |
|---|