| 1 | package tmcsim.client.cadclientgui.screens; |
|---|
| 2 | |
|---|
| 3 | import java.awt.Color; |
|---|
| 4 | import java.awt.Dimension; |
|---|
| 5 | import java.awt.event.ActionEvent; |
|---|
| 6 | import java.awt.event.ActionListener; |
|---|
| 7 | import java.awt.event.WindowAdapter; |
|---|
| 8 | import java.awt.event.WindowEvent; |
|---|
| 9 | import java.rmi.RemoteException; |
|---|
| 10 | import java.text.DateFormat; |
|---|
| 11 | import java.text.SimpleDateFormat; |
|---|
| 12 | import java.util.Date; |
|---|
| 13 | import java.util.Stack; |
|---|
| 14 | import javax.swing.BorderFactory; |
|---|
| 15 | import javax.swing.ImageIcon; |
|---|
| 16 | import javax.swing.JButton; |
|---|
| 17 | import javax.swing.ListSelectionModel; |
|---|
| 18 | import javax.swing.event.DocumentEvent; |
|---|
| 19 | import javax.swing.event.DocumentListener; |
|---|
| 20 | import javax.swing.table.DefaultTableModel; |
|---|
| 21 | import tmcsim.client.cadclientgui.enums.CADDataEnums.INC_ADD_INFO; |
|---|
| 22 | import tmcsim.client.cadclientgui.enums.CADDataEnums.INC_CALLBACK; |
|---|
| 23 | import tmcsim.client.cadclientgui.enums.CADDataEnums.INC_CALLER; |
|---|
| 24 | import tmcsim.client.cadclientgui.enums.CADDataEnums.INC_GEN_INFO; |
|---|
| 25 | import tmcsim.client.cadclientgui.enums.CADDataEnums.INC_INFO; |
|---|
| 26 | import tmcsim.client.cadclientgui.enums.CADDataEnums.INC_LOC; |
|---|
| 27 | import tmcsim.client.cadclientgui.enums.CADDataEnums.INC_TABLE; |
|---|
| 28 | import tmcsim.client.cadclientgui.enums.CADDataEnums.INC_TIMES; |
|---|
| 29 | import tmcsim.client.cadclientgui.enums.CADDataEnums.INC_VAL; |
|---|
| 30 | import tmcsim.client.cadclientgui.enums.ComboBoxConstants; |
|---|
| 31 | import tmcsim.simulationmanager.model.LogEntryCellRenderer; |
|---|
| 32 | |
|---|
| 33 | /** |
|---|
| 34 | * This class contains the view and controller for the IncidentViewer screen. |
|---|
| 35 | * The view is built using a GUI builder plug-in, and the controller uses |
|---|
| 36 | * listeners to control how the view and data act. |
|---|
| 37 | * |
|---|
| 38 | * @author Stuart |
|---|
| 39 | */ |
|---|
| 40 | public class IncidentViewer extends javax.swing.JFrame |
|---|
| 41 | { |
|---|
| 42 | Stack<Integer> stack; |
|---|
| 43 | SimpleDateFormat dateFormatDate; |
|---|
| 44 | SimpleDateFormat dateFormatTime; |
|---|
| 45 | int incidentId; |
|---|
| 46 | |
|---|
| 47 | /** |
|---|
| 48 | * Creates new form IncidentViewer |
|---|
| 49 | */ |
|---|
| 50 | public IncidentViewer(int incidentId) |
|---|
| 51 | { |
|---|
| 52 | this.incidentId = incidentId; |
|---|
| 53 | declareComponents(); |
|---|
| 54 | initLayout(); |
|---|
| 55 | initControllers(); |
|---|
| 56 | } |
|---|
| 57 | |
|---|
| 58 | /** |
|---|
| 59 | * This method is called from within the constructor to initialize the form. |
|---|
| 60 | * WARNING: Do NOT modify this code. The content of this method is always |
|---|
| 61 | * regenerated by the Form Editor. |
|---|
| 62 | */ |
|---|
| 63 | @SuppressWarnings("unchecked") |
|---|
| 64 | // <editor-fold defaultstate="collapsed" desc="Generated Code"> |
|---|
| 65 | private void declareComponents() |
|---|
| 66 | { |
|---|
| 67 | |
|---|
| 68 | stack = new Stack<Integer>(); |
|---|
| 69 | dateFormatDate = new SimpleDateFormat("MM/dd/yyyy"); |
|---|
| 70 | dateFormatTime = new SimpleDateFormat("HH:mm:ss"); |
|---|
| 71 | |
|---|
| 72 | mapLocLabel = new javax.swing.JLabel(); |
|---|
| 73 | addressField = new javax.swing.JTextField(); |
|---|
| 74 | aptLabel = new javax.swing.JLabel(); |
|---|
| 75 | aptField = new javax.swing.JTextField(4); |
|---|
| 76 | crossStLabel = new javax.swing.JLabel(); |
|---|
| 77 | crossStField = new javax.swing.JTextField(); |
|---|
| 78 | locationLabel = new javax.swing.JLabel(); |
|---|
| 79 | locationField = new javax.swing.JTextField(); |
|---|
| 80 | cityLabel = new javax.swing.JLabel(); |
|---|
| 81 | cityComboBox = new javax.swing.JComboBox(); |
|---|
| 82 | countyLabel = new javax.swing.JLabel(); |
|---|
| 83 | countyComboBox = new javax.swing.JComboBox(); |
|---|
| 84 | agencyLabel = new javax.swing.JLabel(); |
|---|
| 85 | agencyComboBox = new javax.swing.JComboBox(); |
|---|
| 86 | typeCodeLabel = new javax.swing.JLabel(); |
|---|
| 87 | typeCodeComboBox = new javax.swing.JComboBox(); |
|---|
| 88 | priLabel = new javax.swing.JLabel(); |
|---|
| 89 | priComboBox = new javax.swing.JComboBox(); |
|---|
| 90 | priComboBox.setPreferredSize(new Dimension(50, 25)); |
|---|
| 91 | rightOfPriButton = new javax.swing.JButton(); |
|---|
| 92 | rpLabel = new javax.swing.JLabel(); |
|---|
| 93 | rpField = new javax.swing.JTextField(); |
|---|
| 94 | phoneLabel = new javax.swing.JLabel(); |
|---|
| 95 | phoneField = new javax.swing.JTextField(); |
|---|
| 96 | extLabel = new javax.swing.JLabel(); |
|---|
| 97 | extField = new javax.swing.JTextField(3); |
|---|
| 98 | aliLabel = new javax.swing.JLabel(); |
|---|
| 99 | aliField = new javax.swing.JTextField(); |
|---|
| 100 | rpTypeLabel = new javax.swing.JLabel(); |
|---|
| 101 | rpTypeComboBox = new javax.swing.JComboBox(); |
|---|
| 102 | sectorComboBox = new javax.swing.JComboBox(); |
|---|
| 103 | sectorLabel = new javax.swing.JLabel(); |
|---|
| 104 | beatLabel = new javax.swing.JLabel(); |
|---|
| 105 | beatComboBox = new javax.swing.JComboBox(); |
|---|
| 106 | mediaComboBox = new javax.swing.JComboBox(); |
|---|
| 107 | mediaLabel = new javax.swing.JLabel(); |
|---|
| 108 | confidentialCommentCheckBox = new javax.swing.JCheckBox(); |
|---|
| 109 | jScrollPane2 = new javax.swing.JScrollPane(); |
|---|
| 110 | jLabel8 = new javax.swing.JLabel(); |
|---|
| 111 | hubXterButton = new javax.swing.JButton(); |
|---|
| 112 | aniAliButton = new javax.swing.JButton(); |
|---|
| 113 | updateMapLocButton = new javax.swing.JButton(); |
|---|
| 114 | exitSendButton = new javax.swing.JButton(); |
|---|
| 115 | sentToQButton = new javax.swing.JButton(); |
|---|
| 116 | fileButton = new javax.swing.JButton(); |
|---|
| 117 | showAllButton = new javax.swing.JButton(); |
|---|
| 118 | unitRecButton = new javax.swing.JButton(); |
|---|
| 119 | addFspChpButton = new javax.swing.JButton(); |
|---|
| 120 | informationButton = new javax.swing.JButton(); |
|---|
| 121 | carButton = new javax.swing.JButton(); |
|---|
| 122 | personButton = new javax.swing.JButton(); |
|---|
| 123 | towRotationButton = new javax.swing.JButton(); |
|---|
| 124 | licensePlateInfoLabel = new javax.swing.JLabel(); |
|---|
| 125 | jScrollPane13 = new javax.swing.JScrollPane(); |
|---|
| 126 | licensePlateTable = new javax.swing.JTable(); |
|---|
| 127 | addButton = new javax.swing.JButton(); |
|---|
| 128 | cautionButton = new javax.swing.JButton(); |
|---|
| 129 | historyButton = new javax.swing.JButton(); |
|---|
| 130 | premiseButton = new javax.swing.JButton(); |
|---|
| 131 | mapButton = new javax.swing.JButton(); |
|---|
| 132 | fireField = new javax.swing.JTextField(); |
|---|
| 133 | emsLabel = new javax.swing.JLabel(); |
|---|
| 134 | emsField = new javax.swing.JTextField(); |
|---|
| 135 | fireLabel = new javax.swing.JLabel(); |
|---|
| 136 | lawLabel = new javax.swing.JLabel(); |
|---|
| 137 | lawField = new javax.swing.JTextField(); |
|---|
| 138 | bottomTabbedPane = new javax.swing.JTabbedPane(); |
|---|
| 139 | callbacksPane = new javax.swing.JPanel(); |
|---|
| 140 | jPanel13 = new javax.swing.JPanel(); |
|---|
| 141 | callBackCommentField = new javax.swing.JTextField(); |
|---|
| 142 | callBackAddButton = new javax.swing.JButton(); |
|---|
| 143 | callBackCancelButton = new javax.swing.JButton(); |
|---|
| 144 | callBackSaveButton = new javax.swing.JButton(); |
|---|
| 145 | jScrollPane14 = new javax.swing.JScrollPane(); |
|---|
| 146 | callBackCommentTable = new javax.swing.JTable(); |
|---|
| 147 | assignmentsPane = new javax.swing.JPanel(); |
|---|
| 148 | jPanel4 = new javax.swing.JPanel(); |
|---|
| 149 | jScrollPane1 = new javax.swing.JScrollPane(); |
|---|
| 150 | jScrollPane4 = new javax.swing.JScrollPane(); |
|---|
| 151 | assignmentsTable = new javax.swing.JTable(); |
|---|
| 152 | jPanel2 = new javax.swing.JPanel(); |
|---|
| 153 | jScrollPane7 = new javax.swing.JScrollPane(); |
|---|
| 154 | jScrollPane5 = new javax.swing.JScrollPane(); |
|---|
| 155 | resourceTable = new javax.swing.JTable(); |
|---|
| 156 | recommandButton = new javax.swing.JButton(); |
|---|
| 157 | activitiesPane = new javax.swing.JPanel(); |
|---|
| 158 | jScrollPane15 = new javax.swing.JScrollPane(); |
|---|
| 159 | jScrollPane6 = new javax.swing.JScrollPane(); |
|---|
| 160 | activitiesTable = new javax.swing.JTable(); |
|---|
| 161 | callBacksPane = new javax.swing.JPanel(); |
|---|
| 162 | jPanel1 = new javax.swing.JPanel(); |
|---|
| 163 | incidentNumLabel = new javax.swing.JLabel(); |
|---|
| 164 | addInfoIncidentNumField = new javax.swing.JTextField(); |
|---|
| 165 | incidentTypeLabel = new javax.swing.JLabel(); |
|---|
| 166 | addInfoIncidentTypeField = new javax.swing.JTextField(); |
|---|
| 167 | callTakenLabel = new javax.swing.JLabel(); |
|---|
| 168 | addInfoCallTakenField = new javax.swing.JTextField(); |
|---|
| 169 | machineNameLabel = new javax.swing.JLabel(); |
|---|
| 170 | addInfoMachineNameField = new javax.swing.JTextField(); |
|---|
| 171 | callTakerPhoneLabel = new javax.swing.JLabel(); |
|---|
| 172 | addInfoCallTakerPhoneExtField = new javax.swing.JTextField(); |
|---|
| 173 | callStatusLabel = new javax.swing.JLabel(); |
|---|
| 174 | addInfoCallStatusField = new javax.swing.JTextField(); |
|---|
| 175 | alarmLevelLabel = new javax.swing.JLabel(); |
|---|
| 176 | addInfoAlarmLevelField = new javax.swing.JTextField(); |
|---|
| 177 | ccJurisdictionLabel = new javax.swing.JLabel(); |
|---|
| 178 | areaOfDivisionLabel = new javax.swing.JLabel(); |
|---|
| 179 | addInfoCCJurisdictionComboBox = new javax.swing.JComboBox(); |
|---|
| 180 | addInfoAreaOfDivisionComboBox = new javax.swing.JComboBox(); |
|---|
| 181 | areaBatallionLabel = new javax.swing.JLabel(); |
|---|
| 182 | addInfoAreaBatallionComboBox = new javax.swing.JComboBox(); |
|---|
| 183 | beatResponseAreaLabel = new javax.swing.JLabel(); |
|---|
| 184 | addInfoBeatResponseAreaComboBox = new javax.swing.JComboBox(); |
|---|
| 185 | responsePlanLabel = new javax.swing.JLabel(); |
|---|
| 186 | addInfoReponsePlanComboBox = new javax.swing.JComboBox(); |
|---|
| 187 | rotationProviderAreaLabel = new javax.swing.JLabel(); |
|---|
| 188 | addInfoRotationProviderAreaField = new javax.swing.JTextField(); |
|---|
| 189 | addInfoCommentsField = new javax.swing.JTextField(); |
|---|
| 190 | commentsNotesPane = new javax.swing.JPanel(); |
|---|
| 191 | jScrollPane3 = new javax.swing.JScrollPane(); |
|---|
| 192 | commentsNotesTable = new javax.swing.JTable(); |
|---|
| 193 | commentsNotesAddButton = new javax.swing.JButton(); |
|---|
| 194 | commentsNotesCancelButton = new javax.swing.JButton(); |
|---|
| 195 | commentsNotesNotifyButton = new javax.swing.JButton(); |
|---|
| 196 | commentsNotesSaveButton = new javax.swing.JButton(); |
|---|
| 197 | commentsNotesField = new javax.swing.JTextArea(); // JD changed from TextField |
|---|
| 198 | commentsNotesConfidentialCommentCheckBox = new javax.swing.JCheckBox(); |
|---|
| 199 | editLogPane = new javax.swing.JPanel(); |
|---|
| 200 | jScrollPane8 = new javax.swing.JScrollPane(); |
|---|
| 201 | editLogTable = new javax.swing.JTable(); |
|---|
| 202 | timesPane = new javax.swing.JPanel(); |
|---|
| 203 | jScrollPane9 = new javax.swing.JScrollPane(); |
|---|
| 204 | timesTable = new javax.swing.JTable(); |
|---|
| 205 | ringLabel = new javax.swing.JLabel(); |
|---|
| 206 | timesRingField = new javax.swing.JTextField(); |
|---|
| 207 | inQueueLabel = new javax.swing.JLabel(); |
|---|
| 208 | timesInQueueField = new javax.swing.JTextField(); |
|---|
| 209 | allAvailableLabel = new javax.swing.JLabel(); |
|---|
| 210 | timesAllAvailableField = new javax.swing.JTextField(); |
|---|
| 211 | callClosedLabel = new javax.swing.JLabel(); |
|---|
| 212 | timesCallClosedField = new javax.swing.JTextField(); |
|---|
| 213 | timesPageTimesButton = new javax.swing.JButton(); |
|---|
| 214 | transportInfoPane = new javax.swing.JPanel(); |
|---|
| 215 | jPanel6 = new javax.swing.JPanel(); |
|---|
| 216 | jTextField27 = new javax.swing.JTextField(); |
|---|
| 217 | transportInfoAddPresetTransportRecButton = new javax.swing.JButton(); |
|---|
| 218 | transportInfoRemoveTransportRecButton = new javax.swing.JButton(); |
|---|
| 219 | transportInfoLinkUnitToTransportRecButton = new javax.swing.JButton(); |
|---|
| 220 | nameLabel = new javax.swing.JLabel(); |
|---|
| 221 | transportCityLabel = new javax.swing.JLabel(); |
|---|
| 222 | transportLocationLabel = new javax.swing.JLabel(); |
|---|
| 223 | transportInfoAddressButton = new javax.swing.JButton(); |
|---|
| 224 | transportInfoNameField = new javax.swing.JTextField(); |
|---|
| 225 | transportInfoCityComboBox = new javax.swing.JComboBox(); |
|---|
| 226 | transportInfoLocationField = new javax.swing.JTextField(); |
|---|
| 227 | transportInfoAddressField = new javax.swing.JTextField(); |
|---|
| 228 | transportStateLabel = new javax.swing.JLabel(); |
|---|
| 229 | roomAptEtcLabel = new javax.swing.JLabel(); |
|---|
| 230 | phoneLabel2 = new javax.swing.JLabel(); |
|---|
| 231 | transportInfoStateField = new javax.swing.JTextField(); |
|---|
| 232 | transportInfoRoomAptEtcField = new javax.swing.JTextField(); |
|---|
| 233 | transportInfoPhoneField = new javax.swing.JTextField(); |
|---|
| 234 | buildingNumLabel = new javax.swing.JLabel(); |
|---|
| 235 | transportInfoBuildingField = new javax.swing.JTextField(); |
|---|
| 236 | transportInfoState2Field = new javax.swing.JTextField(); |
|---|
| 237 | transportInfoCancelButton = new javax.swing.JButton(); |
|---|
| 238 | transportInfoSaveButton = new javax.swing.JButton(); |
|---|
| 239 | jTabbedPane2 = new javax.swing.JTabbedPane(); |
|---|
| 240 | jPanel7 = new javax.swing.JPanel(); |
|---|
| 241 | transportProtocolLabel = new javax.swing.JLabel(); |
|---|
| 242 | transportInfoProtocolComboBox = new javax.swing.JComboBox(); |
|---|
| 243 | transportPriorityLabel = new javax.swing.JLabel(); |
|---|
| 244 | transportInfoPriorityComboBox = new javax.swing.JComboBox(); |
|---|
| 245 | assistedByLabel = new javax.swing.JLabel(); |
|---|
| 246 | transportInfoAssistedByComboBox = new javax.swing.JComboBox(); |
|---|
| 247 | jPanel8 = new javax.swing.JPanel(); |
|---|
| 248 | jPanel9 = new javax.swing.JPanel(); |
|---|
| 249 | jPanel10 = new javax.swing.JPanel(); |
|---|
| 250 | userDataPane = new javax.swing.JPanel(); |
|---|
| 251 | jPanel11 = new javax.swing.JPanel(); |
|---|
| 252 | timeStampsLabel = new javax.swing.JLabel(); |
|---|
| 253 | jScrollPane10 = new javax.swing.JScrollPane(); |
|---|
| 254 | timeStampsTable = new javax.swing.JTable(); |
|---|
| 255 | userDataTimeStampField = new javax.swing.JTextField(); |
|---|
| 256 | dateLabel = new javax.swing.JLabel(); |
|---|
| 257 | userDataDateField = new javax.swing.JTextField(); |
|---|
| 258 | timeLabel = new javax.swing.JLabel(); |
|---|
| 259 | userDataTimeField = new javax.swing.JTextField(); |
|---|
| 260 | userDataStampButton = new javax.swing.JButton(); |
|---|
| 261 | jScrollPane11 = new javax.swing.JScrollPane(); |
|---|
| 262 | dataFieldsTable = new javax.swing.JTable(); |
|---|
| 263 | dataFieldsLabel = new javax.swing.JLabel(); |
|---|
| 264 | userDataCancelButton = new javax.swing.JButton(); |
|---|
| 265 | userDataSaveButton = new javax.swing.JButton(); |
|---|
| 266 | userDataDataField = new javax.swing.JTextField(); |
|---|
| 267 | attachmentsPane = new javax.swing.JPanel(); |
|---|
| 268 | jScrollPane12 = new javax.swing.JScrollPane(); |
|---|
| 269 | attachmentsTable = new javax.swing.JTable(); |
|---|
| 270 | fileNameLabel = new javax.swing.JLabel(); |
|---|
| 271 | attachmentsFileNameField = new javax.swing.JTextField(); |
|---|
| 272 | attachmentsBrowseButton = new javax.swing.JButton(); |
|---|
| 273 | descriptionLabel = new javax.swing.JLabel(); |
|---|
| 274 | attachmentsDescriptionField = new javax.swing.JTextField(); |
|---|
| 275 | attachmentsAddButton = new javax.swing.JButton(); |
|---|
| 276 | attachmentsDeleteButton = new javax.swing.JButton(); |
|---|
| 277 | attachmentsCancelButton = new javax.swing.JButton(); |
|---|
| 278 | attachmentsSaveButton = new javax.swing.JButton(); |
|---|
| 279 | } |
|---|
| 280 | |
|---|
| 281 | public void initWindowListener() |
|---|
| 282 | { |
|---|
| 283 | addWindowListener(new WindowAdapter() |
|---|
| 284 | { |
|---|
| 285 | public void windowClosing(WindowEvent e) |
|---|
| 286 | { |
|---|
| 287 | close(); |
|---|
| 288 | } |
|---|
| 289 | }); |
|---|
| 290 | } |
|---|
| 291 | |
|---|
| 292 | public ActionListener newExitSendActionListener() |
|---|
| 293 | { |
|---|
| 294 | return new ActionListener() |
|---|
| 295 | { |
|---|
| 296 | public void actionPerformed(ActionEvent arg0) |
|---|
| 297 | { |
|---|
| 298 | close(); |
|---|
| 299 | } |
|---|
| 300 | }; |
|---|
| 301 | } |
|---|
| 302 | |
|---|
| 303 | public DocumentListener newCommentsDocumentListener() |
|---|
| 304 | { |
|---|
| 305 | return new DocumentListener() |
|---|
| 306 | { |
|---|
| 307 | public void changedUpdate(DocumentEvent e) |
|---|
| 308 | { |
|---|
| 309 | } |
|---|
| 310 | |
|---|
| 311 | public void insertUpdate(DocumentEvent e) |
|---|
| 312 | { |
|---|
| 313 | commentsNotesSaveButton.setEnabled(true); |
|---|
| 314 | } |
|---|
| 315 | |
|---|
| 316 | public void removeUpdate(DocumentEvent e) |
|---|
| 317 | { |
|---|
| 318 | } |
|---|
| 319 | }; |
|---|
| 320 | } |
|---|
| 321 | |
|---|
| 322 | public ActionListener newCommentsAddListener() |
|---|
| 323 | { |
|---|
| 324 | return new ActionListener() |
|---|
| 325 | { |
|---|
| 326 | public void actionPerformed(ActionEvent arg0) |
|---|
| 327 | { |
|---|
| 328 | commentsNotesField.setEditable(true); |
|---|
| 329 | commentsNotesField.setBackground(java.awt.Color.white); |
|---|
| 330 | |
|---|
| 331 | commentsNotesField.requestFocus(); |
|---|
| 332 | commentsNotesAddButton.setEnabled(false); |
|---|
| 333 | commentsNotesCancelButton.setEnabled(true); |
|---|
| 334 | } |
|---|
| 335 | }; |
|---|
| 336 | } |
|---|
| 337 | |
|---|
| 338 | public ActionListener newCommentsCancelListener() |
|---|
| 339 | { |
|---|
| 340 | return new ActionListener() |
|---|
| 341 | { |
|---|
| 342 | public void actionPerformed(ActionEvent arg0) |
|---|
| 343 | { |
|---|
| 344 | commentsNotesField.setText(""); |
|---|
| 345 | commentsNotesField.setEditable(false); |
|---|
| 346 | commentsNotesField.setBackground(java.awt.Color.LIGHT_GRAY);//JD |
|---|
| 347 | commentsNotesAddButton.setEnabled(true); |
|---|
| 348 | commentsNotesCancelButton.setEnabled(false); |
|---|
| 349 | commentsNotesSaveButton.setEnabled(false); |
|---|
| 350 | } |
|---|
| 351 | }; |
|---|
| 352 | } |
|---|
| 353 | |
|---|
| 354 | public ActionListener newCommentsSaveListener() |
|---|
| 355 | { |
|---|
| 356 | return new ActionListener() |
|---|
| 357 | { |
|---|
| 358 | public void actionPerformed(ActionEvent arg0) |
|---|
| 359 | { |
|---|
| 360 | DateFormat dateFormat = new SimpleDateFormat("MM/dd/yyyy"); |
|---|
| 361 | DateFormat timeFormat = new SimpleDateFormat("HH:mm:ss"); |
|---|
| 362 | String[] fields = |
|---|
| 363 | { |
|---|
| 364 | dateFormat.format(new Date()), |
|---|
| 365 | timeFormat.format(new Date()), |
|---|
| 366 | ScreenManager.getUserName(), // Put username in "Initials" column |
|---|
| 367 | "", // "Block" is left blank for now |
|---|
| 368 | commentsNotesField.getText().toUpperCase() // JD |
|---|
| 369 | }; |
|---|
| 370 | try |
|---|
| 371 | { |
|---|
| 372 | ScreenManager.theCoordinator.addCadDataIncidentTable( |
|---|
| 373 | INC_TABLE.COMMENTS_NOTES, incidentId, fields); |
|---|
| 374 | ((DefaultTableModel) commentsNotesTable.getModel()).insertRow(0, fields);//JD |
|---|
| 375 | //((DefaultTableModel) commentsNotesTable.getModel()).addRow(fields); |
|---|
| 376 | } catch (RemoteException e) |
|---|
| 377 | { |
|---|
| 378 | e.printStackTrace(); |
|---|
| 379 | } |
|---|
| 380 | |
|---|
| 381 | commentsNotesField.setText(""); |
|---|
| 382 | commentsNotesField.setEditable(false); |
|---|
| 383 | commentsNotesField.setBackground(java.awt.Color.LIGHT_GRAY); |
|---|
| 384 | commentsNotesAddButton.setEnabled(true); |
|---|
| 385 | commentsNotesCancelButton.setEnabled(false); |
|---|
| 386 | commentsNotesSaveButton.setEnabled(false); |
|---|
| 387 | } |
|---|
| 388 | }; |
|---|
| 389 | } |
|---|
| 390 | |
|---|
| 391 | // JD Add a mouselistener to the comments table to display a single cell |
|---|
| 392 | // contents in a popup |
|---|
| 393 | // public MouseListener newCommentsTableCellListener() |
|---|
| 394 | // { |
|---|
| 395 | // return new MouseListener() |
|---|
| 396 | // { |
|---|
| 397 | // public void mousePressed(MouseEvent event) |
|---|
| 398 | // { |
|---|
| 399 | // } |
|---|
| 400 | // |
|---|
| 401 | // public void mouseReleased(MouseEvent event) |
|---|
| 402 | // { |
|---|
| 403 | // } |
|---|
| 404 | // |
|---|
| 405 | // public void mouseEntered(MouseEvent event) |
|---|
| 406 | // { |
|---|
| 407 | // } |
|---|
| 408 | // |
|---|
| 409 | // public void mouseExited(MouseEvent event) |
|---|
| 410 | // { |
|---|
| 411 | // } |
|---|
| 412 | // |
|---|
| 413 | // public void mouseClicked(MouseEvent event) |
|---|
| 414 | // { |
|---|
| 415 | // Point point = event.getPoint(); |
|---|
| 416 | // int row, column; |
|---|
| 417 | // row = commentsNotesTable.rowAtPoint(point); |
|---|
| 418 | // column = commentsNotesTable.columnAtPoint(point); |
|---|
| 419 | // // See if the click was in column 4 (the comment column) |
|---|
| 420 | // if (column == 4) |
|---|
| 421 | // { |
|---|
| 422 | // JOptionPane.showMessageDialog(null, getWrappedText((String) commentsNotesTable.getValueAt(row, column)), |
|---|
| 423 | // "Comment/Note Text", JOptionPane.INFORMATION_MESSAGE); |
|---|
| 424 | // } |
|---|
| 425 | // |
|---|
| 426 | // } |
|---|
| 427 | // }; |
|---|
| 428 | // } |
|---|
| 429 | private void initControllers() |
|---|
| 430 | { |
|---|
| 431 | initWindowListener(); |
|---|
| 432 | |
|---|
| 433 | exitSendButton.addActionListener(newExitSendActionListener()); |
|---|
| 434 | |
|---|
| 435 | commentsNotesField.getDocument().addDocumentListener(newCommentsDocumentListener()); |
|---|
| 436 | commentsNotesAddButton.addActionListener(newCommentsAddListener()); |
|---|
| 437 | commentsNotesCancelButton.addActionListener(newCommentsCancelListener()); |
|---|
| 438 | commentsNotesSaveButton.addActionListener(newCommentsSaveListener()); |
|---|
| 439 | //commentsNotesTable.addMouseListener(newCommentsTableCellListener()); //JD |
|---|
| 440 | } |
|---|
| 441 | |
|---|
| 442 | /** |
|---|
| 443 | * A custom renderer that sets a tool tip with the wrapped comment. JD |
|---|
| 444 | */ |
|---|
| 445 | // Obsolete JD |
|---|
| 446 | // class LineWrapRenderer extends DefaultTableCellRenderer |
|---|
| 447 | // { |
|---|
| 448 | // public final static int kSegmentsize = 60; |
|---|
| 449 | // |
|---|
| 450 | // protected void setValue(Object value) |
|---|
| 451 | // { |
|---|
| 452 | // String comment = (String) value; |
|---|
| 453 | // setText(comment); |
|---|
| 454 | // // Wrap long comments in a tooltip |
|---|
| 455 | // setToolTipText(getWrappedText(comment)); |
|---|
| 456 | // } |
|---|
| 457 | // } |
|---|
| 458 | // |
|---|
| 459 | // private String getWrappedText(String stringToWrap) |
|---|
| 460 | // { |
|---|
| 461 | // int limit = stringToWrap.length() / LineWrapRenderer.kSegmentsize; |
|---|
| 462 | // StringBuilder toolTip = new StringBuilder("<html>"); |
|---|
| 463 | // for (int jumper = 0; jumper <= limit; jumper++) |
|---|
| 464 | // { |
|---|
| 465 | // toolTip.append(stringToWrap.substring(jumper * LineWrapRenderer.kSegmentsize, Math.min((jumper + 1) * LineWrapRenderer.kSegmentsize, stringToWrap.length()))); |
|---|
| 466 | // toolTip.append("<br>"); // Use html break to cause a line break |
|---|
| 467 | // } |
|---|
| 468 | // toolTip.append("</html>"); |
|---|
| 469 | // return toolTip.toString(); |
|---|
| 470 | // } |
|---|
| 471 | private void initLayout() |
|---|
| 472 | { |
|---|
| 473 | setDefaultCloseOperation(javax.swing.WindowConstants.HIDE_ON_CLOSE); |
|---|
| 474 | |
|---|
| 475 | cityComboBox.setModel(new javax.swing.DefaultComboBoxModel(ComboBoxConstants.LIST_OF_CA_CITIES)); |
|---|
| 476 | |
|---|
| 477 | mapLocLabel.setFont(new java.awt.Font("Tahoma", 1, 11)); // NOI18N |
|---|
| 478 | mapLocLabel.setText("Map Loc:"); |
|---|
| 479 | |
|---|
| 480 | aptLabel.setText("Apt:"); |
|---|
| 481 | |
|---|
| 482 | crossStLabel.setText("Cross St:"); |
|---|
| 483 | |
|---|
| 484 | addressField.setBackground(Color.CYAN); |
|---|
| 485 | locationField.setBackground(Color.CYAN); |
|---|
| 486 | |
|---|
| 487 | locationLabel.setText("Location:"); |
|---|
| 488 | |
|---|
| 489 | cityLabel.setText("City:"); |
|---|
| 490 | |
|---|
| 491 | countyLabel.setText("County:"); |
|---|
| 492 | |
|---|
| 493 | countyComboBox.setModel(new javax.swing.DefaultComboBoxModel(new String[] |
|---|
| 494 | { |
|---|
| 495 | "Item 1", "Item 2", "Item 3", "Item 4" |
|---|
| 496 | })); |
|---|
| 497 | |
|---|
| 498 | agencyLabel.setFont(new java.awt.Font("Tahoma", 1, 11)); // NOI18N |
|---|
| 499 | agencyLabel.setText("Agency:"); |
|---|
| 500 | |
|---|
| 501 | agencyComboBox.setModel(new javax.swing.DefaultComboBoxModel(ComboBoxConstants.AGENCY)); |
|---|
| 502 | agencyComboBox.setBackground(Color.CYAN); |
|---|
| 503 | agencyComboBox.setEnabled(false); |
|---|
| 504 | |
|---|
| 505 | typeCodeLabel.setFont(new java.awt.Font("Tahoma", 1, 11)); // NOI18N |
|---|
| 506 | typeCodeLabel.setText("Type Code:"); |
|---|
| 507 | |
|---|
| 508 | typeCodeComboBox.setModel(new javax.swing.DefaultComboBoxModel(ComboBoxConstants.TYPE)); |
|---|
| 509 | typeCodeComboBox.setBackground(Color.CYAN); |
|---|
| 510 | |
|---|
| 511 | priLabel.setFont(new java.awt.Font("Tahoma", 1, 11)); // NOI18N |
|---|
| 512 | priLabel.setText("Pri:"); |
|---|
| 513 | |
|---|
| 514 | priComboBox.setModel(new javax.swing.DefaultComboBoxModel(ComboBoxConstants.PRI)); |
|---|
| 515 | priComboBox.setBackground(Color.CYAN); |
|---|
| 516 | |
|---|
| 517 | rightOfPriButton.setText("rightOfPriButton"); |
|---|
| 518 | rightOfPriButton.setEnabled(false); |
|---|
| 519 | |
|---|
| 520 | rpLabel.setText("RP:"); |
|---|
| 521 | |
|---|
| 522 | rpField.setBackground(Color.CYAN); |
|---|
| 523 | |
|---|
| 524 | phoneLabel.setText("Phone:"); |
|---|
| 525 | |
|---|
| 526 | phoneField.setBackground(Color.CYAN); |
|---|
| 527 | |
|---|
| 528 | extLabel.setText("Ext:"); |
|---|
| 529 | |
|---|
| 530 | aliLabel.setText("ALI:"); |
|---|
| 531 | |
|---|
| 532 | rpTypeLabel.setText("RP Type:"); |
|---|
| 533 | |
|---|
| 534 | rpTypeComboBox.setModel(new javax.swing.DefaultComboBoxModel(new String[] |
|---|
| 535 | { |
|---|
| 536 | "Item 1", "Item 2", "Item 3", "Item 4" |
|---|
| 537 | })); |
|---|
| 538 | |
|---|
| 539 | sectorComboBox.setModel(new javax.swing.DefaultComboBoxModel(new String[] |
|---|
| 540 | { |
|---|
| 541 | "Item 1", "Item 2", "Item 3", "Item 4" |
|---|
| 542 | })); |
|---|
| 543 | sectorComboBox.setBackground(Color.CYAN); |
|---|
| 544 | |
|---|
| 545 | sectorLabel.setText("Sector:"); |
|---|
| 546 | |
|---|
| 547 | beatLabel.setText("Beat:"); |
|---|
| 548 | |
|---|
| 549 | beatComboBox.setModel(new javax.swing.DefaultComboBoxModel(ComboBoxConstants.BEATS)); |
|---|
| 550 | beatComboBox.setBackground(Color.YELLOW); |
|---|
| 551 | mediaComboBox.setModel(new javax.swing.DefaultComboBoxModel(ComboBoxConstants.MEDIA)); |
|---|
| 552 | mediaComboBox.setBackground(Color.YELLOW); |
|---|
| 553 | mediaComboBox.setEnabled(false); |
|---|
| 554 | |
|---|
| 555 | mediaLabel.setText("MEDIA:"); |
|---|
| 556 | |
|---|
| 557 | confidentialCommentCheckBox.setText("Confidential Comment"); |
|---|
| 558 | confidentialCommentCheckBox.setEnabled(false); |
|---|
| 559 | |
|---|
| 560 | jLabel8.setText("Comments:"); |
|---|
| 561 | |
|---|
| 562 | hubXterButton.setText("Hub Xter"); |
|---|
| 563 | hubXterButton.setMargin(new java.awt.Insets(3, 3, 3, 3)); |
|---|
| 564 | hubXterButton.setEnabled(false); |
|---|
| 565 | |
|---|
| 566 | aniAliButton.setText("ANI/ALI"); |
|---|
| 567 | aniAliButton.setMargin(new java.awt.Insets(3, 3, 3, 3)); |
|---|
| 568 | aniAliButton.setEnabled(false); |
|---|
| 569 | |
|---|
| 570 | updateMapLocButton.setText("<html>\nUpdate\n<p>Map Loc</p>\n</html>"); |
|---|
| 571 | updateMapLocButton.setActionCommand("<html> Update <p>Map Loc</p> </html>"); |
|---|
| 572 | updateMapLocButton.setMargin(new java.awt.Insets(3, 3, 3, 3)); |
|---|
| 573 | updateMapLocButton.setEnabled(false); |
|---|
| 574 | |
|---|
| 575 | exitSendButton.setFont(new java.awt.Font("Tahoma", 1, 12)); // NOI18N |
|---|
| 576 | exitSendButton.setText("Exit / Send"); |
|---|
| 577 | |
|---|
| 578 | sentToQButton.setFont(new java.awt.Font("Tahoma", 0, 10)); // NOI18N |
|---|
| 579 | sentToQButton.setText("Send to Q"); |
|---|
| 580 | sentToQButton.setMargin(new java.awt.Insets(2, 2, 2, 2)); |
|---|
| 581 | sentToQButton.setEnabled(false); |
|---|
| 582 | |
|---|
| 583 | fileButton.setText("File"); |
|---|
| 584 | fileButton.setEnabled(false); |
|---|
| 585 | |
|---|
| 586 | showAllButton.setLabel("Show All"); |
|---|
| 587 | showAllButton.setMargin(new java.awt.Insets(3, 3, 3, 3)); |
|---|
| 588 | showAllButton.setEnabled(false); |
|---|
| 589 | |
|---|
| 590 | unitRecButton.setText("Unit Rec"); |
|---|
| 591 | unitRecButton.setMargin(new java.awt.Insets(3, 3, 3, 3)); |
|---|
| 592 | unitRecButton.setEnabled(false); |
|---|
| 593 | |
|---|
| 594 | addFspChpButton.setText("<html><p>Add FSP/</p><p>CHP</p></html>"); |
|---|
| 595 | addFspChpButton.setActionCommand(""); |
|---|
| 596 | addFspChpButton.setMargin(new java.awt.Insets(2, 2, 2, 2)); |
|---|
| 597 | addFspChpButton.setEnabled(false); |
|---|
| 598 | |
|---|
| 599 | ImageIcon image = new ImageIcon("images/IncidentViewerImages/buttonInformation.png"); |
|---|
| 600 | informationButton.setIcon(image); |
|---|
| 601 | informationButton.setEnabled(false); |
|---|
| 602 | |
|---|
| 603 | image = new ImageIcon("images/IncidentViewerImages/buttonCar.png"); |
|---|
| 604 | carButton.setIcon(image); |
|---|
| 605 | carButton.setEnabled(false); |
|---|
| 606 | |
|---|
| 607 | image = new ImageIcon("images/IncidentViewerImages/buttonPerson.png"); |
|---|
| 608 | personButton.setIcon(image); |
|---|
| 609 | personButton.setEnabled(false); |
|---|
| 610 | |
|---|
| 611 | |
|---|
| 612 | towRotationButton.setText("Tow Rotation"); |
|---|
| 613 | towRotationButton.setEnabled(false); |
|---|
| 614 | |
|---|
| 615 | licensePlateInfoLabel.setText("License Plate Information"); |
|---|
| 616 | |
|---|
| 617 | jScrollPane13.setViewportView(licensePlateTable); |
|---|
| 618 | |
|---|
| 619 | addButton.setText("Add"); |
|---|
| 620 | addButton.setEnabled(false); |
|---|
| 621 | |
|---|
| 622 | image = new ImageIcon("images/IncidentViewerImages/buttonCau.png"); |
|---|
| 623 | cautionButton.setIcon(image); |
|---|
| 624 | cautionButton.setEnabled(false); |
|---|
| 625 | |
|---|
| 626 | image = new ImageIcon("images/IncidentViewerImages/buttonHis.png"); |
|---|
| 627 | historyButton.setIcon(image); |
|---|
| 628 | historyButton.setEnabled(false); |
|---|
| 629 | |
|---|
| 630 | image = new ImageIcon("images/IncidentViewerImages/buttonPre.png"); |
|---|
| 631 | premiseButton.setIcon(image); |
|---|
| 632 | premiseButton.setEnabled(false); |
|---|
| 633 | |
|---|
| 634 | image = new ImageIcon("images/IncidentViewerImages/buttonMap.png"); |
|---|
| 635 | mapButton.setIcon(image); |
|---|
| 636 | mapButton.setEnabled(false); |
|---|
| 637 | |
|---|
| 638 | emsLabel.setText("EMS"); |
|---|
| 639 | |
|---|
| 640 | fireLabel.setText("FIRE"); |
|---|
| 641 | |
|---|
| 642 | lawLabel.setText("LAW"); |
|---|
| 643 | |
|---|
| 644 | callbacksPane.setPreferredSize(new java.awt.Dimension(809, 300)); |
|---|
| 645 | |
|---|
| 646 | callBackCommentField.setEditable(false); |
|---|
| 647 | |
|---|
| 648 | callBackAddButton.setText("Add"); |
|---|
| 649 | callBackAddButton.setEnabled(false); |
|---|
| 650 | |
|---|
| 651 | callBackCancelButton.setText("Cancel"); |
|---|
| 652 | callBackCancelButton.setEnabled(false); |
|---|
| 653 | |
|---|
| 654 | callBackSaveButton.setText("Save"); |
|---|
| 655 | callBackSaveButton.setEnabled(false); |
|---|
| 656 | |
|---|
| 657 | callBackCommentTable.setSelectionMode(ListSelectionModel.SINGLE_SELECTION); |
|---|
| 658 | |
|---|
| 659 | recommandButton.setText("Recommand"); |
|---|
| 660 | recommandButton.setEnabled(false); |
|---|
| 661 | |
|---|
| 662 | incidentNumLabel.setText("Incident Number:"); |
|---|
| 663 | |
|---|
| 664 | addInfoIncidentNumField.setEditable(false); |
|---|
| 665 | |
|---|
| 666 | incidentTypeLabel.setText("Incident Type:"); |
|---|
| 667 | |
|---|
| 668 | addInfoIncidentTypeField.setEditable(false); |
|---|
| 669 | |
|---|
| 670 | callTakenLabel.setText("Call Taken:"); |
|---|
| 671 | |
|---|
| 672 | addInfoCallTakenField.setEditable(false); |
|---|
| 673 | |
|---|
| 674 | machineNameLabel.setText("Machine Name:"); |
|---|
| 675 | |
|---|
| 676 | addInfoMachineNameField.setEditable(false); |
|---|
| 677 | |
|---|
| 678 | callTakerPhoneLabel.setText("Call Taker Phone Ext:"); |
|---|
| 679 | |
|---|
| 680 | addInfoCallTakerPhoneExtField.setEditable(false); |
|---|
| 681 | |
|---|
| 682 | callStatusLabel.setText("Call Status:"); |
|---|
| 683 | |
|---|
| 684 | addInfoCallStatusField.setEditable(false); |
|---|
| 685 | |
|---|
| 686 | alarmLevelLabel.setText("Alarm Level:"); |
|---|
| 687 | |
|---|
| 688 | addInfoAlarmLevelField.setEditable(false); |
|---|
| 689 | |
|---|
| 690 | ccJurisdictionLabel.setText("CC/Jurisdiction:"); |
|---|
| 691 | |
|---|
| 692 | areaOfDivisionLabel.setText("Area Ofc/Division:"); |
|---|
| 693 | |
|---|
| 694 | addInfoCommentsField.setEditable(false); |
|---|
| 695 | |
|---|
| 696 | addInfoCCJurisdictionComboBox.setModel(new javax.swing.DefaultComboBoxModel(new String[] |
|---|
| 697 | { |
|---|
| 698 | "Item 1", "Item 2", "Item 3", "Item 4" |
|---|
| 699 | })); |
|---|
| 700 | |
|---|
| 701 | addInfoAreaOfDivisionComboBox.setModel(new javax.swing.DefaultComboBoxModel(new String[] |
|---|
| 702 | { |
|---|
| 703 | "Item 1", "Item 2", "Item 3", "Item 4" |
|---|
| 704 | })); |
|---|
| 705 | |
|---|
| 706 | areaBatallionLabel.setText("Area/Batallion:"); |
|---|
| 707 | |
|---|
| 708 | addInfoAreaBatallionComboBox.setModel(new javax.swing.DefaultComboBoxModel(new String[] |
|---|
| 709 | { |
|---|
| 710 | "Item 1", "Item 2", "Item 3", "Item 4" |
|---|
| 711 | })); |
|---|
| 712 | |
|---|
| 713 | beatResponseAreaLabel.setText("Beat/Response Area:"); |
|---|
| 714 | |
|---|
| 715 | addInfoBeatResponseAreaComboBox.setModel(new javax.swing.DefaultComboBoxModel(new String[] |
|---|
| 716 | { |
|---|
| 717 | "Item 1", "Item 2", "Item 3", "Item 4" |
|---|
| 718 | })); |
|---|
| 719 | |
|---|
| 720 | responsePlanLabel.setText("Response Plan:"); |
|---|
| 721 | |
|---|
| 722 | addInfoReponsePlanComboBox.setModel(new javax.swing.DefaultComboBoxModel(new String[] |
|---|
| 723 | { |
|---|
| 724 | "Item 1", "Item 2", "Item 3", "Item 4" |
|---|
| 725 | })); |
|---|
| 726 | |
|---|
| 727 | rotationProviderAreaLabel.setText("Rotation Provider Area:"); |
|---|
| 728 | |
|---|
| 729 | addInfoRotationProviderAreaField.setEditable(false); |
|---|
| 730 | |
|---|
| 731 | |
|---|
| 732 | commentsNotesPane.setPreferredSize(new java.awt.Dimension(809, 300)); |
|---|
| 733 | |
|---|
| 734 | commentsNotesTable.setModel(new javax.swing.table.DefaultTableModel( |
|---|
| 735 | null, new String[] |
|---|
| 736 | { |
|---|
| 737 | "Date", "Time", "Initial", "Block", "Comments" |
|---|
| 738 | })); |
|---|
| 739 | jScrollPane3.setViewportView(commentsNotesTable); |
|---|
| 740 | commentsNotesTable.getColumnModel().getColumn(0).setResizable(false); |
|---|
| 741 | commentsNotesTable.getColumnModel().getColumn(0).setPreferredWidth(3); |
|---|
| 742 | commentsNotesTable.getColumnModel().getColumn(1).setResizable(false); |
|---|
| 743 | commentsNotesTable.getColumnModel().getColumn(1).setPreferredWidth(10); |
|---|
| 744 | commentsNotesTable.getColumnModel().getColumn(2).setResizable(false); |
|---|
| 745 | commentsNotesTable.getColumnModel().getColumn(2).setPreferredWidth(8); |
|---|
| 746 | commentsNotesTable.getColumnModel().getColumn(3).setResizable(false); |
|---|
| 747 | commentsNotesTable.getColumnModel().getColumn(3).setPreferredWidth(6); |
|---|
| 748 | commentsNotesTable.getColumnModel().getColumn(4).setResizable(false); |
|---|
| 749 | |
|---|
| 750 | commentsNotesField.setEditable(false); |
|---|
| 751 | commentsNotesField.setBackground(java.awt.Color.LIGHT_GRAY); |
|---|
| 752 | commentsNotesField.setLineWrap(true); // JD make text wrap inside the field |
|---|
| 753 | commentsNotesField.setBorder(BorderFactory.createLineBorder(Color.GRAY)); // JD added a border |
|---|
| 754 | |
|---|
| 755 | commentsNotesAddButton.setText("Add"); |
|---|
| 756 | commentsNotesCancelButton.setText("Cancel"); |
|---|
| 757 | commentsNotesCancelButton.setEnabled(false); |
|---|
| 758 | commentsNotesNotifyButton.setText("Notify"); |
|---|
| 759 | commentsNotesNotifyButton.setEnabled(false); |
|---|
| 760 | |
|---|
| 761 | commentsNotesSaveButton.setText("Save"); |
|---|
| 762 | commentsNotesSaveButton.setEnabled(false); |
|---|
| 763 | commentsNotesConfidentialCommentCheckBox.setText("Confidential Comment"); |
|---|
| 764 | commentsNotesConfidentialCommentCheckBox.setEnabled(false); |
|---|
| 765 | |
|---|
| 766 | jScrollPane14.setViewportView(callBackCommentTable); |
|---|
| 767 | javax.swing.GroupLayout jPanel13Layout = new javax.swing.GroupLayout(jPanel13); |
|---|
| 768 | jPanel13.setLayout(jPanel13Layout); |
|---|
| 769 | jPanel13Layout.setHorizontalGroup( |
|---|
| 770 | jPanel13Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
|---|
| 771 | .addGroup(jPanel13Layout.createSequentialGroup() |
|---|
| 772 | .addContainerGap() |
|---|
| 773 | .addGroup(jPanel13Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false) |
|---|
| 774 | .addGroup(jPanel13Layout.createSequentialGroup() |
|---|
| 775 | .addComponent(callBackCommentField, javax.swing.GroupLayout.PREFERRED_SIZE, 519, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 776 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) |
|---|
| 777 | .addGroup(jPanel13Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
|---|
| 778 | .addComponent(callBackAddButton) |
|---|
| 779 | .addComponent(callBackCancelButton) |
|---|
| 780 | .addComponent(callBackSaveButton))) |
|---|
| 781 | .addComponent(jScrollPane14, javax.swing.GroupLayout.PREFERRED_SIZE, 604, javax.swing.GroupLayout.PREFERRED_SIZE)) |
|---|
| 782 | .addContainerGap(144, Short.MAX_VALUE))); |
|---|
| 783 | jPanel13Layout.setVerticalGroup( |
|---|
| 784 | jPanel13Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
|---|
| 785 | .addGroup(jPanel13Layout.createSequentialGroup() |
|---|
| 786 | .addContainerGap() |
|---|
| 787 | .addGroup(jPanel13Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
|---|
| 788 | .addGroup(jPanel13Layout.createSequentialGroup() |
|---|
| 789 | .addComponent(callBackAddButton) |
|---|
| 790 | .addGap(0, 0, 0) |
|---|
| 791 | .addComponent(callBackCancelButton) |
|---|
| 792 | .addGap(0, 0, 0) |
|---|
| 793 | .addComponent(callBackSaveButton)) |
|---|
| 794 | .addComponent(callBackCommentField, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, 68, javax.swing.GroupLayout.PREFERRED_SIZE)) |
|---|
| 795 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED) |
|---|
| 796 | .addComponent(jScrollPane14, javax.swing.GroupLayout.PREFERRED_SIZE, 131, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 797 | .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))); |
|---|
| 798 | |
|---|
| 799 | javax.swing.GroupLayout callbacksPaneLayout = new javax.swing.GroupLayout(callbacksPane); |
|---|
| 800 | callbacksPane.setLayout(callbacksPaneLayout); |
|---|
| 801 | callbacksPaneLayout.setHorizontalGroup( |
|---|
| 802 | callbacksPaneLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
|---|
| 803 | .addGroup(callbacksPaneLayout.createSequentialGroup() |
|---|
| 804 | .addGap(41, 41, 41) |
|---|
| 805 | .addComponent(jPanel13, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) |
|---|
| 806 | .addContainerGap())); |
|---|
| 807 | callbacksPaneLayout.setVerticalGroup( |
|---|
| 808 | callbacksPaneLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
|---|
| 809 | .addGroup(callbacksPaneLayout.createSequentialGroup() |
|---|
| 810 | .addContainerGap() |
|---|
| 811 | .addComponent(jPanel13, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 812 | .addContainerGap(58, Short.MAX_VALUE))); |
|---|
| 813 | |
|---|
| 814 | assignmentsPane.setPreferredSize(new java.awt.Dimension(809, 300)); |
|---|
| 815 | |
|---|
| 816 | assignmentsTable.setModel(new javax.swing.table.DefaultTableModel( |
|---|
| 817 | null, new String[] |
|---|
| 818 | { |
|---|
| 819 | "Unit", "Alarm Level", "Type", "Status", "responding From", "Elapsed", "Response Number" |
|---|
| 820 | })); |
|---|
| 821 | jScrollPane4.setViewportView(assignmentsTable); |
|---|
| 822 | |
|---|
| 823 | jScrollPane1.setViewportView(jScrollPane4); |
|---|
| 824 | |
|---|
| 825 | resourceTable.setModel(new javax.swing.table.DefaultTableModel( |
|---|
| 826 | null, new String[] |
|---|
| 827 | { |
|---|
| 828 | "Resource / Capability", "", "Title 3", "Title 4" |
|---|
| 829 | })); |
|---|
| 830 | jScrollPane5.setViewportView(resourceTable); |
|---|
| 831 | |
|---|
| 832 | jScrollPane7.setViewportView(jScrollPane5); |
|---|
| 833 | |
|---|
| 834 | javax.swing.GroupLayout jPanel2Layout = new javax.swing.GroupLayout(jPanel2); |
|---|
| 835 | jPanel2.setLayout(jPanel2Layout); |
|---|
| 836 | jPanel2Layout.setHorizontalGroup( |
|---|
| 837 | jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
|---|
| 838 | .addGroup(jPanel2Layout.createSequentialGroup() |
|---|
| 839 | .addContainerGap() |
|---|
| 840 | .addComponent(jScrollPane7, javax.swing.GroupLayout.DEFAULT_SIZE, 609, Short.MAX_VALUE) |
|---|
| 841 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) |
|---|
| 842 | .addComponent(recommandButton) |
|---|
| 843 | .addContainerGap())); |
|---|
| 844 | jPanel2Layout.setVerticalGroup( |
|---|
| 845 | jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
|---|
| 846 | .addGroup(jPanel2Layout.createSequentialGroup() |
|---|
| 847 | .addContainerGap() |
|---|
| 848 | .addComponent(jScrollPane7, javax.swing.GroupLayout.PREFERRED_SIZE, 100, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 849 | .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) |
|---|
| 850 | .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel2Layout.createSequentialGroup() |
|---|
| 851 | .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) |
|---|
| 852 | .addComponent(recommandButton) |
|---|
| 853 | .addGap(47, 47, 47))); |
|---|
| 854 | |
|---|
| 855 | javax.swing.GroupLayout jPanel4Layout = new javax.swing.GroupLayout(jPanel4); |
|---|
| 856 | jPanel4.setLayout(jPanel4Layout); |
|---|
| 857 | jPanel4Layout.setHorizontalGroup( |
|---|
| 858 | jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
|---|
| 859 | .addGroup(jPanel4Layout.createSequentialGroup() |
|---|
| 860 | .addContainerGap() |
|---|
| 861 | .addComponent(jScrollPane1)) |
|---|
| 862 | .addGroup(jPanel4Layout.createSequentialGroup() |
|---|
| 863 | .addComponent(jPanel2, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) |
|---|
| 864 | .addContainerGap())); |
|---|
| 865 | jPanel4Layout.setVerticalGroup( |
|---|
| 866 | jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
|---|
| 867 | .addGroup(jPanel4Layout.createSequentialGroup() |
|---|
| 868 | .addGap(6, 6, 6) |
|---|
| 869 | .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 141, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 870 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) |
|---|
| 871 | .addComponent(jPanel2, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))); |
|---|
| 872 | |
|---|
| 873 | javax.swing.GroupLayout assignmentsPaneLayout = new javax.swing.GroupLayout(assignmentsPane); |
|---|
| 874 | assignmentsPane.setLayout(assignmentsPaneLayout); |
|---|
| 875 | assignmentsPaneLayout.setHorizontalGroup( |
|---|
| 876 | assignmentsPaneLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
|---|
| 877 | .addGroup(assignmentsPaneLayout.createSequentialGroup() |
|---|
| 878 | .addContainerGap() |
|---|
| 879 | .addComponent(jPanel4, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 880 | .addContainerGap(63, Short.MAX_VALUE))); |
|---|
| 881 | assignmentsPaneLayout.setVerticalGroup( |
|---|
| 882 | assignmentsPaneLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
|---|
| 883 | .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, assignmentsPaneLayout.createSequentialGroup() |
|---|
| 884 | .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) |
|---|
| 885 | .addComponent(jPanel4, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 886 | .addGap(22, 22, 22))); |
|---|
| 887 | |
|---|
| 888 | activitiesPane.setPreferredSize(new java.awt.Dimension(809, 300)); |
|---|
| 889 | |
|---|
| 890 | activitiesTable.setModel(new javax.swing.table.DefaultTableModel( |
|---|
| 891 | null, new String[] |
|---|
| 892 | { |
|---|
| 893 | "Date/Time", "Vehicle/Unit", "Activity", "Location", "Comment", "Dispatch" |
|---|
| 894 | })); |
|---|
| 895 | jScrollPane6.setViewportView(activitiesTable); |
|---|
| 896 | |
|---|
| 897 | jScrollPane15.setViewportView(jScrollPane6); |
|---|
| 898 | |
|---|
| 899 | javax.swing.GroupLayout activitiesPaneLayout = new javax.swing.GroupLayout(activitiesPane); |
|---|
| 900 | activitiesPane.setLayout(activitiesPaneLayout); |
|---|
| 901 | activitiesPaneLayout.setHorizontalGroup( |
|---|
| 902 | activitiesPaneLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
|---|
| 903 | .addGroup(activitiesPaneLayout.createSequentialGroup() |
|---|
| 904 | .addContainerGap() |
|---|
| 905 | .addComponent(jScrollPane15, javax.swing.GroupLayout.DEFAULT_SIZE, 789, Short.MAX_VALUE) |
|---|
| 906 | .addContainerGap())); |
|---|
| 907 | activitiesPaneLayout.setVerticalGroup( |
|---|
| 908 | activitiesPaneLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
|---|
| 909 | .addGroup(activitiesPaneLayout.createSequentialGroup() |
|---|
| 910 | .addGap(27, 27, 27) |
|---|
| 911 | .addComponent(jScrollPane15, javax.swing.GroupLayout.DEFAULT_SIZE, 264, Short.MAX_VALUE) |
|---|
| 912 | .addContainerGap())); |
|---|
| 913 | |
|---|
| 914 | callBacksPane.setPreferredSize(new java.awt.Dimension(809, 300)); |
|---|
| 915 | |
|---|
| 916 | javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1); |
|---|
| 917 | jPanel1.setLayout(jPanel1Layout); |
|---|
| 918 | jPanel1Layout.setHorizontalGroup( |
|---|
| 919 | jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
|---|
| 920 | .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel1Layout.createSequentialGroup() |
|---|
| 921 | .addContainerGap() |
|---|
| 922 | .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING) |
|---|
| 923 | .addGroup(jPanel1Layout.createSequentialGroup() |
|---|
| 924 | .addGap(0, 0, Short.MAX_VALUE) |
|---|
| 925 | .addComponent(rotationProviderAreaLabel)) |
|---|
| 926 | .addGroup(jPanel1Layout.createSequentialGroup() |
|---|
| 927 | .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
|---|
| 928 | .addGroup(jPanel1Layout.createSequentialGroup() |
|---|
| 929 | .addGap(0, 0, Short.MAX_VALUE) |
|---|
| 930 | .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
|---|
| 931 | .addComponent(callTakenLabel, javax.swing.GroupLayout.Alignment.TRAILING) |
|---|
| 932 | .addComponent(machineNameLabel, javax.swing.GroupLayout.Alignment.TRAILING) |
|---|
| 933 | .addComponent(incidentTypeLabel, javax.swing.GroupLayout.Alignment.TRAILING) |
|---|
| 934 | .addComponent(incidentNumLabel, javax.swing.GroupLayout.Alignment.TRAILING)) |
|---|
| 935 | .addGap(4, 4, 4) |
|---|
| 936 | .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false) |
|---|
| 937 | .addComponent(addInfoIncidentNumField, javax.swing.GroupLayout.DEFAULT_SIZE, 194, Short.MAX_VALUE) |
|---|
| 938 | .addComponent(addInfoIncidentTypeField, javax.swing.GroupLayout.Alignment.TRAILING) |
|---|
| 939 | .addComponent(addInfoCallTakenField, javax.swing.GroupLayout.Alignment.TRAILING) |
|---|
| 940 | .addComponent(addInfoMachineNameField, javax.swing.GroupLayout.Alignment.TRAILING))) |
|---|
| 941 | .addGroup(jPanel1Layout.createSequentialGroup() |
|---|
| 942 | .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING) |
|---|
| 943 | .addComponent(callStatusLabel) |
|---|
| 944 | .addComponent(callTakerPhoneLabel)) |
|---|
| 945 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) |
|---|
| 946 | .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
|---|
| 947 | .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false) |
|---|
| 948 | .addComponent(addInfoCallTakerPhoneExtField, javax.swing.GroupLayout.DEFAULT_SIZE, 110, Short.MAX_VALUE) |
|---|
| 949 | .addComponent(addInfoCallStatusField)) |
|---|
| 950 | .addComponent(addInfoCommentsField, javax.swing.GroupLayout.PREFERRED_SIZE, 143, javax.swing.GroupLayout.PREFERRED_SIZE)) |
|---|
| 951 | .addGap(0, 31, Short.MAX_VALUE))) |
|---|
| 952 | .addGap(100, 100, 100) |
|---|
| 953 | .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING) |
|---|
| 954 | .addComponent(alarmLevelLabel) |
|---|
| 955 | .addComponent(ccJurisdictionLabel) |
|---|
| 956 | .addComponent(areaOfDivisionLabel) |
|---|
| 957 | .addComponent(areaBatallionLabel) |
|---|
| 958 | .addComponent(beatResponseAreaLabel) |
|---|
| 959 | .addComponent(responsePlanLabel)))) |
|---|
| 960 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) |
|---|
| 961 | .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
|---|
| 962 | .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false) |
|---|
| 963 | .addComponent(addInfoAlarmLevelField, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 964 | .addComponent(addInfoCCJurisdictionComboBox, 0, 206, Short.MAX_VALUE) |
|---|
| 965 | .addComponent(addInfoAreaOfDivisionComboBox, 0, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) |
|---|
| 966 | .addComponent(addInfoAreaBatallionComboBox, 0, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) |
|---|
| 967 | .addComponent(addInfoBeatResponseAreaComboBox, 0, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) |
|---|
| 968 | .addComponent(addInfoReponsePlanComboBox, 0, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) |
|---|
| 969 | .addComponent(addInfoRotationProviderAreaField, javax.swing.GroupLayout.PREFERRED_SIZE, 120, javax.swing.GroupLayout.PREFERRED_SIZE)) |
|---|
| 970 | .addContainerGap())); |
|---|
| 971 | jPanel1Layout.setVerticalGroup( |
|---|
| 972 | jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
|---|
| 973 | .addGroup(jPanel1Layout.createSequentialGroup() |
|---|
| 974 | .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
|---|
| 975 | .addGroup(jPanel1Layout.createSequentialGroup() |
|---|
| 976 | .addContainerGap() |
|---|
| 977 | .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) |
|---|
| 978 | .addComponent(incidentNumLabel, javax.swing.GroupLayout.PREFERRED_SIZE, 14, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 979 | .addComponent(addInfoIncidentNumField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) |
|---|
| 980 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) |
|---|
| 981 | .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) |
|---|
| 982 | .addComponent(incidentTypeLabel) |
|---|
| 983 | .addComponent(addInfoIncidentTypeField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) |
|---|
| 984 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) |
|---|
| 985 | .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) |
|---|
| 986 | .addComponent(callTakenLabel) |
|---|
| 987 | .addComponent(addInfoCallTakenField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) |
|---|
| 988 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) |
|---|
| 989 | .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) |
|---|
| 990 | .addComponent(machineNameLabel) |
|---|
| 991 | .addComponent(addInfoMachineNameField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) |
|---|
| 992 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) |
|---|
| 993 | .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) |
|---|
| 994 | .addComponent(callTakerPhoneLabel) |
|---|
| 995 | .addComponent(addInfoCallTakerPhoneExtField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) |
|---|
| 996 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) |
|---|
| 997 | .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) |
|---|
| 998 | .addComponent(callStatusLabel) |
|---|
| 999 | .addComponent(addInfoCallStatusField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))) |
|---|
| 1000 | .addGroup(jPanel1Layout.createSequentialGroup() |
|---|
| 1001 | .addGap(21, 21, 21) |
|---|
| 1002 | .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) |
|---|
| 1003 | .addComponent(alarmLevelLabel) |
|---|
| 1004 | .addComponent(addInfoAlarmLevelField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) |
|---|
| 1005 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) |
|---|
| 1006 | .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) |
|---|
| 1007 | .addComponent(ccJurisdictionLabel) |
|---|
| 1008 | .addComponent(addInfoCCJurisdictionComboBox, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) |
|---|
| 1009 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) |
|---|
| 1010 | .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) |
|---|
| 1011 | .addComponent(areaOfDivisionLabel) |
|---|
| 1012 | .addComponent(addInfoAreaOfDivisionComboBox, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) |
|---|
| 1013 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) |
|---|
| 1014 | .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) |
|---|
| 1015 | .addComponent(areaBatallionLabel) |
|---|
| 1016 | .addComponent(addInfoAreaBatallionComboBox, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) |
|---|
| 1017 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) |
|---|
| 1018 | .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) |
|---|
| 1019 | .addComponent(beatResponseAreaLabel) |
|---|
| 1020 | .addComponent(addInfoBeatResponseAreaComboBox, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) |
|---|
| 1021 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) |
|---|
| 1022 | .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) |
|---|
| 1023 | .addComponent(responsePlanLabel) |
|---|
| 1024 | .addComponent(addInfoReponsePlanComboBox, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))) |
|---|
| 1025 | .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
|---|
| 1026 | .addGroup(jPanel1Layout.createSequentialGroup() |
|---|
| 1027 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) |
|---|
| 1028 | .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) |
|---|
| 1029 | .addComponent(rotationProviderAreaLabel) |
|---|
| 1030 | .addComponent(addInfoRotationProviderAreaField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))) |
|---|
| 1031 | .addGroup(jPanel1Layout.createSequentialGroup() |
|---|
| 1032 | .addGap(23, 23, 23) |
|---|
| 1033 | .addComponent(addInfoCommentsField, javax.swing.GroupLayout.PREFERRED_SIZE, 51, javax.swing.GroupLayout.PREFERRED_SIZE))) |
|---|
| 1034 | .addGap(5, 5, 5))); |
|---|
| 1035 | |
|---|
| 1036 | javax.swing.GroupLayout callBacksPaneLayout = new javax.swing.GroupLayout(callBacksPane); |
|---|
| 1037 | callBacksPane.setLayout(callBacksPaneLayout); |
|---|
| 1038 | callBacksPaneLayout.setHorizontalGroup( |
|---|
| 1039 | callBacksPaneLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
|---|
| 1040 | .addGroup(callBacksPaneLayout.createSequentialGroup() |
|---|
| 1041 | .addContainerGap() |
|---|
| 1042 | .addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 1043 | .addContainerGap(85, Short.MAX_VALUE))); |
|---|
| 1044 | callBacksPaneLayout.setVerticalGroup( |
|---|
| 1045 | callBacksPaneLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
|---|
| 1046 | .addGroup(callBacksPaneLayout.createSequentialGroup() |
|---|
| 1047 | .addContainerGap() |
|---|
| 1048 | .addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 1049 | .addGap(40, 40, 40))); |
|---|
| 1050 | |
|---|
| 1051 | javax.swing.GroupLayout commentsNotesPaneLayout = new javax.swing.GroupLayout(commentsNotesPane); |
|---|
| 1052 | commentsNotesPane.setLayout(commentsNotesPaneLayout); |
|---|
| 1053 | commentsNotesPaneLayout.setHorizontalGroup( |
|---|
| 1054 | commentsNotesPaneLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
|---|
| 1055 | .addGroup(commentsNotesPaneLayout.createSequentialGroup() |
|---|
| 1056 | .addContainerGap() |
|---|
| 1057 | .addGroup(commentsNotesPaneLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
|---|
| 1058 | .addComponent(jScrollPane3, javax.swing.GroupLayout.DEFAULT_SIZE, 789, Short.MAX_VALUE) |
|---|
| 1059 | .addGroup(commentsNotesPaneLayout.createSequentialGroup() |
|---|
| 1060 | .addComponent(commentsNotesField, javax.swing.GroupLayout.PREFERRED_SIZE, 610, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 1061 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) |
|---|
| 1062 | .addGroup(commentsNotesPaneLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
|---|
| 1063 | .addGroup(commentsNotesPaneLayout.createSequentialGroup() |
|---|
| 1064 | .addGroup(commentsNotesPaneLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false) |
|---|
| 1065 | .addComponent(commentsNotesNotifyButton, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) |
|---|
| 1066 | .addComponent(commentsNotesAddButton, javax.swing.GroupLayout.PREFERRED_SIZE, 70, javax.swing.GroupLayout.PREFERRED_SIZE)) |
|---|
| 1067 | .addGroup(commentsNotesPaneLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
|---|
| 1068 | .addComponent(commentsNotesSaveButton, javax.swing.GroupLayout.PREFERRED_SIZE, 70, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 1069 | .addComponent(commentsNotesCancelButton, javax.swing.GroupLayout.PREFERRED_SIZE, 70, javax.swing.GroupLayout.PREFERRED_SIZE))) |
|---|
| 1070 | .addComponent(commentsNotesConfidentialCommentCheckBox)) |
|---|
| 1071 | .addGap(0, 0, Short.MAX_VALUE))) |
|---|
| 1072 | .addContainerGap())); |
|---|
| 1073 | commentsNotesPaneLayout.setVerticalGroup( |
|---|
| 1074 | commentsNotesPaneLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
|---|
| 1075 | .addGroup(commentsNotesPaneLayout.createSequentialGroup() |
|---|
| 1076 | .addContainerGap() |
|---|
| 1077 | .addComponent(jScrollPane3, javax.swing.GroupLayout.PREFERRED_SIZE, 165, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 1078 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) |
|---|
| 1079 | .addGroup(commentsNotesPaneLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
|---|
| 1080 | .addGroup(commentsNotesPaneLayout.createSequentialGroup() |
|---|
| 1081 | .addGroup(commentsNotesPaneLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) |
|---|
| 1082 | .addComponent(commentsNotesAddButton, javax.swing.GroupLayout.PREFERRED_SIZE, 25, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 1083 | .addComponent(commentsNotesCancelButton, javax.swing.GroupLayout.PREFERRED_SIZE, 25, javax.swing.GroupLayout.PREFERRED_SIZE)) |
|---|
| 1084 | .addGap(0, 0, 0) |
|---|
| 1085 | .addGroup(commentsNotesPaneLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) |
|---|
| 1086 | .addComponent(commentsNotesNotifyButton, javax.swing.GroupLayout.PREFERRED_SIZE, 25, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 1087 | .addComponent(commentsNotesSaveButton, javax.swing.GroupLayout.PREFERRED_SIZE, 25, javax.swing.GroupLayout.PREFERRED_SIZE)) |
|---|
| 1088 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 7, Short.MAX_VALUE) |
|---|
| 1089 | .addComponent(commentsNotesConfidentialCommentCheckBox)) |
|---|
| 1090 | .addGroup(commentsNotesPaneLayout.createSequentialGroup() |
|---|
| 1091 | .addGap(2, 2, 2) |
|---|
| 1092 | .addComponent(commentsNotesField))) |
|---|
| 1093 | .addGap(40, 40, 40))); |
|---|
| 1094 | |
|---|
| 1095 | editLogPane.setPreferredSize(new java.awt.Dimension(809, 300)); |
|---|
| 1096 | |
|---|
| 1097 | editLogTable.setModel(new javax.swing.table.DefaultTableModel( |
|---|
| 1098 | null, new String[] |
|---|
| 1099 | { |
|---|
| 1100 | "Date", "Edits/Updates", "Reason", "Changes By", "Terminal" |
|---|
| 1101 | })); |
|---|
| 1102 | |
|---|
| 1103 | jScrollPane8.setViewportView(editLogTable); |
|---|
| 1104 | |
|---|
| 1105 | javax.swing.GroupLayout editLogPaneLayout = new javax.swing.GroupLayout(editLogPane); |
|---|
| 1106 | editLogPane.setLayout(editLogPaneLayout); |
|---|
| 1107 | editLogPaneLayout.setHorizontalGroup( |
|---|
| 1108 | editLogPaneLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
|---|
| 1109 | .addGroup(editLogPaneLayout.createSequentialGroup() |
|---|
| 1110 | .addContainerGap() |
|---|
| 1111 | .addComponent(jScrollPane8, javax.swing.GroupLayout.DEFAULT_SIZE, 789, Short.MAX_VALUE) |
|---|
| 1112 | .addContainerGap())); |
|---|
| 1113 | editLogPaneLayout.setVerticalGroup( |
|---|
| 1114 | editLogPaneLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
|---|
| 1115 | .addGroup(editLogPaneLayout.createSequentialGroup() |
|---|
| 1116 | .addContainerGap() |
|---|
| 1117 | .addComponent(jScrollPane8, javax.swing.GroupLayout.PREFERRED_SIZE, 280, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 1118 | .addGap(18, 18, 18))); |
|---|
| 1119 | |
|---|
| 1120 | timesPane.setPreferredSize(new java.awt.Dimension(809, 300)); |
|---|
| 1121 | |
|---|
| 1122 | timesTable.setModel(new javax.swing.table.DefaultTableModel( |
|---|
| 1123 | null, new String[] |
|---|
| 1124 | { |
|---|
| 1125 | "Unit", "Alarm Level", "Assigned", "Enroute", "Staged", "Arrival", |
|---|
| 1126 | "Access", "Depart", "At Dest.", "Status 5", "Available", "Resp Num" |
|---|
| 1127 | })); |
|---|
| 1128 | jScrollPane9.setViewportView(timesTable); |
|---|
| 1129 | |
|---|
| 1130 | ringLabel.setText("Ring:"); |
|---|
| 1131 | |
|---|
| 1132 | timesRingField.setEditable(false); |
|---|
| 1133 | |
|---|
| 1134 | inQueueLabel.setText("In-Queue:"); |
|---|
| 1135 | |
|---|
| 1136 | timesInQueueField.setEditable(false); |
|---|
| 1137 | |
|---|
| 1138 | allAvailableLabel.setText("All Available:"); |
|---|
| 1139 | |
|---|
| 1140 | timesAllAvailableField.setEditable(false); |
|---|
| 1141 | |
|---|
| 1142 | callClosedLabel.setText("Call Closed:"); |
|---|
| 1143 | |
|---|
| 1144 | timesCallClosedField.setEditable(false); |
|---|
| 1145 | |
|---|
| 1146 | timesPageTimesButton.setText("Page Times"); |
|---|
| 1147 | timesPageTimesButton.setEnabled(false); |
|---|
| 1148 | |
|---|
| 1149 | javax.swing.GroupLayout timesPaneLayout = new javax.swing.GroupLayout(timesPane); |
|---|
| 1150 | timesPane.setLayout(timesPaneLayout); |
|---|
| 1151 | timesPaneLayout.setHorizontalGroup( |
|---|
| 1152 | timesPaneLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
|---|
| 1153 | .addGroup(timesPaneLayout.createSequentialGroup() |
|---|
| 1154 | .addContainerGap() |
|---|
| 1155 | .addGroup(timesPaneLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
|---|
| 1156 | .addGroup(timesPaneLayout.createSequentialGroup() |
|---|
| 1157 | .addGap(10, 10, 10) |
|---|
| 1158 | .addComponent(ringLabel) |
|---|
| 1159 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) |
|---|
| 1160 | .addComponent(timesRingField, javax.swing.GroupLayout.PREFERRED_SIZE, 120, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 1161 | .addGap(18, 18, 18) |
|---|
| 1162 | .addComponent(inQueueLabel) |
|---|
| 1163 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED) |
|---|
| 1164 | .addComponent(timesInQueueField, javax.swing.GroupLayout.PREFERRED_SIZE, 104, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 1165 | .addGap(18, 18, 18) |
|---|
| 1166 | .addComponent(allAvailableLabel) |
|---|
| 1167 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED) |
|---|
| 1168 | .addComponent(timesAllAvailableField, javax.swing.GroupLayout.DEFAULT_SIZE, 69, Short.MAX_VALUE) |
|---|
| 1169 | .addGap(18, 18, 18) |
|---|
| 1170 | .addComponent(callClosedLabel) |
|---|
| 1171 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED) |
|---|
| 1172 | .addComponent(timesCallClosedField, javax.swing.GroupLayout.PREFERRED_SIZE, 101, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 1173 | .addGap(18, 18, 18) |
|---|
| 1174 | .addComponent(timesPageTimesButton)) |
|---|
| 1175 | .addComponent(jScrollPane9)) |
|---|
| 1176 | .addContainerGap())); |
|---|
| 1177 | timesPaneLayout.setVerticalGroup( |
|---|
| 1178 | timesPaneLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
|---|
| 1179 | .addGroup(timesPaneLayout.createSequentialGroup() |
|---|
| 1180 | .addContainerGap() |
|---|
| 1181 | .addComponent(jScrollPane9, javax.swing.GroupLayout.PREFERRED_SIZE, 174, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 1182 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) |
|---|
| 1183 | .addGroup(timesPaneLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) |
|---|
| 1184 | .addComponent(ringLabel) |
|---|
| 1185 | .addComponent(timesRingField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 1186 | .addComponent(inQueueLabel) |
|---|
| 1187 | .addComponent(timesInQueueField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 1188 | .addComponent(allAvailableLabel) |
|---|
| 1189 | .addComponent(timesAllAvailableField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 1190 | .addComponent(callClosedLabel) |
|---|
| 1191 | .addComponent(timesCallClosedField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 1192 | .addComponent(timesPageTimesButton)) |
|---|
| 1193 | .addContainerGap(88, Short.MAX_VALUE))); |
|---|
| 1194 | |
|---|
| 1195 | transportInfoPane.setPreferredSize(new java.awt.Dimension(809, 300)); |
|---|
| 1196 | |
|---|
| 1197 | transportInfoAddPresetTransportRecButton.setText("Add Preset Transport Rec"); |
|---|
| 1198 | transportInfoAddPresetTransportRecButton.setMargin(new java.awt.Insets(3, 3, 3, 3)); |
|---|
| 1199 | transportInfoAddPresetTransportRecButton.setEnabled(false); |
|---|
| 1200 | |
|---|
| 1201 | transportInfoRemoveTransportRecButton.setText("Remove Transport Rec"); |
|---|
| 1202 | transportInfoRemoveTransportRecButton.setMargin(new java.awt.Insets(3, 3, 3, 3)); |
|---|
| 1203 | transportInfoRemoveTransportRecButton.setEnabled(false); |
|---|
| 1204 | |
|---|
| 1205 | transportInfoLinkUnitToTransportRecButton.setText("Link Unit to Transport Rec"); |
|---|
| 1206 | transportInfoLinkUnitToTransportRecButton.setEnabled(false); |
|---|
| 1207 | |
|---|
| 1208 | nameLabel.setText("Name:"); |
|---|
| 1209 | |
|---|
| 1210 | transportCityLabel.setText("Transport to City:"); |
|---|
| 1211 | |
|---|
| 1212 | transportLocationLabel.setText("Transport to Location:"); |
|---|
| 1213 | |
|---|
| 1214 | transportInfoAddressButton.setText("Address"); |
|---|
| 1215 | transportInfoAddressButton.setEnabled(false); |
|---|
| 1216 | |
|---|
| 1217 | transportInfoCityComboBox.setModel(new javax.swing.DefaultComboBoxModel(ComboBoxConstants.LIST_OF_CA_CITIES)); |
|---|
| 1218 | transportInfoCityComboBox.setEnabled(false); |
|---|
| 1219 | |
|---|
| 1220 | transportStateLabel.setText("Transport to State:"); |
|---|
| 1221 | |
|---|
| 1222 | roomAptEtcLabel.setText("Room, Apt, etc.:"); |
|---|
| 1223 | |
|---|
| 1224 | phoneLabel2.setText("Phone:"); |
|---|
| 1225 | |
|---|
| 1226 | buildingNumLabel.setText("Building #:"); |
|---|
| 1227 | |
|---|
| 1228 | transportInfoCancelButton.setText("Cancel"); |
|---|
| 1229 | transportInfoCancelButton.setEnabled(false); |
|---|
| 1230 | |
|---|
| 1231 | transportInfoSaveButton.setText("Save"); |
|---|
| 1232 | transportInfoSaveButton.setEnabled(false); |
|---|
| 1233 | |
|---|
| 1234 | transportProtocolLabel.setText("Transport Protocol..."); |
|---|
| 1235 | |
|---|
| 1236 | transportInfoProtocolComboBox.setModel(new javax.swing.DefaultComboBoxModel(new String[] |
|---|
| 1237 | { |
|---|
| 1238 | "" |
|---|
| 1239 | })); |
|---|
| 1240 | transportInfoProtocolComboBox.setEnabled(false); |
|---|
| 1241 | |
|---|
| 1242 | transportPriorityLabel.setText("Transport Priority..."); |
|---|
| 1243 | |
|---|
| 1244 | transportInfoPriorityComboBox.setModel(new javax.swing.DefaultComboBoxModel(new String[] |
|---|
| 1245 | { |
|---|
| 1246 | "" |
|---|
| 1247 | })); |
|---|
| 1248 | transportInfoPriorityComboBox.setEnabled(false); |
|---|
| 1249 | |
|---|
| 1250 | assistedByLabel.setText("Assisted By..."); |
|---|
| 1251 | |
|---|
| 1252 | transportInfoAssistedByComboBox.setModel(new javax.swing.DefaultComboBoxModel(new String[] |
|---|
| 1253 | { |
|---|
| 1254 | "" |
|---|
| 1255 | })); |
|---|
| 1256 | transportInfoAssistedByComboBox.setEnabled(false); |
|---|
| 1257 | |
|---|
| 1258 | javax.swing.GroupLayout jPanel7Layout = new javax.swing.GroupLayout(jPanel7); |
|---|
| 1259 | jPanel7.setLayout(jPanel7Layout); |
|---|
| 1260 | jPanel7Layout.setHorizontalGroup( |
|---|
| 1261 | jPanel7Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
|---|
| 1262 | .addGroup(jPanel7Layout.createSequentialGroup() |
|---|
| 1263 | .addContainerGap() |
|---|
| 1264 | .addGroup(jPanel7Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
|---|
| 1265 | .addComponent(transportInfoProtocolComboBox, 0, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) |
|---|
| 1266 | .addComponent(transportInfoPriorityComboBox, 0, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) |
|---|
| 1267 | .addGroup(jPanel7Layout.createSequentialGroup() |
|---|
| 1268 | .addGroup(jPanel7Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
|---|
| 1269 | .addComponent(transportProtocolLabel) |
|---|
| 1270 | .addComponent(transportPriorityLabel) |
|---|
| 1271 | .addComponent(assistedByLabel)) |
|---|
| 1272 | .addGap(0, 94, Short.MAX_VALUE)) |
|---|
| 1273 | .addComponent(transportInfoAssistedByComboBox, 0, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) |
|---|
| 1274 | .addContainerGap())); |
|---|
| 1275 | jPanel7Layout.setVerticalGroup( |
|---|
| 1276 | jPanel7Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
|---|
| 1277 | .addGroup(jPanel7Layout.createSequentialGroup() |
|---|
| 1278 | .addGap(30, 30, 30) |
|---|
| 1279 | .addComponent(transportProtocolLabel) |
|---|
| 1280 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) |
|---|
| 1281 | .addComponent(transportInfoProtocolComboBox, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 1282 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) |
|---|
| 1283 | .addComponent(transportPriorityLabel) |
|---|
| 1284 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) |
|---|
| 1285 | .addComponent(transportInfoPriorityComboBox, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 1286 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) |
|---|
| 1287 | .addComponent(assistedByLabel) |
|---|
| 1288 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) |
|---|
| 1289 | .addComponent(transportInfoAssistedByComboBox, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 1290 | .addContainerGap(33, Short.MAX_VALUE))); |
|---|
| 1291 | |
|---|
| 1292 | jTabbedPane2.addTab("Mode", jPanel7); |
|---|
| 1293 | |
|---|
| 1294 | javax.swing.GroupLayout jPanel8Layout = new javax.swing.GroupLayout(jPanel8); |
|---|
| 1295 | jPanel8.setLayout(jPanel8Layout); |
|---|
| 1296 | jPanel8Layout.setHorizontalGroup( |
|---|
| 1297 | jPanel8Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
|---|
| 1298 | .addGap(0, 215, Short.MAX_VALUE)); |
|---|
| 1299 | jPanel8Layout.setVerticalGroup( |
|---|
| 1300 | jPanel8Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
|---|
| 1301 | .addGap(0, 195, Short.MAX_VALUE)); |
|---|
| 1302 | |
|---|
| 1303 | jTabbedPane2.addTab("Times", jPanel8); |
|---|
| 1304 | |
|---|
| 1305 | javax.swing.GroupLayout jPanel9Layout = new javax.swing.GroupLayout(jPanel9); |
|---|
| 1306 | jPanel9.setLayout(jPanel9Layout); |
|---|
| 1307 | jPanel9Layout.setHorizontalGroup( |
|---|
| 1308 | jPanel9Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
|---|
| 1309 | .addGap(0, 215, Short.MAX_VALUE)); |
|---|
| 1310 | jPanel9Layout.setVerticalGroup( |
|---|
| 1311 | jPanel9Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
|---|
| 1312 | .addGap(0, 195, Short.MAX_VALUE)); |
|---|
| 1313 | |
|---|
| 1314 | jTabbedPane2.addTab("Odometer", jPanel9); |
|---|
| 1315 | |
|---|
| 1316 | javax.swing.GroupLayout jPanel10Layout = new javax.swing.GroupLayout(jPanel10); |
|---|
| 1317 | jPanel10.setLayout(jPanel10Layout); |
|---|
| 1318 | jPanel10Layout.setHorizontalGroup( |
|---|
| 1319 | jPanel10Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
|---|
| 1320 | .addGap(0, 215, Short.MAX_VALUE)); |
|---|
| 1321 | jPanel10Layout.setVerticalGroup( |
|---|
| 1322 | jPanel10Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
|---|
| 1323 | .addGap(0, 195, Short.MAX_VALUE)); |
|---|
| 1324 | |
|---|
| 1325 | jTabbedPane2.addTab("Caution", jPanel10); |
|---|
| 1326 | |
|---|
| 1327 | javax.swing.GroupLayout jPanel6Layout = new javax.swing.GroupLayout(jPanel6); |
|---|
| 1328 | jPanel6.setLayout(jPanel6Layout); |
|---|
| 1329 | jPanel6Layout.setHorizontalGroup( |
|---|
| 1330 | jPanel6Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
|---|
| 1331 | .addGroup(jPanel6Layout.createSequentialGroup() |
|---|
| 1332 | .addContainerGap() |
|---|
| 1333 | .addGroup(jPanel6Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false) |
|---|
| 1334 | .addComponent(jTextField27) |
|---|
| 1335 | .addComponent(transportInfoAddPresetTransportRecButton, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) |
|---|
| 1336 | .addComponent(transportInfoRemoveTransportRecButton, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) |
|---|
| 1337 | .addComponent(transportInfoLinkUnitToTransportRecButton, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) |
|---|
| 1338 | .addGroup(jPanel6Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
|---|
| 1339 | .addGroup(jPanel6Layout.createSequentialGroup() |
|---|
| 1340 | .addGap(5, 5, 5) |
|---|
| 1341 | .addGroup(jPanel6Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING) |
|---|
| 1342 | .addGroup(jPanel6Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false) |
|---|
| 1343 | .addComponent(nameLabel) |
|---|
| 1344 | .addComponent(transportCityLabel) |
|---|
| 1345 | .addComponent(transportLocationLabel, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) |
|---|
| 1346 | .addComponent(transportInfoAddressButton, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) |
|---|
| 1347 | .addComponent(transportStateLabel) |
|---|
| 1348 | .addComponent(roomAptEtcLabel) |
|---|
| 1349 | .addComponent(phoneLabel2)) |
|---|
| 1350 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) |
|---|
| 1351 | .addGroup(jPanel6Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false) |
|---|
| 1352 | .addComponent(transportInfoNameField, javax.swing.GroupLayout.PREFERRED_SIZE, 170, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 1353 | .addComponent(transportInfoCityComboBox, 0, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) |
|---|
| 1354 | .addComponent(transportInfoLocationField) |
|---|
| 1355 | .addComponent(transportInfoAddressField) |
|---|
| 1356 | .addGroup(jPanel6Layout.createSequentialGroup() |
|---|
| 1357 | .addGroup(jPanel6Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
|---|
| 1358 | .addGroup(jPanel6Layout.createSequentialGroup() |
|---|
| 1359 | .addComponent(transportInfoRoomAptEtcField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 1360 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) |
|---|
| 1361 | .addComponent(buildingNumLabel)) |
|---|
| 1362 | .addComponent(transportInfoStateField, javax.swing.GroupLayout.PREFERRED_SIZE, 31, javax.swing.GroupLayout.PREFERRED_SIZE)) |
|---|
| 1363 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) |
|---|
| 1364 | .addGroup(jPanel6Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
|---|
| 1365 | .addComponent(transportInfoBuildingField, javax.swing.GroupLayout.DEFAULT_SIZE, 66, Short.MAX_VALUE) |
|---|
| 1366 | .addGroup(jPanel6Layout.createSequentialGroup() |
|---|
| 1367 | .addComponent(transportInfoState2Field, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 1368 | .addGap(0, 0, Short.MAX_VALUE)))) |
|---|
| 1369 | .addGroup(jPanel6Layout.createSequentialGroup() |
|---|
| 1370 | .addComponent(transportInfoPhoneField, javax.swing.GroupLayout.PREFERRED_SIZE, 110, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 1371 | .addGap(14, 14, 14) |
|---|
| 1372 | .addComponent(transportInfoCancelButton, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)))) |
|---|
| 1373 | .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel6Layout.createSequentialGroup() |
|---|
| 1374 | .addGap(242, 242, 242) |
|---|
| 1375 | .addComponent(transportInfoSaveButton, javax.swing.GroupLayout.PREFERRED_SIZE, 66, javax.swing.GroupLayout.PREFERRED_SIZE))) |
|---|
| 1376 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED) |
|---|
| 1377 | .addComponent(jTabbedPane2, javax.swing.GroupLayout.PREFERRED_SIZE, 220, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 1378 | .addContainerGap(84, Short.MAX_VALUE))); |
|---|
| 1379 | jPanel6Layout.setVerticalGroup( |
|---|
| 1380 | jPanel6Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
|---|
| 1381 | .addGroup(jPanel6Layout.createSequentialGroup() |
|---|
| 1382 | .addGap(17, 17, 17) |
|---|
| 1383 | .addGroup(jPanel6Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
|---|
| 1384 | .addComponent(jTextField27, javax.swing.GroupLayout.PREFERRED_SIZE, 161, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 1385 | .addGroup(jPanel6Layout.createSequentialGroup() |
|---|
| 1386 | .addGroup(jPanel6Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) |
|---|
| 1387 | .addComponent(nameLabel) |
|---|
| 1388 | .addComponent(transportInfoNameField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) |
|---|
| 1389 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) |
|---|
| 1390 | .addGroup(jPanel6Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) |
|---|
| 1391 | .addComponent(transportCityLabel) |
|---|
| 1392 | .addComponent(transportInfoCityComboBox, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) |
|---|
| 1393 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) |
|---|
| 1394 | .addGroup(jPanel6Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
|---|
| 1395 | .addComponent(transportLocationLabel) |
|---|
| 1396 | .addComponent(transportInfoLocationField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) |
|---|
| 1397 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) |
|---|
| 1398 | .addGroup(jPanel6Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING) |
|---|
| 1399 | .addComponent(transportInfoAddressButton) |
|---|
| 1400 | .addComponent(transportInfoAddressField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) |
|---|
| 1401 | .addGap(23, 23, 23) |
|---|
| 1402 | .addGroup(jPanel6Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) |
|---|
| 1403 | .addComponent(transportStateLabel) |
|---|
| 1404 | .addComponent(transportInfoStateField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 1405 | .addComponent(transportInfoState2Field, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) |
|---|
| 1406 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) |
|---|
| 1407 | .addGroup(jPanel6Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) |
|---|
| 1408 | .addComponent(roomAptEtcLabel) |
|---|
| 1409 | .addComponent(transportInfoRoomAptEtcField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 1410 | .addComponent(buildingNumLabel) |
|---|
| 1411 | .addComponent(transportInfoBuildingField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))) |
|---|
| 1412 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) |
|---|
| 1413 | .addGroup(jPanel6Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
|---|
| 1414 | .addGroup(jPanel6Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) |
|---|
| 1415 | .addComponent(phoneLabel2) |
|---|
| 1416 | .addComponent(transportInfoPhoneField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 1417 | .addComponent(transportInfoCancelButton)) |
|---|
| 1418 | .addComponent(transportInfoAddPresetTransportRecButton)) |
|---|
| 1419 | .addGroup(jPanel6Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
|---|
| 1420 | .addGroup(jPanel6Layout.createSequentialGroup() |
|---|
| 1421 | .addComponent(transportInfoRemoveTransportRecButton) |
|---|
| 1422 | .addGap(0, 0, Short.MAX_VALUE) |
|---|
| 1423 | .addComponent(transportInfoLinkUnitToTransportRecButton)) |
|---|
| 1424 | .addGroup(jPanel6Layout.createSequentialGroup() |
|---|
| 1425 | .addComponent(transportInfoSaveButton) |
|---|
| 1426 | .addGap(0, 0, Short.MAX_VALUE))) |
|---|
| 1427 | .addContainerGap()) |
|---|
| 1428 | .addGroup(jPanel6Layout.createSequentialGroup() |
|---|
| 1429 | .addGap(18, 18, 18) |
|---|
| 1430 | .addComponent(jTabbedPane2, javax.swing.GroupLayout.PREFERRED_SIZE, 223, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 1431 | .addGap(0, 0, Short.MAX_VALUE))); |
|---|
| 1432 | |
|---|
| 1433 | javax.swing.GroupLayout transportInfoPaneLayout = new javax.swing.GroupLayout(transportInfoPane); |
|---|
| 1434 | transportInfoPane.setLayout(transportInfoPaneLayout); |
|---|
| 1435 | transportInfoPaneLayout.setHorizontalGroup( |
|---|
| 1436 | transportInfoPaneLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
|---|
| 1437 | .addGroup(transportInfoPaneLayout.createSequentialGroup() |
|---|
| 1438 | .addContainerGap() |
|---|
| 1439 | .addComponent(jPanel6, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) |
|---|
| 1440 | .addContainerGap())); |
|---|
| 1441 | transportInfoPaneLayout.setVerticalGroup( |
|---|
| 1442 | transportInfoPaneLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
|---|
| 1443 | .addGroup(transportInfoPaneLayout.createSequentialGroup() |
|---|
| 1444 | .addContainerGap() |
|---|
| 1445 | .addComponent(jPanel6, javax.swing.GroupLayout.PREFERRED_SIZE, 273, Short.MAX_VALUE) |
|---|
| 1446 | .addGap(25, 25, 25))); |
|---|
| 1447 | |
|---|
| 1448 | userDataPane.setPreferredSize(new java.awt.Dimension(809, 300)); |
|---|
| 1449 | |
|---|
| 1450 | timeStampsLabel.setText("Time Stamps"); |
|---|
| 1451 | |
|---|
| 1452 | timeStampsTable.setModel(new javax.swing.table.DefaultTableModel( |
|---|
| 1453 | null, new String[] |
|---|
| 1454 | { |
|---|
| 1455 | "Time Stamp Description", "Date", "Time" |
|---|
| 1456 | })); |
|---|
| 1457 | jScrollPane10.setViewportView(timeStampsTable); |
|---|
| 1458 | |
|---|
| 1459 | userDataTimeStampField.setEditable(false); |
|---|
| 1460 | userDataTimeStampField.setText("(User-defined Timp Stamp)"); |
|---|
| 1461 | userDataTimeStampField.setEnabled(false); |
|---|
| 1462 | |
|---|
| 1463 | dateLabel.setText("Date:"); |
|---|
| 1464 | |
|---|
| 1465 | userDataDateField.setEditable(false); |
|---|
| 1466 | |
|---|
| 1467 | timeLabel.setText("Time:"); |
|---|
| 1468 | |
|---|
| 1469 | userDataTimeField.setEditable(false); |
|---|
| 1470 | |
|---|
| 1471 | userDataStampButton.setText("Stamp"); |
|---|
| 1472 | userDataStampButton.setEnabled(false); |
|---|
| 1473 | |
|---|
| 1474 | dataFieldsTable.setModel(new javax.swing.table.DefaultTableModel( |
|---|
| 1475 | null, new String[] |
|---|
| 1476 | { |
|---|
| 1477 | "Data Field Discription", "Data" |
|---|
| 1478 | })); |
|---|
| 1479 | |
|---|
| 1480 | jScrollPane11.setViewportView(dataFieldsTable); |
|---|
| 1481 | |
|---|
| 1482 | dataFieldsLabel.setText("Data Fields"); |
|---|
| 1483 | |
|---|
| 1484 | userDataDataField.setEditable(false); |
|---|
| 1485 | |
|---|
| 1486 | userDataCancelButton.setText("Cancel"); |
|---|
| 1487 | userDataCancelButton.setEnabled(false); |
|---|
| 1488 | |
|---|
| 1489 | userDataSaveButton.setText("Save"); |
|---|
| 1490 | userDataSaveButton.setEnabled(false); |
|---|
| 1491 | |
|---|
| 1492 | javax.swing.GroupLayout jPanel11Layout = new javax.swing.GroupLayout(jPanel11); |
|---|
| 1493 | jPanel11.setLayout(jPanel11Layout); |
|---|
| 1494 | jPanel11Layout.setHorizontalGroup( |
|---|
| 1495 | jPanel11Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
|---|
| 1496 | .addGroup(jPanel11Layout.createSequentialGroup() |
|---|
| 1497 | .addGroup(jPanel11Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING) |
|---|
| 1498 | .addComponent(jScrollPane10, javax.swing.GroupLayout.PREFERRED_SIZE, 370, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 1499 | .addGroup(jPanel11Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false) |
|---|
| 1500 | .addGroup(jPanel11Layout.createSequentialGroup() |
|---|
| 1501 | .addContainerGap() |
|---|
| 1502 | .addComponent(timeStampsLabel) |
|---|
| 1503 | .addGap(310, 310, 310)) |
|---|
| 1504 | .addGroup(jPanel11Layout.createSequentialGroup() |
|---|
| 1505 | .addGap(27, 27, 27) |
|---|
| 1506 | .addComponent(dateLabel) |
|---|
| 1507 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) |
|---|
| 1508 | .addGroup(jPanel11Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false) |
|---|
| 1509 | .addComponent(userDataTimeStampField, javax.swing.GroupLayout.PREFERRED_SIZE, 230, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 1510 | .addGroup(jPanel11Layout.createSequentialGroup() |
|---|
| 1511 | .addComponent(userDataDateField, javax.swing.GroupLayout.PREFERRED_SIZE, 80, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 1512 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) |
|---|
| 1513 | .addComponent(timeLabel) |
|---|
| 1514 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) |
|---|
| 1515 | .addComponent(userDataTimeField, javax.swing.GroupLayout.PREFERRED_SIZE, 80, javax.swing.GroupLayout.PREFERRED_SIZE))) |
|---|
| 1516 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) |
|---|
| 1517 | .addComponent(userDataStampButton, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)))) |
|---|
| 1518 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) |
|---|
| 1519 | .addGroup(jPanel11Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
|---|
| 1520 | .addComponent(jScrollPane11, javax.swing.GroupLayout.PREFERRED_SIZE, 0, Short.MAX_VALUE) |
|---|
| 1521 | .addGroup(jPanel11Layout.createSequentialGroup() |
|---|
| 1522 | .addComponent(dataFieldsLabel) |
|---|
| 1523 | .addGap(0, 0, Short.MAX_VALUE)) |
|---|
| 1524 | .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel11Layout.createSequentialGroup() |
|---|
| 1525 | .addGap(0, 90, Short.MAX_VALUE) |
|---|
| 1526 | .addComponent(userDataDataField, javax.swing.GroupLayout.PREFERRED_SIZE, 215, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 1527 | .addGap(18, 18, 18) |
|---|
| 1528 | .addGroup(jPanel11Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false) |
|---|
| 1529 | .addComponent(userDataCancelButton, javax.swing.GroupLayout.DEFAULT_SIZE, 70, Short.MAX_VALUE) |
|---|
| 1530 | .addComponent(userDataSaveButton, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)))) |
|---|
| 1531 | .addContainerGap())); |
|---|
| 1532 | jPanel11Layout.setVerticalGroup( |
|---|
| 1533 | jPanel11Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
|---|
| 1534 | .addGroup(jPanel11Layout.createSequentialGroup() |
|---|
| 1535 | .addContainerGap() |
|---|
| 1536 | .addGroup(jPanel11Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) |
|---|
| 1537 | .addComponent(timeStampsLabel) |
|---|
| 1538 | .addComponent(dataFieldsLabel)) |
|---|
| 1539 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) |
|---|
| 1540 | .addGroup(jPanel11Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false) |
|---|
| 1541 | .addComponent(jScrollPane11, javax.swing.GroupLayout.DEFAULT_SIZE, 170, Short.MAX_VALUE) |
|---|
| 1542 | .addComponent(jScrollPane10, javax.swing.GroupLayout.PREFERRED_SIZE, 0, Short.MAX_VALUE)) |
|---|
| 1543 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) |
|---|
| 1544 | .addGroup(jPanel11Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) |
|---|
| 1545 | .addComponent(userDataTimeStampField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 1546 | .addComponent(userDataCancelButton)) |
|---|
| 1547 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) |
|---|
| 1548 | .addGroup(jPanel11Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) |
|---|
| 1549 | .addComponent(dateLabel) |
|---|
| 1550 | .addComponent(userDataDateField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 1551 | .addComponent(timeLabel) |
|---|
| 1552 | .addComponent(userDataTimeField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 1553 | .addComponent(userDataStampButton) |
|---|
| 1554 | .addComponent(userDataSaveButton) |
|---|
| 1555 | .addComponent(userDataDataField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) |
|---|
| 1556 | .addContainerGap())); |
|---|
| 1557 | |
|---|
| 1558 | javax.swing.GroupLayout userDataPaneLayout = new javax.swing.GroupLayout(userDataPane); |
|---|
| 1559 | userDataPane.setLayout(userDataPaneLayout); |
|---|
| 1560 | userDataPaneLayout.setHorizontalGroup( |
|---|
| 1561 | userDataPaneLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
|---|
| 1562 | .addGroup(userDataPaneLayout.createSequentialGroup() |
|---|
| 1563 | .addContainerGap() |
|---|
| 1564 | .addComponent(jPanel11, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) |
|---|
| 1565 | .addContainerGap())); |
|---|
| 1566 | userDataPaneLayout.setVerticalGroup( |
|---|
| 1567 | userDataPaneLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
|---|
| 1568 | .addGroup(userDataPaneLayout.createSequentialGroup() |
|---|
| 1569 | .addContainerGap() |
|---|
| 1570 | .addComponent(jPanel11, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) |
|---|
| 1571 | .addGap(28, 28, 28))); |
|---|
| 1572 | |
|---|
| 1573 | attachmentsPane.setPreferredSize(new java.awt.Dimension(809, 300)); |
|---|
| 1574 | |
|---|
| 1575 | attachmentsTable.setModel(new javax.swing.table.DefaultTableModel( |
|---|
| 1576 | null, new String[] |
|---|
| 1577 | { |
|---|
| 1578 | "Data", "Attachment Type", "Size", "Description" |
|---|
| 1579 | })); |
|---|
| 1580 | jScrollPane12.setViewportView(attachmentsTable); |
|---|
| 1581 | |
|---|
| 1582 | fileNameLabel.setText("File Name:"); |
|---|
| 1583 | |
|---|
| 1584 | attachmentsFileNameField.setEditable(false); |
|---|
| 1585 | |
|---|
| 1586 | attachmentsDescriptionField.setEditable(false); |
|---|
| 1587 | |
|---|
| 1588 | attachmentsBrowseButton.setText("jButton38"); |
|---|
| 1589 | attachmentsBrowseButton.setEnabled(false); |
|---|
| 1590 | |
|---|
| 1591 | descriptionLabel.setText("Description:"); |
|---|
| 1592 | |
|---|
| 1593 | attachmentsAddButton.setText("Add"); |
|---|
| 1594 | attachmentsAddButton.setEnabled(false); |
|---|
| 1595 | |
|---|
| 1596 | attachmentsDeleteButton.setText("Delete"); |
|---|
| 1597 | attachmentsDeleteButton.setEnabled(false); |
|---|
| 1598 | |
|---|
| 1599 | attachmentsCancelButton.setText("Cancel"); |
|---|
| 1600 | attachmentsCancelButton.setEnabled(false); |
|---|
| 1601 | |
|---|
| 1602 | attachmentsSaveButton.setText("Save"); |
|---|
| 1603 | attachmentsSaveButton.setEnabled(false); |
|---|
| 1604 | |
|---|
| 1605 | javax.swing.GroupLayout attachmentsPaneLayout = new javax.swing.GroupLayout(attachmentsPane); |
|---|
| 1606 | attachmentsPane.setLayout(attachmentsPaneLayout); |
|---|
| 1607 | attachmentsPaneLayout.setHorizontalGroup( |
|---|
| 1608 | attachmentsPaneLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
|---|
| 1609 | .addGroup(attachmentsPaneLayout.createSequentialGroup() |
|---|
| 1610 | .addContainerGap() |
|---|
| 1611 | .addComponent(jScrollPane12, javax.swing.GroupLayout.PREFERRED_SIZE, 452, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 1612 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) |
|---|
| 1613 | .addGroup(attachmentsPaneLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
|---|
| 1614 | .addGroup(attachmentsPaneLayout.createSequentialGroup() |
|---|
| 1615 | .addGroup(attachmentsPaneLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING) |
|---|
| 1616 | .addComponent(fileNameLabel) |
|---|
| 1617 | .addComponent(descriptionLabel)) |
|---|
| 1618 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) |
|---|
| 1619 | .addGroup(attachmentsPaneLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
|---|
| 1620 | .addGroup(attachmentsPaneLayout.createSequentialGroup() |
|---|
| 1621 | .addComponent(attachmentsFileNameField, javax.swing.GroupLayout.PREFERRED_SIZE, 207, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 1622 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) |
|---|
| 1623 | .addComponent(attachmentsBrowseButton, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 1624 | .addGap(0, 27, Short.MAX_VALUE)) |
|---|
| 1625 | .addComponent(attachmentsDescriptionField))) |
|---|
| 1626 | .addGroup(attachmentsPaneLayout.createSequentialGroup() |
|---|
| 1627 | .addComponent(attachmentsAddButton, javax.swing.GroupLayout.PREFERRED_SIZE, 74, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 1628 | .addGap(0, 0, 0) |
|---|
| 1629 | .addComponent(attachmentsDeleteButton, javax.swing.GroupLayout.PREFERRED_SIZE, 74, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 1630 | .addGap(0, 0, 0) |
|---|
| 1631 | .addComponent(attachmentsCancelButton, javax.swing.GroupLayout.PREFERRED_SIZE, 74, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 1632 | .addGap(0, 0, 0) |
|---|
| 1633 | .addComponent(attachmentsSaveButton, javax.swing.GroupLayout.PREFERRED_SIZE, 74, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 1634 | .addGap(0, 0, Short.MAX_VALUE))) |
|---|
| 1635 | .addContainerGap())); |
|---|
| 1636 | attachmentsPaneLayout.setVerticalGroup( |
|---|
| 1637 | attachmentsPaneLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
|---|
| 1638 | .addGroup(attachmentsPaneLayout.createSequentialGroup() |
|---|
| 1639 | .addGroup(attachmentsPaneLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
|---|
| 1640 | .addGroup(attachmentsPaneLayout.createSequentialGroup() |
|---|
| 1641 | .addContainerGap() |
|---|
| 1642 | .addComponent(jScrollPane12, javax.swing.GroupLayout.PREFERRED_SIZE, 250, javax.swing.GroupLayout.PREFERRED_SIZE)) |
|---|
| 1643 | .addGroup(attachmentsPaneLayout.createSequentialGroup() |
|---|
| 1644 | .addGap(37, 37, 37) |
|---|
| 1645 | .addGroup(attachmentsPaneLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) |
|---|
| 1646 | .addComponent(fileNameLabel) |
|---|
| 1647 | .addComponent(attachmentsFileNameField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 1648 | .addComponent(attachmentsBrowseButton)) |
|---|
| 1649 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) |
|---|
| 1650 | .addGroup(attachmentsPaneLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) |
|---|
| 1651 | .addComponent(descriptionLabel) |
|---|
| 1652 | .addComponent(attachmentsDescriptionField, javax.swing.GroupLayout.PREFERRED_SIZE, 40, javax.swing.GroupLayout.PREFERRED_SIZE)) |
|---|
| 1653 | .addGap(36, 36, 36) |
|---|
| 1654 | .addGroup(attachmentsPaneLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) |
|---|
| 1655 | .addComponent(attachmentsAddButton) |
|---|
| 1656 | .addComponent(attachmentsDeleteButton) |
|---|
| 1657 | .addComponent(attachmentsCancelButton) |
|---|
| 1658 | .addComponent(attachmentsSaveButton)))) |
|---|
| 1659 | .addGap(48, 48, 48))); |
|---|
| 1660 | |
|---|
| 1661 | bottomTabbedPane.addTab("Additional Information", callBacksPane); |
|---|
| 1662 | bottomTabbedPane.addTab("Assignments", assignmentsPane); |
|---|
| 1663 | bottomTabbedPane.addTab("Activities", activitiesPane); |
|---|
| 1664 | bottomTabbedPane.addTab("Call Backs", callbacksPane); |
|---|
| 1665 | bottomTabbedPane.addTab("Comments/Notes", commentsNotesPane); |
|---|
| 1666 | bottomTabbedPane.addTab("Edit Log", editLogPane); |
|---|
| 1667 | bottomTabbedPane.addTab("Times", timesPane); |
|---|
| 1668 | bottomTabbedPane.addTab("Transport Info", transportInfoPane); |
|---|
| 1669 | bottomTabbedPane.addTab("User Data", userDataPane); |
|---|
| 1670 | bottomTabbedPane.addTab("Attachments", attachmentsPane); |
|---|
| 1671 | |
|---|
| 1672 | javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane()); |
|---|
| 1673 | getContentPane().setLayout(layout); |
|---|
| 1674 | layout.setHorizontalGroup( |
|---|
| 1675 | layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
|---|
| 1676 | .addGroup(layout.createSequentialGroup() |
|---|
| 1677 | .addContainerGap() |
|---|
| 1678 | .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
|---|
| 1679 | .addGroup(layout.createSequentialGroup() |
|---|
| 1680 | .addGap(10, 10, 10) |
|---|
| 1681 | .addComponent(lawLabel) |
|---|
| 1682 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) |
|---|
| 1683 | .addComponent(lawField, javax.swing.GroupLayout.PREFERRED_SIZE, 200, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 1684 | .addGap(26, 26, 26) |
|---|
| 1685 | .addComponent(fireLabel) |
|---|
| 1686 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) |
|---|
| 1687 | .addComponent(fireField, javax.swing.GroupLayout.PREFERRED_SIZE, 224, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 1688 | .addGap(18, 18, 18) |
|---|
| 1689 | .addComponent(emsLabel) |
|---|
| 1690 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) |
|---|
| 1691 | .addComponent(emsField, javax.swing.GroupLayout.PREFERRED_SIZE, 222, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 1692 | .addGap(47, 47, 47)) |
|---|
| 1693 | .addGroup(layout.createSequentialGroup() |
|---|
| 1694 | .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
|---|
| 1695 | .addGroup(layout.createSequentialGroup() |
|---|
| 1696 | .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
|---|
| 1697 | .addGroup(layout.createSequentialGroup() |
|---|
| 1698 | .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING) |
|---|
| 1699 | .addComponent(jLabel8) |
|---|
| 1700 | .addComponent(mediaLabel) |
|---|
| 1701 | .addComponent(agencyLabel) |
|---|
| 1702 | .addComponent(locationLabel) |
|---|
| 1703 | .addComponent(mapLocLabel)) |
|---|
| 1704 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) |
|---|
| 1705 | .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false) |
|---|
| 1706 | .addGroup(layout.createSequentialGroup() |
|---|
| 1707 | .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false) |
|---|
| 1708 | .addGroup(layout.createSequentialGroup() |
|---|
| 1709 | .addComponent(agencyComboBox, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 1710 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED) |
|---|
| 1711 | .addComponent(typeCodeLabel) |
|---|
| 1712 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) |
|---|
| 1713 | .addComponent(typeCodeComboBox, javax.swing.GroupLayout.PREFERRED_SIZE, 115, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 1714 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED) |
|---|
| 1715 | .addComponent(priLabel) |
|---|
| 1716 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) |
|---|
| 1717 | .addComponent(priComboBox, 0, 1, Short.MAX_VALUE)) |
|---|
| 1718 | .addGroup(layout.createSequentialGroup() |
|---|
| 1719 | .addComponent(addressField, javax.swing.GroupLayout.PREFERRED_SIZE, 239, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 1720 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) |
|---|
| 1721 | .addComponent(aptLabel) |
|---|
| 1722 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) |
|---|
| 1723 | .addComponent(aptField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) |
|---|
| 1724 | .addComponent(locationField, javax.swing.GroupLayout.PREFERRED_SIZE, 286, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 1725 | .addGroup(layout.createSequentialGroup() |
|---|
| 1726 | .addComponent(mediaComboBox, javax.swing.GroupLayout.PREFERRED_SIZE, 75, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 1727 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED) |
|---|
| 1728 | .addComponent(confidentialCommentCheckBox))) |
|---|
| 1729 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) |
|---|
| 1730 | .addComponent(rightOfPriButton, javax.swing.GroupLayout.PREFERRED_SIZE, 40, javax.swing.GroupLayout.PREFERRED_SIZE)) |
|---|
| 1731 | .addComponent(jScrollPane2, javax.swing.GroupLayout.PREFERRED_SIZE, 373, javax.swing.GroupLayout.PREFERRED_SIZE))) |
|---|
| 1732 | .addGroup(layout.createSequentialGroup() |
|---|
| 1733 | .addGap(35, 35, 35) |
|---|
| 1734 | .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false) |
|---|
| 1735 | .addComponent(addFspChpButton) |
|---|
| 1736 | .addComponent(hubXterButton)) |
|---|
| 1737 | .addGap(32, 32, 32) |
|---|
| 1738 | .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING) |
|---|
| 1739 | .addComponent(aniAliButton, javax.swing.GroupLayout.PREFERRED_SIZE, 55, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 1740 | .addComponent(unitRecButton, javax.swing.GroupLayout.PREFERRED_SIZE, 55, javax.swing.GroupLayout.PREFERRED_SIZE)) |
|---|
| 1741 | .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
|---|
| 1742 | .addComponent(updateMapLocButton, javax.swing.GroupLayout.PREFERRED_SIZE, 55, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 1743 | .addComponent(showAllButton, javax.swing.GroupLayout.PREFERRED_SIZE, 55, javax.swing.GroupLayout.PREFERRED_SIZE)) |
|---|
| 1744 | .addGap(51, 51, 51) |
|---|
| 1745 | .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
|---|
| 1746 | .addGroup(layout.createSequentialGroup() |
|---|
| 1747 | .addComponent(sentToQButton, javax.swing.GroupLayout.PREFERRED_SIZE, 55, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 1748 | .addGap(0, 0, 0) |
|---|
| 1749 | .addComponent(fileButton, javax.swing.GroupLayout.PREFERRED_SIZE, 55, javax.swing.GroupLayout.PREFERRED_SIZE)) |
|---|
| 1750 | .addComponent(exitSendButton, javax.swing.GroupLayout.PREFERRED_SIZE, 110, javax.swing.GroupLayout.PREFERRED_SIZE)))) |
|---|
| 1751 | .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
|---|
| 1752 | .addGroup(layout.createSequentialGroup() |
|---|
| 1753 | .addGap(20, 20, 20) |
|---|
| 1754 | .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
|---|
| 1755 | .addComponent(crossStLabel, javax.swing.GroupLayout.Alignment.TRAILING) |
|---|
| 1756 | .addComponent(cityLabel, javax.swing.GroupLayout.Alignment.TRAILING) |
|---|
| 1757 | .addComponent(rpLabel, javax.swing.GroupLayout.Alignment.TRAILING) |
|---|
| 1758 | .addComponent(phoneLabel, javax.swing.GroupLayout.Alignment.TRAILING) |
|---|
| 1759 | .addComponent(aliLabel, javax.swing.GroupLayout.Alignment.TRAILING) |
|---|
| 1760 | .addComponent(rpTypeLabel, javax.swing.GroupLayout.Alignment.TRAILING) |
|---|
| 1761 | .addComponent(sectorLabel, javax.swing.GroupLayout.Alignment.TRAILING)) |
|---|
| 1762 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) |
|---|
| 1763 | .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
|---|
| 1764 | .addComponent(crossStField) |
|---|
| 1765 | .addGroup(layout.createSequentialGroup() |
|---|
| 1766 | .addComponent(cityComboBox, javax.swing.GroupLayout.PREFERRED_SIZE, 120, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 1767 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED) |
|---|
| 1768 | .addComponent(countyLabel) |
|---|
| 1769 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) |
|---|
| 1770 | .addComponent(countyComboBox, 0, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) |
|---|
| 1771 | .addComponent(rpField) |
|---|
| 1772 | .addGroup(layout.createSequentialGroup() |
|---|
| 1773 | .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
|---|
| 1774 | .addGroup(layout.createSequentialGroup() |
|---|
| 1775 | .addComponent(sectorComboBox, javax.swing.GroupLayout.PREFERRED_SIZE, 145, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 1776 | .addGap(18, 18, 18) |
|---|
| 1777 | .addComponent(beatLabel)) |
|---|
| 1778 | .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false) |
|---|
| 1779 | .addGroup(layout.createSequentialGroup() |
|---|
| 1780 | .addComponent(phoneField, javax.swing.GroupLayout.PREFERRED_SIZE, 155, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 1781 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED) |
|---|
| 1782 | .addComponent(extLabel) |
|---|
| 1783 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) |
|---|
| 1784 | .addComponent(extField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) |
|---|
| 1785 | .addComponent(rpTypeComboBox, 0, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) |
|---|
| 1786 | .addComponent(aliField, javax.swing.GroupLayout.PREFERRED_SIZE, 252, javax.swing.GroupLayout.PREFERRED_SIZE))) |
|---|
| 1787 | .addGap(0, 0, Short.MAX_VALUE)))) |
|---|
| 1788 | .addGroup(layout.createSequentialGroup() |
|---|
| 1789 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) |
|---|
| 1790 | .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
|---|
| 1791 | .addGroup(layout.createSequentialGroup() |
|---|
| 1792 | .addComponent(informationButton, javax.swing.GroupLayout.PREFERRED_SIZE, 35, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 1793 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) |
|---|
| 1794 | .addComponent(carButton, javax.swing.GroupLayout.PREFERRED_SIZE, 35, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 1795 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) |
|---|
| 1796 | .addComponent(personButton, javax.swing.GroupLayout.PREFERRED_SIZE, 35, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 1797 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) |
|---|
| 1798 | .addComponent(towRotationButton)) |
|---|
| 1799 | .addGroup(layout.createSequentialGroup() |
|---|
| 1800 | .addComponent(mapButton, javax.swing.GroupLayout.PREFERRED_SIZE, 40, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 1801 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) |
|---|
| 1802 | .addComponent(premiseButton, javax.swing.GroupLayout.PREFERRED_SIZE, 40, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 1803 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) |
|---|
| 1804 | .addComponent(historyButton, javax.swing.GroupLayout.PREFERRED_SIZE, 40, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 1805 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) |
|---|
| 1806 | .addComponent(cautionButton, javax.swing.GroupLayout.PREFERRED_SIZE, 40, javax.swing.GroupLayout.PREFERRED_SIZE))) |
|---|
| 1807 | .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
|---|
| 1808 | .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup() |
|---|
| 1809 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) |
|---|
| 1810 | .addComponent(addButton) |
|---|
| 1811 | .addGap(45, 45, 45)) |
|---|
| 1812 | .addGroup(layout.createSequentialGroup() |
|---|
| 1813 | .addGap(6, 6, 6) |
|---|
| 1814 | .addComponent(jScrollPane13, javax.swing.GroupLayout.PREFERRED_SIZE, 125, javax.swing.GroupLayout.PREFERRED_SIZE)) |
|---|
| 1815 | .addGroup(layout.createSequentialGroup() |
|---|
| 1816 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED) |
|---|
| 1817 | .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
|---|
| 1818 | .addComponent(licensePlateInfoLabel) |
|---|
| 1819 | .addGroup(layout.createSequentialGroup() |
|---|
| 1820 | .addGap(30, 30, 30) |
|---|
| 1821 | .addComponent(beatComboBox, 0, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)))))))) |
|---|
| 1822 | .addComponent(bottomTabbedPane, javax.swing.GroupLayout.Alignment.TRAILING)) |
|---|
| 1823 | .addContainerGap())))); |
|---|
| 1824 | layout.setVerticalGroup( |
|---|
| 1825 | layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
|---|
| 1826 | .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup() |
|---|
| 1827 | .addContainerGap() |
|---|
| 1828 | .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) |
|---|
| 1829 | .addComponent(mapLocLabel) |
|---|
| 1830 | .addComponent(addressField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 1831 | .addComponent(aptLabel) |
|---|
| 1832 | .addComponent(aptField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 1833 | .addComponent(crossStLabel) |
|---|
| 1834 | .addComponent(crossStField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) |
|---|
| 1835 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) |
|---|
| 1836 | .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) |
|---|
| 1837 | .addComponent(locationLabel) |
|---|
| 1838 | .addComponent(locationField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 1839 | .addComponent(cityLabel) |
|---|
| 1840 | .addComponent(cityComboBox, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 1841 | .addComponent(countyLabel) |
|---|
| 1842 | .addComponent(countyComboBox, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) |
|---|
| 1843 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) |
|---|
| 1844 | .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
|---|
| 1845 | .addGroup(layout.createSequentialGroup() |
|---|
| 1846 | .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) |
|---|
| 1847 | .addComponent(agencyLabel) |
|---|
| 1848 | .addComponent(agencyComboBox, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 1849 | .addComponent(typeCodeLabel) |
|---|
| 1850 | .addComponent(typeCodeComboBox, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 1851 | .addComponent(priLabel) |
|---|
| 1852 | .addComponent(priComboBox, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) |
|---|
| 1853 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) |
|---|
| 1854 | .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) |
|---|
| 1855 | .addComponent(mediaLabel) |
|---|
| 1856 | .addComponent(mediaComboBox, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 1857 | .addComponent(confidentialCommentCheckBox))) |
|---|
| 1858 | .addGroup(layout.createSequentialGroup() |
|---|
| 1859 | .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) |
|---|
| 1860 | .addComponent(rpLabel) |
|---|
| 1861 | .addComponent(rpField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) |
|---|
| 1862 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) |
|---|
| 1863 | .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) |
|---|
| 1864 | .addComponent(phoneLabel) |
|---|
| 1865 | .addComponent(phoneField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 1866 | .addComponent(extLabel) |
|---|
| 1867 | .addComponent(extField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))) |
|---|
| 1868 | .addComponent(rightOfPriButton, javax.swing.GroupLayout.PREFERRED_SIZE, 40, javax.swing.GroupLayout.PREFERRED_SIZE)) |
|---|
| 1869 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) |
|---|
| 1870 | .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
|---|
| 1871 | .addGroup(layout.createSequentialGroup() |
|---|
| 1872 | .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) |
|---|
| 1873 | .addComponent(aliField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 1874 | .addComponent(aliLabel)) |
|---|
| 1875 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) |
|---|
| 1876 | .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) |
|---|
| 1877 | .addComponent(rpTypeLabel) |
|---|
| 1878 | .addComponent(rpTypeComboBox, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) |
|---|
| 1879 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) |
|---|
| 1880 | .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) |
|---|
| 1881 | .addComponent(sectorComboBox, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 1882 | .addComponent(beatLabel) |
|---|
| 1883 | .addComponent(beatComboBox, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 1884 | .addComponent(sectorLabel)) |
|---|
| 1885 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) |
|---|
| 1886 | .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
|---|
| 1887 | .addGroup(layout.createSequentialGroup() |
|---|
| 1888 | .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) |
|---|
| 1889 | .addComponent(carButton, javax.swing.GroupLayout.PREFERRED_SIZE, 35, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 1890 | .addComponent(informationButton, javax.swing.GroupLayout.PREFERRED_SIZE, 35, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 1891 | .addComponent(personButton, javax.swing.GroupLayout.PREFERRED_SIZE, 35, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 1892 | .addComponent(towRotationButton)) |
|---|
| 1893 | .addGap(15, 15, 15) |
|---|
| 1894 | .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) |
|---|
| 1895 | .addComponent(mapButton, javax.swing.GroupLayout.PREFERRED_SIZE, 40, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 1896 | .addComponent(premiseButton, javax.swing.GroupLayout.PREFERRED_SIZE, 40, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 1897 | .addComponent(historyButton, javax.swing.GroupLayout.PREFERRED_SIZE, 40, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 1898 | .addComponent(cautionButton, javax.swing.GroupLayout.PREFERRED_SIZE, 40, javax.swing.GroupLayout.PREFERRED_SIZE))) |
|---|
| 1899 | .addGroup(layout.createSequentialGroup() |
|---|
| 1900 | .addComponent(licensePlateInfoLabel) |
|---|
| 1901 | .addGap(4, 4, 4) |
|---|
| 1902 | .addComponent(jScrollPane13, javax.swing.GroupLayout.PREFERRED_SIZE, 46, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 1903 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) |
|---|
| 1904 | .addComponent(addButton)))) |
|---|
| 1905 | .addGroup(layout.createSequentialGroup() |
|---|
| 1906 | .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING) |
|---|
| 1907 | .addGroup(layout.createSequentialGroup() |
|---|
| 1908 | .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
|---|
| 1909 | .addComponent(jLabel8) |
|---|
| 1910 | .addComponent(jScrollPane2, javax.swing.GroupLayout.PREFERRED_SIZE, 100, javax.swing.GroupLayout.PREFERRED_SIZE)) |
|---|
| 1911 | .addGap(0, 0, 0) |
|---|
| 1912 | .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
|---|
| 1913 | .addComponent(aniAliButton, javax.swing.GroupLayout.PREFERRED_SIZE, 35, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 1914 | .addComponent(updateMapLocButton, javax.swing.GroupLayout.PREFERRED_SIZE, 35, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 1915 | .addComponent(hubXterButton, javax.swing.GroupLayout.PREFERRED_SIZE, 35, javax.swing.GroupLayout.PREFERRED_SIZE))) |
|---|
| 1916 | .addComponent(exitSendButton, javax.swing.GroupLayout.PREFERRED_SIZE, 35, javax.swing.GroupLayout.PREFERRED_SIZE)) |
|---|
| 1917 | .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
|---|
| 1918 | .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) |
|---|
| 1919 | .addComponent(unitRecButton, javax.swing.GroupLayout.PREFERRED_SIZE, 35, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 1920 | .addComponent(showAllButton, javax.swing.GroupLayout.PREFERRED_SIZE, 35, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 1921 | .addComponent(sentToQButton, javax.swing.GroupLayout.PREFERRED_SIZE, 35, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 1922 | .addComponent(fileButton, javax.swing.GroupLayout.PREFERRED_SIZE, 35, javax.swing.GroupLayout.PREFERRED_SIZE)) |
|---|
| 1923 | .addComponent(addFspChpButton, javax.swing.GroupLayout.PREFERRED_SIZE, 35, javax.swing.GroupLayout.PREFERRED_SIZE)))) |
|---|
| 1924 | .addGap(5, 5, 5) |
|---|
| 1925 | .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
|---|
| 1926 | .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) |
|---|
| 1927 | .addComponent(lawLabel) |
|---|
| 1928 | .addComponent(lawField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) |
|---|
| 1929 | .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) |
|---|
| 1930 | .addComponent(fireLabel) |
|---|
| 1931 | .addComponent(fireField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) |
|---|
| 1932 | .addComponent(emsLabel) |
|---|
| 1933 | .addComponent(emsField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))) |
|---|
| 1934 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) |
|---|
| 1935 | .addComponent(bottomTabbedPane, javax.swing.GroupLayout.PREFERRED_SIZE, 330, Short.MAX_VALUE) |
|---|
| 1936 | .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))); |
|---|
| 1937 | |
|---|
| 1938 | pack(); |
|---|
| 1939 | }// </editor-fold> |
|---|
| 1940 | |
|---|
| 1941 | public JButton makeButton(ImageIcon image, ActionListener listener) |
|---|
| 1942 | { |
|---|
| 1943 | JButton button = new JButton(image); |
|---|
| 1944 | Dimension size = new Dimension(image.getImage().getWidth(null), image.getImage().getHeight(null)); |
|---|
| 1945 | button.setPreferredSize(size); |
|---|
| 1946 | button.setMinimumSize(size); |
|---|
| 1947 | button.setMaximumSize(size); |
|---|
| 1948 | button.setBorderPainted(false); |
|---|
| 1949 | button.addActionListener(listener); |
|---|
| 1950 | return button; |
|---|
| 1951 | } |
|---|
| 1952 | |
|---|
| 1953 | /* |
|---|
| 1954 | * Updates the data stored in the incidents class upon exit. |
|---|
| 1955 | */ |
|---|
| 1956 | public void saveInformation() |
|---|
| 1957 | { |
|---|
| 1958 | try |
|---|
| 1959 | { |
|---|
| 1960 | ScreenManager.theCoordinator.setCadDataIncLoc(INC_LOC.ADDRESS, |
|---|
| 1961 | incidentId, addressField.getText()); |
|---|
| 1962 | ScreenManager.theCoordinator.setCadDataIncLoc(INC_LOC.LOC, |
|---|
| 1963 | incidentId, locationField.getText()); |
|---|
| 1964 | ScreenManager.theCoordinator.setCadDataIncLoc(INC_LOC.APT, |
|---|
| 1965 | incidentId, aptField.getText()); |
|---|
| 1966 | ScreenManager.theCoordinator.setCadDataIncLoc(INC_LOC.CROSS_ST, |
|---|
| 1967 | incidentId, crossStField.getText()); |
|---|
| 1968 | ScreenManager.theCoordinator.setCadDataIncVal(INC_VAL.RP, |
|---|
| 1969 | incidentId, rpField.getText()); |
|---|
| 1970 | ScreenManager.theCoordinator.setCadDataIncCaller(INC_CALLER.PHONE, |
|---|
| 1971 | incidentId, phoneField.getText()); |
|---|
| 1972 | ScreenManager.theCoordinator.setCadDataIncCaller(INC_CALLER.EXT, |
|---|
| 1973 | incidentId, extField.getText()); |
|---|
| 1974 | ScreenManager.theCoordinator.setCadDataIncLoc(INC_LOC.LAW, |
|---|
| 1975 | incidentId, lawField.getText()); |
|---|
| 1976 | ScreenManager.theCoordinator.setCadDataIncLoc(INC_LOC.FIRE, |
|---|
| 1977 | incidentId, fireField.getText()); |
|---|
| 1978 | ScreenManager.theCoordinator.setCadDataIncLoc(INC_LOC.EMS, |
|---|
| 1979 | incidentId, emsField.getText()); |
|---|
| 1980 | // cadData.getIncident(incidentId).getCallBacks().setComment(callBackCommentField.getText()); |
|---|
| 1981 | |
|---|
| 1982 | ScreenManager.theCoordinator.setCadDataIncGenInfo(INC_GEN_INFO.AGY, |
|---|
| 1983 | incidentId, (String) agencyComboBox.getSelectedItem()); |
|---|
| 1984 | ScreenManager.theCoordinator.setCadDataIncAddInfo( |
|---|
| 1985 | INC_ADD_INFO.TYPE, incidentId, |
|---|
| 1986 | (String) typeCodeComboBox.getSelectedItem()); |
|---|
| 1987 | ScreenManager.theCoordinator.setCadDataIncVal(INC_VAL.P, |
|---|
| 1988 | incidentId, (String) priComboBox.getSelectedItem()); |
|---|
| 1989 | ScreenManager.theCoordinator.setCadDataIncVal(INC_VAL.MEDIA, |
|---|
| 1990 | incidentId, (String) mediaComboBox.getSelectedItem()); |
|---|
| 1991 | ScreenManager.theCoordinator.setCadDataIncLoc(INC_LOC.CITY, |
|---|
| 1992 | incidentId, (String) cityComboBox.getSelectedItem()); |
|---|
| 1993 | ScreenManager.theCoordinator.setCadDataIncLoc(INC_LOC.COUNTY, |
|---|
| 1994 | incidentId, (String) countyComboBox.getSelectedItem()); |
|---|
| 1995 | ScreenManager.theCoordinator.setCadDataIncVal(INC_VAL.RP_TYPE, |
|---|
| 1996 | incidentId, (String) rpTypeComboBox.getSelectedItem()); |
|---|
| 1997 | ScreenManager.theCoordinator.setCadDataIncLoc(INC_LOC.SECTOR, |
|---|
| 1998 | incidentId, (String) sectorComboBox.getSelectedItem()); |
|---|
| 1999 | ScreenManager.theCoordinator.setCadDataIncLoc(INC_LOC.BEAT, |
|---|
| 2000 | incidentId, (String) beatComboBox.getSelectedItem()); |
|---|
| 2001 | } catch (RemoteException e) |
|---|
| 2002 | { |
|---|
| 2003 | e.printStackTrace(); |
|---|
| 2004 | } |
|---|
| 2005 | } |
|---|
| 2006 | |
|---|
| 2007 | /* |
|---|
| 2008 | * Updates all the strings. |
|---|
| 2009 | * |
|---|
| 2010 | * @see tmcsimulator.cadclient.data.cadData.vectorForIncidentViewer(String |
|---|
| 2011 | * incidentId) for matching up strings. |
|---|
| 2012 | */ |
|---|
| 2013 | public void refreshInformation() |
|---|
| 2014 | { |
|---|
| 2015 | try |
|---|
| 2016 | { |
|---|
| 2017 | addressField.setText(ScreenManager.theCoordinator.getCadDataIncLoc( |
|---|
| 2018 | INC_LOC.ADDRESS, incidentId)); |
|---|
| 2019 | locationField.setText(ScreenManager.theCoordinator |
|---|
| 2020 | .getCadDataIncLoc(INC_LOC.LOC, incidentId)); |
|---|
| 2021 | aptField.setText(ScreenManager.theCoordinator.getCadDataIncLoc( |
|---|
| 2022 | INC_LOC.APT, incidentId)); |
|---|
| 2023 | crossStField.setText(ScreenManager.theCoordinator.getCadDataIncLoc( |
|---|
| 2024 | INC_LOC.CROSS_ST, incidentId)); |
|---|
| 2025 | rpField.setText((String) ScreenManager.theCoordinator |
|---|
| 2026 | .getCadDataIncVal(INC_VAL.RP, incidentId)); |
|---|
| 2027 | phoneField.setText(ScreenManager.theCoordinator |
|---|
| 2028 | .getCadDataIncCaller(INC_CALLER.PHONE, incidentId)); |
|---|
| 2029 | extField.setText(ScreenManager.theCoordinator.getCadDataIncCaller( |
|---|
| 2030 | INC_CALLER.EXT, incidentId)); |
|---|
| 2031 | aliField.setText((String) ScreenManager.theCoordinator |
|---|
| 2032 | .getCadDataIncVal(INC_VAL.ALI, incidentId)); |
|---|
| 2033 | lawField.setText(ScreenManager.theCoordinator.getCadDataIncLoc( |
|---|
| 2034 | INC_LOC.LAW, incidentId)); |
|---|
| 2035 | fireField.setText(ScreenManager.theCoordinator.getCadDataIncLoc( |
|---|
| 2036 | INC_LOC.FIRE, incidentId)); |
|---|
| 2037 | emsField.setText(ScreenManager.theCoordinator.getCadDataIncLoc( |
|---|
| 2038 | INC_LOC.EMS, incidentId)); |
|---|
| 2039 | addInfoIncidentNumField |
|---|
| 2040 | .setText((String) ScreenManager.theCoordinator |
|---|
| 2041 | .getCadDataIncVal(INC_VAL.MASTER_INC, incidentId)); |
|---|
| 2042 | addInfoIncidentTypeField.setText(ScreenManager.theCoordinator |
|---|
| 2043 | .getCadDataIncAddInfo(INC_ADD_INFO.TYPE, incidentId)); |
|---|
| 2044 | addInfoCallTakenField.setText(ScreenManager.theCoordinator |
|---|
| 2045 | .getCadDataIncInfo(INC_INFO.CALL_TAKEN, incidentId)); |
|---|
| 2046 | addInfoMachineNameField.setText(ScreenManager.theCoordinator |
|---|
| 2047 | .getCadDataIncAddInfo(INC_ADD_INFO.MACHINE, incidentId)); |
|---|
| 2048 | addInfoCallTakerPhoneExtField.setText(ScreenManager.theCoordinator |
|---|
| 2049 | .getCadDataIncAddInfo(INC_ADD_INFO.CALL_TAKER_EXT, |
|---|
| 2050 | incidentId)); |
|---|
| 2051 | addInfoCallStatusField |
|---|
| 2052 | .setText(ScreenManager.theCoordinator.getCadDataIncAddInfo( |
|---|
| 2053 | INC_ADD_INFO.CALL_STATUS, incidentId)); |
|---|
| 2054 | addInfoAlarmLevelField |
|---|
| 2055 | .setText(ScreenManager.theCoordinator.getCadDataIncAddInfo( |
|---|
| 2056 | INC_ADD_INFO.ALARM_LEVEL, incidentId)); |
|---|
| 2057 | addInfoRotationProviderAreaField |
|---|
| 2058 | .setText(ScreenManager.theCoordinator.getCadDataIncAddInfo( |
|---|
| 2059 | INC_ADD_INFO.ROTATION_PROVIDER_AREA, incidentId)); |
|---|
| 2060 | addInfoCommentsField.setText(ScreenManager.theCoordinator |
|---|
| 2061 | .getCadDataIncAddInfo(INC_ADD_INFO.COMMENT, incidentId)); |
|---|
| 2062 | callBackCommentField.setText(ScreenManager.theCoordinator |
|---|
| 2063 | .getCadDataIncCallBack(INC_CALLBACK.COMMENT, incidentId)); |
|---|
| 2064 | timesRingField.setText(ScreenManager.theCoordinator |
|---|
| 2065 | .getCadDataIncTimes(INC_TIMES.RING, incidentId)); |
|---|
| 2066 | timesInQueueField.setText(ScreenManager.theCoordinator |
|---|
| 2067 | .getCadDataIncTimes(INC_TIMES.IN_QUEUE, incidentId)); |
|---|
| 2068 | timesAllAvailableField.setText(ScreenManager.theCoordinator |
|---|
| 2069 | .getCadDataIncTimes(INC_TIMES.ALL_AVAILABLE, incidentId)); |
|---|
| 2070 | timesCallClosedField.setText(ScreenManager.theCoordinator |
|---|
| 2071 | .getCadDataIncTimes(INC_TIMES.CALL_CLOSED, incidentId)); |
|---|
| 2072 | |
|---|
| 2073 | agencyComboBox.setSelectedItem(ScreenManager.theCoordinator |
|---|
| 2074 | .getCadDataIncGenInfo(INC_GEN_INFO.AGY, incidentId)); |
|---|
| 2075 | typeCodeComboBox.setSelectedItem(ScreenManager.theCoordinator |
|---|
| 2076 | .getCadDataIncAddInfo(INC_ADD_INFO.TYPE, incidentId)); |
|---|
| 2077 | priComboBox.setSelectedItem((String) ScreenManager.theCoordinator |
|---|
| 2078 | .getCadDataIncVal(INC_VAL.P, incidentId)); |
|---|
| 2079 | mediaComboBox.setSelectedItem((String) ScreenManager.theCoordinator |
|---|
| 2080 | .getCadDataIncVal(INC_VAL.MEDIA, incidentId)); |
|---|
| 2081 | cityComboBox.setSelectedItem(ScreenManager.theCoordinator |
|---|
| 2082 | .getCadDataIncLoc(INC_LOC.CITY, incidentId)); |
|---|
| 2083 | countyComboBox.setSelectedItem(ScreenManager.theCoordinator |
|---|
| 2084 | .getCadDataIncLoc(INC_LOC.COUNTY, incidentId)); |
|---|
| 2085 | rpTypeComboBox |
|---|
| 2086 | .setSelectedItem((String) ScreenManager.theCoordinator |
|---|
| 2087 | .getCadDataIncVal(INC_VAL.RP_TYPE, incidentId)); |
|---|
| 2088 | sectorComboBox.setSelectedItem(ScreenManager.theCoordinator |
|---|
| 2089 | .getCadDataIncLoc(INC_LOC.SECTOR, incidentId)); |
|---|
| 2090 | beatComboBox.setSelectedItem(ScreenManager.theCoordinator |
|---|
| 2091 | .getCadDataIncLoc(INC_LOC.BEAT, incidentId)); |
|---|
| 2092 | |
|---|
| 2093 | // callBackCommentTable.setModel(cadData.getIncident(incidentId).getCallBackCommentTable()); |
|---|
| 2094 | } catch (RemoteException e) |
|---|
| 2095 | { |
|---|
| 2096 | e.printStackTrace(); |
|---|
| 2097 | } |
|---|
| 2098 | // refreshLicenseTable(incidentId); |
|---|
| 2099 | |
|---|
| 2100 | } |
|---|
| 2101 | |
|---|
| 2102 | /* |
|---|
| 2103 | * Displays the information of the latest incident clicked. |
|---|
| 2104 | */ |
|---|
| 2105 | public void open() |
|---|
| 2106 | { |
|---|
| 2107 | try |
|---|
| 2108 | { |
|---|
| 2109 | if (!ScreenManager.theCoordinator |
|---|
| 2110 | .checkForValidIncidentID(incidentId)) |
|---|
| 2111 | { |
|---|
| 2112 | return; |
|---|
| 2113 | } |
|---|
| 2114 | |
|---|
| 2115 | // stack.push(incidentId); JD removed stack, it was broken |
|---|
| 2116 | refreshInformation(); |
|---|
| 2117 | setTitle("Incident Viewer- Incident ID [" |
|---|
| 2118 | + ScreenManager.theCoordinator.getCadDataIncVal( |
|---|
| 2119 | INC_VAL.LOG_NUM, incidentId) |
|---|
| 2120 | + "] Master Incident ID[" |
|---|
| 2121 | + ScreenManager.theCoordinator.getCadDataIncVal( |
|---|
| 2122 | INC_VAL.MASTER_INC, incidentId) + "]"); |
|---|
| 2123 | setVisible(true); |
|---|
| 2124 | bottomTabbedPane.setSelectedIndex(4); |
|---|
| 2125 | commentsNotesTable.setModel(ScreenManager.theCoordinator |
|---|
| 2126 | .getCadDataIncidentTable(INC_TABLE.COMMENTS_NOTES, |
|---|
| 2127 | incidentId)); |
|---|
| 2128 | commentsNotesTable.getColumnModel().getColumn(0).setPreferredWidth(50); |
|---|
| 2129 | commentsNotesTable.getColumnModel().getColumn(1).setPreferredWidth(50); |
|---|
| 2130 | commentsNotesTable.getColumnModel().getColumn(2).setPreferredWidth(15); |
|---|
| 2131 | commentsNotesTable.getColumnModel().getColumn(3).setPreferredWidth(15); |
|---|
| 2132 | commentsNotesTable.getColumnModel().getColumn(4).setPreferredWidth(400); |
|---|
| 2133 | commentsNotesTable.getColumnModel().getColumn(4).setCellRenderer(new LogEntryCellRenderer()); |
|---|
| 2134 | |
|---|
| 2135 | commentsNotesField.setText(""); |
|---|
| 2136 | commentsNotesField.setEditable(false); |
|---|
| 2137 | commentsNotesField.setBackground(java.awt.Color.LIGHT_GRAY); // JD |
|---|
| 2138 | commentsNotesAddButton.setEnabled(true); |
|---|
| 2139 | commentsNotesCancelButton.setEnabled(false); |
|---|
| 2140 | commentsNotesSaveButton.setEnabled(false); |
|---|
| 2141 | |
|---|
| 2142 | } catch (RemoteException e) |
|---|
| 2143 | { |
|---|
| 2144 | e.printStackTrace(); |
|---|
| 2145 | } |
|---|
| 2146 | } |
|---|
| 2147 | |
|---|
| 2148 | // JD Invoked by timer every 5 seconds. |
|---|
| 2149 | public void refreshCommentsNotesTable() |
|---|
| 2150 | { |
|---|
| 2151 | try |
|---|
| 2152 | { |
|---|
| 2153 | commentsNotesTable.setModel(ScreenManager.theCoordinator |
|---|
| 2154 | .getCadDataIncidentTable(INC_TABLE.COMMENTS_NOTES, |
|---|
| 2155 | incidentId)); |
|---|
| 2156 | //Set up tool tips for the comments column |
|---|
| 2157 | commentsNotesTable.getColumnModel().getColumn(4).setCellRenderer(new LogEntryCellRenderer()); |
|---|
| 2158 | |
|---|
| 2159 | // resets the column widths to preferred width |
|---|
| 2160 | // this will essentially mean any user changes are reset |
|---|
| 2161 | commentsNotesTable.getColumnModel().getColumn(0).setPreferredWidth(50); |
|---|
| 2162 | commentsNotesTable.getColumnModel().getColumn(1).setPreferredWidth(50); |
|---|
| 2163 | commentsNotesTable.getColumnModel().getColumn(2).setPreferredWidth(15); |
|---|
| 2164 | commentsNotesTable.getColumnModel().getColumn(3).setPreferredWidth(15); |
|---|
| 2165 | commentsNotesTable.getColumnModel().getColumn(4).setPreferredWidth(400); |
|---|
| 2166 | } catch (RemoteException e) |
|---|
| 2167 | { |
|---|
| 2168 | e.printStackTrace(); |
|---|
| 2169 | } |
|---|
| 2170 | } |
|---|
| 2171 | /* |
|---|
| 2172 | * Closes the information of the latest incident clicked. Closes screen if |
|---|
| 2173 | * there were no previous incidents in the stack. |
|---|
| 2174 | */ |
|---|
| 2175 | |
|---|
| 2176 | public void close() |
|---|
| 2177 | { // JD got rid of the stack, since it was broken anyway. |
|---|
| 2178 | saveInformation(); |
|---|
| 2179 | setVisible(false); |
|---|
| 2180 | |
|---|
| 2181 | /* saveInformation(stack.peek()); |
|---|
| 2182 | stack.pop(); |
|---|
| 2183 | setVisible(false); |
|---|
| 2184 | refreshInformation(stack.peek()); |
|---|
| 2185 | // Is there a defect that this line wasn't coded? Because when the |
|---|
| 2186 | // incident is closed, all info is refreshed EXCEPT the comments table |
|---|
| 2187 | // commentsNotesTable.setModel(ScreenManager.theCoordinator |
|---|
| 2188 | // .getCadDataIncidentTable(INC_TABLE.COMMENTS_NOTES, |
|---|
| 2189 | // incidentId)); |
|---|
| 2190 | try |
|---|
| 2191 | { |
|---|
| 2192 | setTitle("Incident Viewer- Incident ID [" |
|---|
| 2193 | + ScreenManager.theCoordinator.getCadDataIncVal( |
|---|
| 2194 | INC_VAL.LOG_NUM, incidentId) |
|---|
| 2195 | + "] Master Incident ID[" |
|---|
| 2196 | + ScreenManager.theCoordinator.getCadDataIncVal( |
|---|
| 2197 | INC_VAL.MASTER_INC, incidentId) + "]"); |
|---|
| 2198 | } catch (RemoteException e) |
|---|
| 2199 | { |
|---|
| 2200 | e.printStackTrace(); |
|---|
| 2201 | } |
|---|
| 2202 | */ |
|---|
| 2203 | |
|---|
| 2204 | ScreenManager.refreshScreens(); |
|---|
| 2205 | ScreenManager.refreshIncidentEditor(); |
|---|
| 2206 | } |
|---|
| 2207 | // Variables declaration - do not modify//GEN-BEGIN:variables |
|---|
| 2208 | private javax.swing.JPanel activitiesPane; |
|---|
| 2209 | private javax.swing.JTable activitiesTable; |
|---|
| 2210 | private javax.swing.JButton addButton; |
|---|
| 2211 | private javax.swing.JButton addFspChpButton; |
|---|
| 2212 | private javax.swing.JTextField addInfoAlarmLevelField; |
|---|
| 2213 | private javax.swing.JComboBox addInfoAreaBatallionComboBox; |
|---|
| 2214 | private javax.swing.JComboBox addInfoAreaOfDivisionComboBox; |
|---|
| 2215 | private javax.swing.JComboBox addInfoBeatResponseAreaComboBox; |
|---|
| 2216 | private javax.swing.JComboBox addInfoCCJurisdictionComboBox; |
|---|
| 2217 | private javax.swing.JTextField addInfoCallStatusField; |
|---|
| 2218 | private javax.swing.JTextField addInfoCallTakenField; |
|---|
| 2219 | private javax.swing.JTextField addInfoCallTakerPhoneExtField; |
|---|
| 2220 | private javax.swing.JTextField addInfoCommentsField; |
|---|
| 2221 | private javax.swing.JTextField addInfoIncidentNumField; |
|---|
| 2222 | private javax.swing.JTextField addInfoIncidentTypeField; |
|---|
| 2223 | private javax.swing.JTextField addInfoMachineNameField; |
|---|
| 2224 | private javax.swing.JComboBox addInfoReponsePlanComboBox; |
|---|
| 2225 | private javax.swing.JTextField addInfoRotationProviderAreaField; |
|---|
| 2226 | private javax.swing.JComboBox agencyComboBox; |
|---|
| 2227 | private javax.swing.JLabel agencyLabel; |
|---|
| 2228 | private javax.swing.JLabel alarmLevelLabel; |
|---|
| 2229 | private javax.swing.JTextField aliField; |
|---|
| 2230 | private javax.swing.JLabel aliLabel; |
|---|
| 2231 | private javax.swing.JLabel allAvailableLabel; |
|---|
| 2232 | private javax.swing.JButton aniAliButton; |
|---|
| 2233 | private javax.swing.JTextField aptField; |
|---|
| 2234 | private javax.swing.JLabel aptLabel; |
|---|
| 2235 | private javax.swing.JLabel areaBatallionLabel; |
|---|
| 2236 | private javax.swing.JLabel areaOfDivisionLabel; |
|---|
| 2237 | private javax.swing.JPanel assignmentsPane; |
|---|
| 2238 | private javax.swing.JTable assignmentsTable; |
|---|
| 2239 | private javax.swing.JLabel assistedByLabel; |
|---|
| 2240 | private javax.swing.JButton attachmentsAddButton; |
|---|
| 2241 | private javax.swing.JButton attachmentsBrowseButton; |
|---|
| 2242 | private javax.swing.JButton attachmentsCancelButton; |
|---|
| 2243 | private javax.swing.JButton attachmentsDeleteButton; |
|---|
| 2244 | private javax.swing.JTextField attachmentsDescriptionField; |
|---|
| 2245 | private javax.swing.JTextField attachmentsFileNameField; |
|---|
| 2246 | private javax.swing.JPanel attachmentsPane; |
|---|
| 2247 | private javax.swing.JButton attachmentsSaveButton; |
|---|
| 2248 | private javax.swing.JTable attachmentsTable; |
|---|
| 2249 | private javax.swing.JComboBox beatComboBox; |
|---|
| 2250 | private javax.swing.JLabel beatLabel; |
|---|
| 2251 | private javax.swing.JLabel beatResponseAreaLabel; |
|---|
| 2252 | private javax.swing.JLabel buildingNumLabel; |
|---|
| 2253 | private javax.swing.JTextField callBackCommentField; |
|---|
| 2254 | private javax.swing.JTable callBackCommentTable; |
|---|
| 2255 | private javax.swing.JPanel callBacksPane; |
|---|
| 2256 | private javax.swing.JLabel callClosedLabel; |
|---|
| 2257 | private javax.swing.JLabel callStatusLabel; |
|---|
| 2258 | private javax.swing.JLabel callTakenLabel; |
|---|
| 2259 | private javax.swing.JLabel callTakerPhoneLabel; |
|---|
| 2260 | private javax.swing.JPanel callbacksPane; |
|---|
| 2261 | private javax.swing.JButton carButton; |
|---|
| 2262 | private javax.swing.JLabel ccJurisdictionLabel; |
|---|
| 2263 | private javax.swing.JComboBox cityComboBox; |
|---|
| 2264 | private javax.swing.JLabel cityLabel; |
|---|
| 2265 | private javax.swing.JButton commentsNotesAddButton; |
|---|
| 2266 | private javax.swing.JButton commentsNotesCancelButton; |
|---|
| 2267 | private javax.swing.JCheckBox commentsNotesConfidentialCommentCheckBox; |
|---|
| 2268 | private javax.swing.JTextArea commentsNotesField; // JD |
|---|
| 2269 | private javax.swing.JButton commentsNotesNotifyButton; |
|---|
| 2270 | private javax.swing.JPanel commentsNotesPane; |
|---|
| 2271 | private javax.swing.JButton commentsNotesSaveButton; |
|---|
| 2272 | private javax.swing.JTable commentsNotesTable; |
|---|
| 2273 | private javax.swing.JComboBox countyComboBox; |
|---|
| 2274 | private javax.swing.JLabel countyLabel; |
|---|
| 2275 | private javax.swing.JTextField crossStField; |
|---|
| 2276 | private javax.swing.JLabel crossStLabel; |
|---|
| 2277 | private javax.swing.JLabel dataFieldsLabel; |
|---|
| 2278 | private javax.swing.JTable dataFieldsTable; |
|---|
| 2279 | private javax.swing.JLabel dateLabel; |
|---|
| 2280 | private javax.swing.JLabel descriptionLabel; |
|---|
| 2281 | private javax.swing.JPanel editLogPane; |
|---|
| 2282 | private javax.swing.JTable editLogTable; |
|---|
| 2283 | private javax.swing.JTextField emsField; |
|---|
| 2284 | private javax.swing.JLabel emsLabel; |
|---|
| 2285 | private javax.swing.JButton exitSendButton; |
|---|
| 2286 | private javax.swing.JTextField extField; |
|---|
| 2287 | private javax.swing.JLabel extLabel; |
|---|
| 2288 | private javax.swing.JButton fileButton; |
|---|
| 2289 | private javax.swing.JLabel fileNameLabel; |
|---|
| 2290 | private javax.swing.JTextField fireField; |
|---|
| 2291 | private javax.swing.JLabel fireLabel; |
|---|
| 2292 | private javax.swing.JButton hubXterButton; |
|---|
| 2293 | private javax.swing.JLabel inQueueLabel; |
|---|
| 2294 | private javax.swing.JLabel incidentNumLabel; |
|---|
| 2295 | private javax.swing.JLabel incidentTypeLabel; |
|---|
| 2296 | private javax.swing.JButton informationButton; |
|---|
| 2297 | private javax.swing.JButton rightOfPriButton; |
|---|
| 2298 | private javax.swing.JButton updateMapLocButton; |
|---|
| 2299 | private javax.swing.JButton mapButton; |
|---|
| 2300 | private javax.swing.JButton premiseButton; |
|---|
| 2301 | private javax.swing.JButton historyButton; |
|---|
| 2302 | private javax.swing.JButton cautionButton; |
|---|
| 2303 | private javax.swing.JButton callBackAddButton; |
|---|
| 2304 | private javax.swing.JButton callBackCancelButton; |
|---|
| 2305 | private javax.swing.JButton callBackSaveButton; |
|---|
| 2306 | private javax.swing.JCheckBox confidentialCommentCheckBox; |
|---|
| 2307 | private javax.swing.JLabel jLabel8; |
|---|
| 2308 | private javax.swing.JPanel jPanel1; |
|---|
| 2309 | private javax.swing.JPanel jPanel10; |
|---|
| 2310 | private javax.swing.JPanel jPanel11; |
|---|
| 2311 | private javax.swing.JPanel jPanel12; |
|---|
| 2312 | private javax.swing.JPanel jPanel13; |
|---|
| 2313 | private javax.swing.JPanel jPanel2; |
|---|
| 2314 | private javax.swing.JPanel jPanel4; |
|---|
| 2315 | private javax.swing.JPanel jPanel6; |
|---|
| 2316 | private javax.swing.JPanel jPanel7; |
|---|
| 2317 | private javax.swing.JPanel jPanel8; |
|---|
| 2318 | private javax.swing.JPanel jPanel9; |
|---|
| 2319 | private javax.swing.JScrollPane jScrollPane1; |
|---|
| 2320 | private javax.swing.JScrollPane jScrollPane10; |
|---|
| 2321 | private javax.swing.JScrollPane jScrollPane11; |
|---|
| 2322 | private javax.swing.JScrollPane jScrollPane12; |
|---|
| 2323 | private javax.swing.JScrollPane jScrollPane13; |
|---|
| 2324 | private javax.swing.JScrollPane jScrollPane14; |
|---|
| 2325 | private javax.swing.JScrollPane jScrollPane15; |
|---|
| 2326 | private javax.swing.JScrollPane jScrollPane2; |
|---|
| 2327 | private javax.swing.JScrollPane jScrollPane3; |
|---|
| 2328 | private javax.swing.JScrollPane jScrollPane4; |
|---|
| 2329 | private javax.swing.JScrollPane jScrollPane5; |
|---|
| 2330 | private javax.swing.JScrollPane jScrollPane6; |
|---|
| 2331 | private javax.swing.JScrollPane jScrollPane7; |
|---|
| 2332 | private javax.swing.JScrollPane jScrollPane8; |
|---|
| 2333 | private javax.swing.JScrollPane jScrollPane9; |
|---|
| 2334 | private javax.swing.JTabbedPane bottomTabbedPane; |
|---|
| 2335 | private javax.swing.JTabbedPane jTabbedPane2; |
|---|
| 2336 | private javax.swing.JTextField jTextField27; |
|---|
| 2337 | private javax.swing.JTextField lawField; |
|---|
| 2338 | private javax.swing.JLabel lawLabel; |
|---|
| 2339 | private javax.swing.JLabel licensePlateInfoLabel; |
|---|
| 2340 | private javax.swing.JTable licensePlateTable; |
|---|
| 2341 | private javax.swing.JTextField locationField; |
|---|
| 2342 | private javax.swing.JLabel locationLabel; |
|---|
| 2343 | private javax.swing.JLabel machineNameLabel; |
|---|
| 2344 | private javax.swing.JTextField addressField; |
|---|
| 2345 | private javax.swing.JLabel mapLocLabel; |
|---|
| 2346 | private javax.swing.JComboBox mediaComboBox; |
|---|
| 2347 | private javax.swing.JLabel mediaLabel; |
|---|
| 2348 | private javax.swing.JLabel nameLabel; |
|---|
| 2349 | private javax.swing.JButton personButton; |
|---|
| 2350 | private javax.swing.JTextField phoneField; |
|---|
| 2351 | private javax.swing.JLabel phoneLabel; |
|---|
| 2352 | private javax.swing.JLabel phoneLabel2; |
|---|
| 2353 | private javax.swing.JComboBox priComboBox; |
|---|
| 2354 | private javax.swing.JLabel priLabel; |
|---|
| 2355 | private javax.swing.JButton recommandButton; |
|---|
| 2356 | private javax.swing.JTable resourceTable; |
|---|
| 2357 | private javax.swing.JLabel responsePlanLabel; |
|---|
| 2358 | private javax.swing.JLabel ringLabel; |
|---|
| 2359 | private javax.swing.JLabel roomAptEtcLabel; |
|---|
| 2360 | private javax.swing.JLabel rotationProviderAreaLabel; |
|---|
| 2361 | private javax.swing.JTextField rpField; |
|---|
| 2362 | private javax.swing.JLabel rpLabel; |
|---|
| 2363 | private javax.swing.JComboBox rpTypeComboBox; |
|---|
| 2364 | private javax.swing.JLabel rpTypeLabel; |
|---|
| 2365 | private javax.swing.JComboBox sectorComboBox; |
|---|
| 2366 | private javax.swing.JLabel sectorLabel; |
|---|
| 2367 | private javax.swing.JButton sentToQButton; |
|---|
| 2368 | private javax.swing.JButton showAllButton; |
|---|
| 2369 | private javax.swing.JLabel timeLabel; |
|---|
| 2370 | private javax.swing.JLabel timeStampsLabel; |
|---|
| 2371 | private javax.swing.JTable timeStampsTable; |
|---|
| 2372 | private javax.swing.JTextField timesAllAvailableField; |
|---|
| 2373 | private javax.swing.JTextField timesCallClosedField; |
|---|
| 2374 | private javax.swing.JTextField timesInQueueField; |
|---|
| 2375 | private javax.swing.JButton timesPageTimesButton; |
|---|
| 2376 | private javax.swing.JPanel timesPane; |
|---|
| 2377 | private javax.swing.JTextField timesRingField; |
|---|
| 2378 | private javax.swing.JTable timesTable; |
|---|
| 2379 | private javax.swing.JButton towRotationButton; |
|---|
| 2380 | private javax.swing.JLabel transportCityLabel; |
|---|
| 2381 | private javax.swing.JButton transportInfoAddPresetTransportRecButton; |
|---|
| 2382 | private javax.swing.JButton transportInfoAddressButton; |
|---|
| 2383 | private javax.swing.JTextField transportInfoAddressField; |
|---|
| 2384 | private javax.swing.JComboBox transportInfoAssistedByComboBox; |
|---|
| 2385 | private javax.swing.JTextField transportInfoBuildingField; |
|---|
| 2386 | private javax.swing.JButton transportInfoCancelButton; |
|---|
| 2387 | private javax.swing.JComboBox transportInfoCityComboBox; |
|---|
| 2388 | private javax.swing.JButton transportInfoLinkUnitToTransportRecButton; |
|---|
| 2389 | private javax.swing.JTextField transportInfoLocationField; |
|---|
| 2390 | private javax.swing.JTextField transportInfoNameField; |
|---|
| 2391 | private javax.swing.JPanel transportInfoPane; |
|---|
| 2392 | private javax.swing.JTextField transportInfoPhoneField; |
|---|
| 2393 | private javax.swing.JComboBox transportInfoPriorityComboBox; |
|---|
| 2394 | private javax.swing.JComboBox transportInfoProtocolComboBox; |
|---|
| 2395 | private javax.swing.JButton transportInfoRemoveTransportRecButton; |
|---|
| 2396 | private javax.swing.JTextField transportInfoRoomAptEtcField; |
|---|
| 2397 | private javax.swing.JButton transportInfoSaveButton; |
|---|
| 2398 | private javax.swing.JTextField transportInfoState2Field; |
|---|
| 2399 | private javax.swing.JTextField transportInfoStateField; |
|---|
| 2400 | private javax.swing.JLabel transportLocationLabel; |
|---|
| 2401 | private javax.swing.JLabel transportPriorityLabel; |
|---|
| 2402 | private javax.swing.JLabel transportProtocolLabel; |
|---|
| 2403 | private javax.swing.JLabel transportStateLabel; |
|---|
| 2404 | private javax.swing.JComboBox typeCodeComboBox; |
|---|
| 2405 | private javax.swing.JLabel typeCodeLabel; |
|---|
| 2406 | private javax.swing.JButton unitRecButton; |
|---|
| 2407 | private javax.swing.JButton userDataCancelButton; |
|---|
| 2408 | private javax.swing.JTextField userDataDataField; |
|---|
| 2409 | private javax.swing.JTextField userDataDateField; |
|---|
| 2410 | private javax.swing.JPanel userDataPane; |
|---|
| 2411 | private javax.swing.JButton userDataSaveButton; |
|---|
| 2412 | private javax.swing.JButton userDataStampButton; |
|---|
| 2413 | private javax.swing.JTextField userDataTimeField; |
|---|
| 2414 | private javax.swing.JTextField userDataTimeStampField; |
|---|
| 2415 | // End of variables declaration//GEN-END:variables |
|---|
| 2416 | } |
|---|