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$33.class (.txt) < prev    next >
Encoding:
Java Class File  |  1999-09-15  |  1.0 KB  |  23 lines

  1. import java.awt.Dialog;
  2. import java.awt.event.ActionEvent;
  3. import java.awt.event.ActionListener;
  4.  
  5. final class XMLPro$33 implements ActionListener {
  6.    // $FF: synthetic field
  7.    private final XMLPro this$0;
  8.  
  9.    // $FF: synthetic method
  10.    XMLPro$33(XMLPro var1) {
  11.       this.this$0 = var1;
  12.    }
  13.  
  14.    public void actionPerformed(ActionEvent var1) {
  15.       InputBox var2 = new InputBox(this.this$0.theApp, Strings.ChangeEncoding);
  16.       var2.setDefault(this.this$0.xmlDocument.document.getEncoding());
  17.       ((Dialog)var2).show();
  18.       if (var2.result != null && var2.result.length() >= 1) {
  19.          this.this$0.xmlDocument.document.setEncoding(var2.result);
  20.       }
  21.    }
  22. }
  23.