This code is free for public use in any non-commercial application. All other uses are restricted without prior consent of the author, Kerry Shetline. The author assumes no liability for the suitability of this code in any application.
Any further distribution of this code, and products generated using this code, must include these terms of use, and all original copyright information and attributions of credit provided herein. Any product substantially similar to Sky View Café created using this code must, if publicly distributed, be explicitly cited as a derivative of Sky View Café. Any alterations of the Sky View Café source code, if publicly distributed, must be cited in code comments as modifications from the original Sky View Café sources.
Here is the Java source code for the web version of Sky View Café: svc_source.zip
The source code includes simple Mac OS X and Windows build scripts, but these scripts will likely have to be manually edited to change source and tool paths in order to function correctly. All text files in the source archive are ISO-8859-1 encoded. With the exception of the Windows .bat file (which uses Windows CR/LF line endings), Unix (LF) line endings are used.
The code here has been targeted to run on Java 1.3 or higher, to cover, as-is, without additional user intervention, as wide a range of user browser and Java configurations as possible, while not having to give up too much modern Java capability. (For anyone sadly still running Java 1.1 or 1.2, Sky View Café 3.0 is still available.) There is some Java 1.4 used here, conditionally executed depending on the available JRE, so the code must be compiled using Java 1.4 or higher. I'd dearly love to re-write this code to use generics, "import static", for-each loops, etc., but when I'm targeting general web use, and when I want to avoid imposing the need for updating or installing new software as much as possible, I try to go for as low a common denominator as I can tolerate coding towards, considering also that I don't want to substantially bloat the size of my code (and therefore increase applet download time) by trying to make up for missing Java functionality.
Javadoc for this code? I'm afraid not yet... maybe someday I'll get around to it... during my copious free time.
![]()

The character "Duke" (the graphic used near the top of this page) is a trademark of Sun Microsystems, Inc.