home *** CD-ROM | disk | FTP | other *** search
/ PC Professionell 2001 October / PCpro_2001_10.ISO / xml / xmlpro / data1.cab / Program_Executable_FILES / xmlpro.jar / XMLPro$34.class (.txt) < prev    next >
Encoding:
Java Class File  |  1999-09-15  |  1.1 KB  |  30 lines

  1. import java.awt.Dialog;
  2. import java.awt.event.ActionEvent;
  3. import java.awt.event.ActionListener;
  4. import java.io.IOException;
  5. import java.io.StringWriter;
  6.  
  7. final class XMLPro$34 implements ActionListener {
  8.    // $FF: synthetic field
  9.    private final XMLPro this$0;
  10.  
  11.    // $FF: synthetic method
  12.    XMLPro$34(XMLPro var1) {
  13.       this.this$0 = var1;
  14.    }
  15.  
  16.    public void actionPerformed(ActionEvent var1) {
  17.       this.this$0.setWaitCursor();
  18.       StringWriter var2 = new StringWriter();
  19.  
  20.       try {
  21.          this.this$0.xmlDocument.document.printWithFormat(var2);
  22.       } catch (IOException var4) {
  23.       }
  24.  
  25.       TextDialog var3 = new TextDialog(this.this$0.theApp, Strings.ViewXML, var2.toString());
  26.       this.this$0.setDefaultCursor();
  27.       ((Dialog)var3).show();
  28.    }
  29. }
  30.