menuDraftStatus = new javax.swing.JMenuItem();
menuDispatchDetails = new javax.swing.JMenuItem();
menuBillDetails = new javax.swing.JMenuItem();
+ menuClarificationDetails = new javax.swing.JMenuItem();
jScrollPane1 = new javax.swing.JScrollPane();
tableNotices = new javax.swing.JTable();
});
popMenu.add(menuBillDetails);
+ menuClarificationDetails.setMnemonic('r');
+ menuClarificationDetails.setText("Clarification Details...");
+ menuClarificationDetails.addActionListener(new java.awt.event.ActionListener() {
+ public void actionPerformed(java.awt.event.ActionEvent evt) {
+ menuClarificationDetailsActionPerformed(evt);
+ }
+ });
+ popMenu.add(menuClarificationDetails);
+
setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);
setTitle("Manage Notices");
setLocationByPlatform(true);
frm.setVisible(true);
}//GEN-LAST:event_menuBillDetailsActionPerformed
+ private void menuClarificationDetailsActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_menuClarificationDetailsActionPerformed
+ // TODO add your handling code here:
+ int selid = getSelectedNotice();
+ if (selid == -1) return;
+ ArrayList<Object> notice = Utility.getNoticeDetails(selid);
+ if (notice == null) return;
+ ClarificationDetailsDialog frm = new ClarificationDetailsDialog(
+ (Frame)this.getParent(), true);
+
+ frm.setFields (selid, (boolean)notice.get(14), (String)notice.get(15));
+ frm.setVisible(true);
+ }//GEN-LAST:event_menuClarificationDetailsActionPerformed
+
/**
* @param args the command line arguments
*/
// Variables declaration - do not modify//GEN-BEGIN:variables
private javax.swing.JScrollPane jScrollPane1;
private javax.swing.JMenuItem menuBillDetails;
+ private javax.swing.JMenuItem menuClarificationDetails;
private javax.swing.JMenuItem menuDescription;
private javax.swing.JMenuItem menuDispatchDetails;
private javax.swing.JMenuItem menuDraftStatus;