home *** CD-ROM | disk | FTP | other *** search
/ PC Plus SuperCD (UK) 2000 March / pcp161a.iso / handson / files / copyjava.exe / com / sun / java / swing / plaf / basic / BasicFileChooserUI$GoHomeAction.class (.txt) < prev    next >
Encoding:
Java Class File  |  1998-02-26  |  1.6 KB  |  21 lines

  1. package com.sun.java.swing.plaf.basic;
  2.  
  3. import com.sun.java.swing.AbstractAction;
  4. import java.awt.event.ActionEvent;
  5. import java.io.File;
  6.  
  7. class BasicFileChooserUI$GoHomeAction extends AbstractAction {
  8.    // $FF: synthetic field
  9.    private final BasicFileChooserUI this$0;
  10.  
  11.    protected BasicFileChooserUI$GoHomeAction(BasicFileChooserUI var1) {
  12.       super("Go Home");
  13.       this.this$0 = var1;
  14.       this.this$0 = var1;
  15.    }
  16.  
  17.    public void actionPerformed(ActionEvent var1) {
  18.       this.this$0.directoryPane.getModel().setCurrentDirectory((File)null);
  19.    }
  20. }
  21.