Mercurial > hg > Members > nobuyasu > tightVNCProxy
changeset 12:ac847013174d
add html and Makefile
author | e085711 |
---|---|
date | Sat, 16 Apr 2011 20:43:07 +0900 |
parents | 2869ca1579ae |
children | a5d73cafc8fe |
files | .settings/org.eclipse.core.resources.prefs Makefile/Makefile html/index.html |
diffstat | 3 files changed, 80 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/.settings/org.eclipse.core.resources.prefs Sat Apr 16 20:43:07 2011 +0900 @@ -0,0 +1,3 @@ +#Tue Apr 12 14:58:33 JST 2011 +eclipse.preferences.version=1 +encoding//src/VncCanvas.java=UTF-8
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Makefile/Makefile Sat Apr 16 20:43:07 2011 +0900 @@ -0,0 +1,47 @@ +# +# Making the VNC applet. +# + +CP = cp +JC = javac +JCFLAGS = -target 1.1 -source 1.2 +JAR = jar +ARCHIVE = VncViewer.jar +MANIFEST = MANIFEST.MF +PAGES = index.vnc +INSTALL_DIR = /usr/local/vnc/classes + +CLASSES = VncViewer.class RfbProto.class AuthPanel.class VncCanvas.class \ + VncCanvas2.class \ + OptionsFrame.class ClipboardFrame.class ButtonPanel.class \ + DesCipher.class CapabilityInfo.class CapsContainer.class \ + RecordingFrame.class SessionRecorder.class \ + SocketFactory.class HTTPConnectSocketFactory.class \ + HTTPConnectSocket.class ReloginPanel.class \ + InStream.class MemInStream.class ZlibInStream.class + +SOURCES = VncViewer.java RfbProto.java AuthPanel.java VncCanvas.java \ + VncCanvas2.java \ + OptionsFrame.java ClipboardFrame.java ButtonPanel.java \ + DesCipher.java CapabilityInfo.java CapsContainer.java \ + RecordingFrame.java SessionRecorder.java \ + SocketFactory.java HTTPConnectSocketFactory.java \ + HTTPConnectSocket.java ReloginPanel.java \ + InStream.java MemInStream.java ZlibInStream.java + +all: $(CLASSES) $(ARCHIVE) + +$(CLASSES): $(SOURCES) + $(JC) $(JCFLAGS) -O $(SOURCES) + +$(ARCHIVE): $(CLASSES) $(MANIFEST) + $(JAR) cfm $(ARCHIVE) $(MANIFEST) $(CLASSES) + +install: $(CLASSES) $(ARCHIVE) + $(CP) $(CLASSES) $(ARCHIVE) $(PAGES) $(INSTALL_DIR) + +export:: $(CLASSES) $(ARCHIVE) $(PAGES) + @$(ExportJavaClasses) + +clean:: + $(RM) *.class *.jar
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/html/index.html Sat Apr 16 20:43:07 2011 +0900 @@ -0,0 +1,30 @@ +<!-- + index.html - an example HTML page for TightVNC Java viewer applet, to be + used with a standalone Web server running on the same machine where the + TightVNC server is running. Before using this example, please MAKE SURE + to check the following: + + * the value of the PORT parameter should be set correctly (normally, the + port number is 5900 + display number); + + * the CODE and ARCHIVE attributes of the <APPLET> tag should point to + the correct directory (this example assumes that this page is in the + same directory with .jar and .class files); + + * the WIDTH and HEIGHT attributes of the <APPLET> tag correspond to the + actual desktop size on the server (height should be increased to leave + enough space for the button panel). +--> + +<HTML> +<TITLE> +TightVNC desktop +</TITLE> +<APPLET CODE="VncViewer.class" ARCHIVE="VncViewer.jar" + WIDTH="800" HEIGHT="632"> +<PARAM NAME="PORT" VALUE="5901"> +<PARAM NAME="HOST" VALUE="hades.cr.ie.u-ryukyu.ac.jp"> +</APPLET> +<BR> +<A href="http://www.tightvnc.com/">TightVNC site</A> +</HTML>