home *** CD-ROM | disk | FTP | other *** search
/ S283 Planetary Science &… the Search for Life CD 3 / 0_CD-ROM.iso / install / jre1_3 / lib / rt.jar / sun / awt / print / PrintDialog$2.class (.txt) < prev    next >
Encoding:
Java Class File  |  1979-12-31  |  1006 b   |  25 lines

  1. package sun.awt.print;
  2.  
  3. import javax.swing.DefaultComboBoxModel;
  4.  
  5. class PrintDialog$2 implements Runnable {
  6.    // $FF: synthetic field
  7.    private final PrintDialog this$0;
  8.  
  9.    PrintDialog$2(PrintDialog var1) {
  10.       this.this$0 = var1;
  11.    }
  12.  
  13.    public void run() {
  14.       Object var1 = PrintDialog.access$100(this.this$0).getEditor().getItem();
  15.       DefaultComboBoxModel var2 = PrintDialog.access$200() != null ? new DefaultComboBoxModel(PrintDialog.access$200()) : new DefaultComboBoxModel();
  16.       PrintDialog.access$100(this.this$0).setModel(var2);
  17.       if (var1 != null) {
  18.          PrintDialog.access$100(this.this$0).setSelectedItem(var1);
  19.          PrintDialog.access$100(this.this$0).getEditor().setItem(var1);
  20.       }
  21.  
  22.       PrintDialog.access$100(this.this$0).repaint();
  23.    }
  24. }
  25.