Home

Sky View Café 5.8.14 — Source Code

TERMS OF USE

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.


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.6 or higher.

Some classes included in the source code (KPasswordField, for example) are not used in SVC, but are included because they are part of my general code library.

Starting with SVC 5.7 the software uses a custom "look and feel" which is mostly original to SVC, but with some parts derived from JGoodies "Plastic" look and feel. Some of the icons used here come from, or have been adapted from, the collection of icons found at www.famfamfam.com, including nearly all of the national flag icons displayed by SVC's geographic search feature.


Duke

Package org.shetline.astronomy
Package org.shetline.gui
Package org.shetline.gui.laf
Package org.shetline.gui.laf.zinc
Package org.shetline.gui.laf.zinc.icons
Package org.shetline.gui.laf.zinc.icons.32x32
Package org.shetline.gui.laf.zinc.icons.48x48
Package org.shetline.io
Package org.shetline.math
Package org.shetline.skyviewcafe
Package org.shetline.util
Default package classes / root-level resources
Build resources
Web-hosted resources


Package org.shetline.astronomy:
AdditionalOrbitingObjects
AstroConstants
AstroEvent
AstronomyUtil
BuildOptions
Ecliptic
EclipticBody
EventFinder
HeliocentricPlanets
JupiterInfo
JupitersMoons
MeeusMoon
OrbitalElements
PlanetaryMoons
Pluto
SaturnsMoons
SkyObserver
SolarSystem
StarCatalog
UTConverter
VSOP87Planets
— org.shetline.astronomy resources —
constellations.txt
• stars.dat (extract from svc_source.zip if needed)
• vsop_meeus.dat (extract from svc_source.zip if needed)

Package org.shetline.gui:
AutoRepeatButton
CalendarComboBox
ComponentListFocusTraversalPolicy
CustomDialog
EdgeHidingWrapper
FileDropTextField
FlexibleGridLayout
ImageButton
ImageRetriever
ImageView
KApplet
KGridBagConstraints
KGridBagLayout
KLabel
KPanel
KPasswordField
KPopup
KPopupFactory
KTable
KTextField
ListCellSeparatorRenderer
MessageMarquee
MiniAdjustor
MiniCalendar
MiniLabel
PopupNavigator
PopupPopper
SearchField
SizedComboBox
VectorLayout
WrappedTextLabel
— org.shetline.gui resources —
MiniLabel_charset.gif
calendar.png
clearing_icon.png
generic.gif
ld_arrow_e.png
ld_arrow_p.png
ls_arrow_e.png
ls_arrow_p.png
magnifier_left.png
magnifier_right.png
rd_arrow_e.png
rd_arrow_p.png
rs_arrow_e.png
rs_arrow_p.png
stop.png
unknown.gif

Package org.shetline.gui.laf:
ActiveBasicButtonListener
LookAndFeelUtil

Package org.shetline.gui.laf.zinc:
ZincButtonUI
ZincCheckBoxUI
ZincComboBoxButton
ZincComboBoxEditor
ZincComboBoxUI
ZincFieldCaret
ZincLookAndFeel
ZincMenuUI
ZincRadioButtonUI
ZincScrollBarUI
ZincScrollPaneUI
ZincSelectableButtonIcon
ZincSelectableButtonUI
ZincSliderUI
ZincTextFieldUI
ZincTheme

Package org.shetline.gui.laf.zinc.icons:
CDDrive.gif
Computer.gif
File.gif
FloppyDrive.gif
HardDrive.gif
HomeFolder.gif
NewFolder.gif
RadioLight5x5.png
RadioLight7x7.png
TreeClosed.gif
TreeCollapsed.png
TreeExpanded.png
TreeLeaf.gif
TreeOpen.gif
UpFolder.gif

Package org.shetline.gui.laf.zinc.icons.32x32:
dialog-error.png
dialog-information.png
dialog-question.png
dialog-warning.png

Package org.shetline.gui.laf.zinc.icons.48x48:
dialog-error.png
dialog-information.png
dialog-question.png
dialog-warning.png

Package org.shetline.io:
ResourceInputStream
UTF8

Package org.shetline.math:
Angle
MathUtil
MinMaxFinder
Point3D
SphericalPosition
SphericalPosition3D
ZeroFinder

Package org.shetline.skyviewcafe:
AboutBox
AngleEditor
AstroObjectSelectionDialog
AtlasQuery
AtlasQueryDialog
BuildOptions
CalendarView
DigitSequenceEditor
EclipticView
GenericPlanetaryView
GenericSkyView
GenericView
IPLocator
InsolationView
JupiterDrawer
MainSkyViewPanel
MapView
MilkyWay
MiniMap
MoonDrawer
MoonsView
OrbitView
PlanetDrawer
SaturnDrawer
SkySurveyWindow
SkyView
SkyViewCafeApp
SkyViewFrame
SkyViewPrefs
SkyViewPrefsDialog
TabularView
TimeEditor
TimeView
ViewOptionsPanel
ZBuffer
— org.shetline.skyviewcafe resources —
anaglyph_gm.png
anaglyph_rc.png
atlas_query_states.txt
blank_icon.gif
dso_symbol.gif
full_moon.jpg
label_crosshair.gif
larrow_e.gif
larrow_p.gif
marker_aphelion.gif
marker_ascending.gif
marker_descending.gif
marker_eclipse.gif
marker_location.gif
marker_perihelion.gif
marker_subsolar.gif
open_crosshair.gif
planet_symbols.png
rarrow_e.gif
rarrow_p.gif
search_icon.gif
search_icon_disabled.gif
stop_icon.gif
stop_icon_disabled.gif

Package org.shetline.util:
BrowserLauncher
BundleResourceProvider
DOMUtil
DateUtil
DelayedAction
ExecUtil
ExtendedMessageFormat
GraphicsUtil
IPUtil
IntegerScaleDownFilter
KCalendar
ListenerHandler
ProcessAdapter
ProcessMonitor
PropertiesControl
RegexUtil
RepeatingComponentAction
ResourceProvider
SerialExecutor
StringUtil
ThreadPoolExecutor
TimeDateUtil
Util
Validation
WebUtil

Default package classes / root-level resources:
VersionChecker
— resources —
org-shetline-astronomy.properties
org-shetline-skyviewcafe.properties
org-shetline-util.properties
svcicon.gif

Build resources:
/SkyViewCafe.mf
• build_applet_debug.xml (extract from svc_source.zip if needed)
• lib/OptionalClasses.zip (extract from svc_source.zip if needed)
• lib/jaws.jar (extract from svc_source.zip if needed)
• lib/mysql-connector-java-5.1.15.zip (extract from svc_source.zip if needed)

Web-hosted resources:
• svextra/asteroids.txt.gz (extract from svc_source.zip if needed)
• svextra/comets.txt.gz (extract from svc_source.zip if needed)
• /svextra/flags/ (extract from svc_source.zip if needed)
/svextra/grs_longitude.txt
/svextra/insolation_legend.png
/svextra/jupiter_cyl.jpg
/svextra/milky_way.jpg
/svextra/moonlight_legend.png
/svextra/saturn_cyl.jpg
/svextra/small_world.jpg
/svextra/svc_icon.png
/svmaps/maplist_v2.txt
/svmaps/worldmap.jpg
/svmaps/worldmap_night.jpg


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