summaryrefslogtreecommitdiff
path: root/tutorial/examples/autoimp/InnerTest.java
blob: f97f1d8603b8ea5d127dcacaabe29aa7f05cdb2a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/*
 * This code was generated by ojc.
 */
/* quick implementation! */
package examples.autoimp;


import java.awt.event.*;


public class InnerTest
{

    public static void main( String[] args )
    {
        WindowListener tmp = new MyWindowListener();
    }

    static class MyWindowListener implements WindowListener
    {

        public void windowClosed( WindowEvent e )
        {
            System.exit( 0 );
        }

    }

}