(Answer) (Category) Panorama Tools FAQ : (Category) Using PT Viewer :
How to compile the ptviewer sourcecode with JDK1.3.1?
(this is not necessary in order to use PTViewer, only if you want to rebuild 
the viewer from the source code)

Hi,
if anybody else want to try here are some tips:

> I found that there are some files with ".java" extension, and others 
> with
"._java"files.

1. All eleven "._java" files have to be merged into one "ptviewer.java" 
file starting with the code from "ptviewer._java". (Use DOS command MERGE 
or COPY+PASTE 10 times in a simple or powerful (text or java) editor)

2. I couldn't compile ptcontext.java so I used origilnaly compiled file 
ptcontext.class (from Big ptviewer.jar 2.1) and put it in the same directory 
with other .class files that I 've managed to compile from .java files. 
(Use javac command or some Java IDE tool for compilation and jar command 
or (un)RAR tool for decompresion of .jar file)

3. Watch out to set PATH variable for Java tools.

4. More information is available at SUN ( http://java.sun.com ) web site 
were Java2 SDK 1.3.1 Documentation can be downloaded for instructions how 
to use javac and other Java tools. There is also very useful Java Tutorial 
for download.

5. ptviewer.class compiled from (1.) "ptviewer.java" can be used as a stand 
alone applet but I done only a few tests and can't say you more.

Best Regards,
Shima
2003-Jul-08 08:45 address-suppressed
[Append to This Answer]
2003-Jul-08 08:45
Previous: (Answer) PTDefault.html ??
Next: (Answer) How to code simply 'flat images' without lens view as maps (the example in web site don't work)
This document is: http://ptfaq.org/cgi-bin/fom?file=113
[Search] [Appearance]
This is a Faq-O-Matic 2.719.
All information (C) by the individual contributors