home *** CD-ROM | disk | FTP | other *** search
- import java.awt.Dialog;
- import java.awt.event.ActionEvent;
- import java.awt.event.ActionListener;
-
- final class XMLPro$33 implements ActionListener {
- // $FF: synthetic field
- private final XMLPro this$0;
-
- // $FF: synthetic method
- XMLPro$33(XMLPro var1) {
- this.this$0 = var1;
- }
-
- public void actionPerformed(ActionEvent var1) {
- InputBox var2 = new InputBox(this.this$0.theApp, Strings.ChangeEncoding);
- var2.setDefault(this.this$0.xmlDocument.document.getEncoding());
- ((Dialog)var2).show();
- if (var2.result != null && var2.result.length() >= 1) {
- this.this$0.xmlDocument.document.setEncoding(var2.result);
- }
- }
- }
-