*/
package habeas;
-import java.io.FileNotFoundException;
-import java.io.IOException;
-import java.io.InputStream;
-import java.util.logging.Level;
-import java.util.logging.Logger;
+import java.util.ArrayList;
+import javax.swing.JFileChooser;
+import javax.swing.JOptionPane;
+import javax.swing.filechooser.FileFilter;
+import javax.swing.filechooser.FileNameExtensionFilter;
/**
*
menuLawyerNotices = new javax.swing.JMenu();
menuCreateNotice = new javax.swing.JMenuItem();
menuManageNotices = new javax.swing.JMenuItem();
+ jSeparator1 = new javax.swing.JPopupMenu.Separator();
+ menuGenerateRaisedBills = new javax.swing.JMenuItem();
menuSettings = new javax.swing.JMenu();
menuDatabaseSettings = new javax.swing.JMenuItem();
menuStationery = new javax.swing.JMenuItem();
}
});
menuLawyerNotices.add(menuManageNotices);
+ menuLawyerNotices.add(jSeparator1);
+
+ menuGenerateRaisedBills.setMnemonic('G');
+ menuGenerateRaisedBills.setText("Generate Raised Bills...");
+ menuGenerateRaisedBills.addActionListener(new java.awt.event.ActionListener() {
+ public void actionPerformed(java.awt.event.ActionEvent evt) {
+ menuGenerateRaisedBillsActionPerformed(evt);
+ }
+ });
+ menuLawyerNotices.add(menuGenerateRaisedBills);
jMenuBar1.add(menuLawyerNotices);
frm.setVisible(true);
}//GEN-LAST:event_menuStationeryActionPerformed
+ private void menuGenerateRaisedBillsActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_menuGenerateRaisedBillsActionPerformed
+ // TODO add your handling code here:
+ GenerateRaisedBillsDialog frm = new GenerateRaisedBillsDialog(this, true);
+ frm.setVisible(true);
+
+ }//GEN-LAST:event_menuGenerateRaisedBillsActionPerformed
+ private static final String ERROR_RETRIEVING_RAISED_BILLS = "Error retrieving bills"
+ + " or no bills are raised at this time.";
+ private static final String FODT_EXT = "fodt";
+ private static final String FLAT_OPENDOCUMENT_TEXT = "Flat OpenDocument text";
+ private static final String ERROR_GENERATING = "Error generating";
+
/**
* @param args the command line arguments
*/
// Variables declaration - do not modify//GEN-BEGIN:variables
private javax.swing.JMenuBar jMenuBar1;
+ private javax.swing.JPopupMenu.Separator jSeparator1;
private javax.swing.JMenuItem menuClientMaster;
private javax.swing.JMenuItem menuCreateNotice;
private javax.swing.JMenuItem menuDatabaseSettings;
+ private javax.swing.JMenuItem menuGenerateRaisedBills;
private javax.swing.JMenu menuLawyerNotices;
private javax.swing.JMenuItem menuManageNotices;
private javax.swing.JMenu menuMaster;