aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/tightvnc/rfbplayer/PARfbSender.java
blob: 1f620cfa62db0956a7481db53fe3cd8a8bad04f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package com.HorizonLive.RfbPlayer;

import java.applet.*;

public class PARfbSender extends Applet {

  public void init() {
    Applet receiver = null;
    receiver = RfbSharedStatic.refApplet;
    long time = Long.valueOf(getParameter("time")).longValue();

    if (receiver != null) {
      ((RfbPlayer)receiver).jumpTo(time);
    } else
      System.out.println("Couldn't jump to time: " + time + " in RfbPlayer.");
  }

}