Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

the name of the Jform I am using

Name: Anonymous 2012-12-04 15:43

How can I get the name of the Jform I am using?

public class WindowInsertPacient extends javax.swing.JFrame {
    private WindowMain father;
public WindowInsertPacient(WindowMain father) {
        this.father = father;
        initComponents();
    }


private void myWindowClosing(java.awt.event.WindowEvent evt) {                                
        Class enclosingClass = getClass().getEnclosingClass();
        addWindowListener(new java.awt.event.WindowAdapter() {
            @Override
            public void windowClosing(java.awt.event.WindowEvent windowEvent) {
                enclosingClass.this.setVisible(false);
                enclosingClass.this.dispose();
                father.setEnabled(true);
            }
        });
    }

It says cannot find symbol.

Name: Anonymous 2012-12-05 13:17

                                                                          │      │
                                                                          │      │
                                                                          │      │
                                                                          │      │
                                                                          │      │
                                                                          │      │

Name: Anonymous 2012-12-05 13:17

                                                                          │      │
       _____________                                                      │      │
      (_________ _.'``''-┌────────────────────────────────────────────────┘      │
          (___.-' _,     │                                                       │
           (_(_.-'  `    │  o                                                    │
            (__)__,-"``'-└───────────────────────────────────────────────────────┘

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List