FileDocCategorySizeDatePackage
Export.javaAPI DocJMF 2.1.1e1865Mon May 12 12:20:34 BST 2003None

Export

public class Export extends JMFrame

Fields Summary
private ExportWizard
dlgExport
private Vector
vectorWindows
Constructors Summary
public Export(String strSourceUrl)


          
        super ( JMFI18N.getResource("jmstudio.export.title") );

        dlgExport = new ExportWizard ( this, strSourceUrl, null );
        dlgExport.addWindowListener ( this );
        dlgExport.setVisible ( true );
    
Methods Summary
public static voidmain(java.lang.String[] args)

        Export          frameExport;
        String          strSourceUrl;

        if ( args.length < 1 )
            strSourceUrl = "";
        else
            strSourceUrl = args[0];
        frameExport = new Export ( strSourceUrl );
    
public voidwindowClosed(java.awt.event.WindowEvent event)

        int       i;
        int       nCount;
        Object    objWindow;
        Window    window;

        window = event.getWindow ();
        if ( window == dlgExport ) {
            vectorWindows = dlgExport.getWindowsLeft ();
            nCount = vectorWindows.size ();
            for ( i = 0;  i < nCount;  i++ ) {
                objWindow = vectorWindows.elementAt ( i );
                if ( !(objWindow instanceof Window) )
                    continue;
                if ( !((Window)objWindow).isShowing() )
                    continue;
                ((Window)objWindow).addWindowListener ( this );
            }
        }
        else if ( vectorWindows.contains(window) ) {
                vectorWindows.removeElement ( window );
        }

        if ( vectorWindows.isEmpty() )
            System.exit ( 0 );