home *** CD-ROM | disk | FTP | other *** search
/ Cre@te Online 2000 December / Cre@teOnline CD05.iso / MacSoft / XML ConsoleMax.sea / XML ConsoleMax / Required / esc.jar / com / extensibility / xa / CommentPane$PreviewButton.class (.txt) < prev    next >
Encoding:
Java Class File  |  2000-06-30  |  1.1 KB  |  21 lines

  1. package com.extensibility.xa;
  2.  
  3. import com.extensibility.app.UI;
  4. import java.awt.Component;
  5. import javax.swing.AbstractButton;
  6. import javax.swing.JButton;
  7.  
  8. class CommentPane$PreviewButton extends JButton {
  9.    // $FF: synthetic field
  10.    final CommentPane this$0;
  11.  
  12.    CommentPane$PreviewButton(CommentPane var1) {
  13.       this.this$0 = var1;
  14.       ((Component)this).addMouseListener(new CommentPane.6(this));
  15.    }
  16.  
  17.    void updateText() {
  18.       ((AbstractButton)this).setText(UI.getString("comment.preview.as", UI.getFileTypeName(this.this$0.previewFlavor)));
  19.    }
  20. }
  21.