Java Articles

Embedding JavaScript in imaging applications

Embedding a scripting language such as Javascript in certain types of computer applications makes it much easier for the user to repeat complex tasks that may be customized. Imaging applications, in particular, fall into this category. Processing images frequently require repeating nearly identical operations on a large number of images.

Page 1 - Introduction and example (New)
Page 2 - Overview of image library (soon)
Page 3 - GUI (soon)

Connect to a GOTO GPS Telescope with Java™

The current generation of "Go To" GPS telescopes are an amazing technological innovation. Their functionality can be extended even further by connecting them to your computer. This article describes how to use the Java™ Communications API to interface the Celestron™ Nexstar GPS Telescope.

Page 1 - Introduction
Page 2 - Description of the telescope interface
Page 3 - Simple example of command test

Page 4 - PositionDialog
Page 5 - Resources and installation

Apidocs and source cross reference

Map Projections

This series of articles describes the development of software interfaces and applications that compute and display maps and images using several different projections.

Part 1 - The map projection interface, and the skeletal implementation class.
Part 2 - The equidistant cylindrical projection
Part 3 - The orthographic projection

 


 

Build a Simple XSLT Editor Tool

A tool to open, display, and edit XML and XSLT files from local file system or the web is presented. The tool may then be used to perform the transformation and observe the ouput. The series of articles will illustrate techniques to transform and display XML and XSLT documents, and provide undo, redo, cut, and paste using the JEditorPane class.

Part 1 - The Basic GUI, Opening and Displaying XML Files
Part 2 - XSLT Transformations and example of how to use the tool
Part 3 - Undo, Redo, Cut, and Paste

Apidocs and source cross reference


Introduction to the Julian Day Utility

Julian Day routines are useful for performing planetary ephemeris calculations as well simple date arithmetic. Examples of how to perform various Julian day computations are provided. The source code is available for download and is released under a "BSD" style license.

 Introduction to the Julian Day Utility
Apidocs and source cross reference