+
+ private void menuViewActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_menuViewActionPerformed
+ // TODO add your handling code here:
+ int selid = getSelectedNotice();
+ if (selid == -1) return;
+ ArrayList<Object> notice = Utility.getNoticeDetails(selid);
+ if (notice == null) return;
+
+ ViewNoticeDialog frm = new ViewNoticeDialog(
+ (Frame)this.getParent(), true);
+ frm.setFields (selid, (String)notice.get(0),
+ (String)notice.get(1), (Date)notice.get(2),
+ (String)notice.get(16), (boolean)notice.get(4),
+ (boolean)notice.get(5), (boolean)notice.get(6),
+ (Date)notice.get(7), (String)notice.get(8),
+ (boolean)notice.get(9), (Date)notice.get(10),
+ (String)notice.get(11), (int)notice.get(12),
+ (Date)notice.get(13), (boolean)notice.get(14),
+ (String)notice.get(15));
+ frm.setVisible(true);
+
+
+ }//GEN-LAST:event_menuViewActionPerformed