home *** CD-ROM | disk | FTP | other *** search
/ Chip 2001 June / CHIPHEFT062001.ISO / browser / nc32lyc / comm.z / java40.jar / sun / awt / motif / SelectionThread.class (.txt) < prev    next >
Encoding:
Java Class File  |  2000-08-15  |  739 b   |  31 lines

  1. package sun.awt.motif;
  2.  
  3. class SelectionThread extends Thread {
  4.    // $FF: renamed from: s sun.awt.motif.X11Selection
  5.    X11Selection field_0;
  6.    int[] targets;
  7.  
  8.    public SelectionThread(X11Selection var1, int[] var2) {
  9.       super("AWT-Selection");
  10.       this.field_0 = var1;
  11.       this.targets = var2;
  12.    }
  13.  
  14.    public void run() {
  15.       synchronized(this){}
  16.  
  17.       try {
  18.          if (this.targets == null) {
  19.             this.field_0.pGetTransferTargets();
  20.          } else {
  21.             this.field_0.pGetTransferData(this.targets);
  22.          }
  23.  
  24.          this.notifyAll();
  25.       } catch (Throwable var3) {
  26.          throw var3;
  27.       }
  28.  
  29.    }
  30. }
  31.