/* * Test_File_Chooser_Saver.java * * Created on November 11, 2003, 10:42 AM */ /** * * @author Tyler Vodak */ public class Test_File_Chooser_Saver extends javax.swing.JPanel { /** Creates new form Test_File_Chooser_Saver */ public Test_File_Chooser_Saver() { initComponents(); } /** This method is called from within the constructor to * initialize the form. * WARNING: Do NOT modify this code. The content of this method is * always regenerated by the Form Editor. */ private void initComponents() {//GEN-BEGIN:initComponents jFileChooser1 = new javax.swing.JFileChooser(); setLayout(new java.awt.BorderLayout()); jFileChooser1.setDialogTitle("Save As"); jFileChooser1.setDialogType(javax.swing.JFileChooser.SAVE_DIALOG); jFileChooser1.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { jFileChooser1ActionPerformed(evt); } }); add(jFileChooser1, java.awt.BorderLayout.CENTER); }//GEN-END:initComponents private void jFileChooser1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jFileChooser1ActionPerformed // Add your handling code here: }//GEN-LAST:event_jFileChooser1ActionPerformed // Variables declaration - do not modify//GEN-BEGIN:variables private javax.swing.JFileChooser jFileChooser1; // End of variables declaration//GEN-END:variables }