hst-logo.gif 1K

Java Image Preview Application V1.2

M. Dolensky, ST-ECF, Nov. 98
stecfwhite.gif 4K

Follow this link for a NEWER version of JIPA!

Contents 

snapjipa.gif 12K

How to use JIPA

There are several possibilities:

How to install JIPA as an Application


New Features of JIPA V1.2


 

List of tested Environments

Platform/Environment Java Virtual Machine or Java Component
Linux, Suse 5.1
Browser NS 4.04, AppletViewer
MacOS
Browser NS 4
Solaris 2.5
Browser NS 4.04, NS 4.08, NS 4.5, IE 4, HotJava 1.1, AppletViewer
Stand-alone JDK 1.1.4, JDK 1.1.6, JDK 1.2beta4
Instantiated Starview II
Windows95
Browser NS 4.04, IE 4
Stand-alone JRE 1.1.4
Windows NT 4
Browser NS 4

Web Browsers and Java Support

JVMs of Web Browsers often only support a subset of the standard Java classes and methods. Below is a list of features that NS 4.04 on Solaris is missing and for which a work around had to be found in each individual case:
Missing Entity Work Around
Class java.awt.ScrollPane Re-implement scrollable canvas class (>1000 lines of code!)
Method drawImage(10 args) in class java.awt.Graphics Using simpler method drawImage(6 args) together with more complicated clipping strategy.
Method setSize in class java.awt.Component Use deprecated method resize.
Method setLocation in class java.awt.Component Catch exception and skip code when JVM doesn't support it.
Method setCursor in class java.awt.Component Catch exception and skip code when JVM doesn't support it.
Method setCaretPosition in class java.awt.TextComponent Catch exception and skip code when JVM doesn't support it.
Method setBlockIncrement in class java.awt.Scrollbar Use deprecated method setPageIncrement.
Methods setHgap and setVgap in java.awt.GridLayout Using layout manager GridBagLayout instead.
Method setEnabled in java.awt.MenuItem Use deprecated methods enable and disable.
Constructor Checkbox(String, boolean) in class java.awt.Checkbox Use Constructor Checkbox(0 args) and call methods setLabel and setState.
Constructor TextArea(String, int, int, int) in class java.awt.TextArea Catch exception and use constructor TextArea(String, int, int) in that case.

Related Publications

Reference Download Article Download Poster or Slides
Dolensky, M., Micol, A., Pirenne, 1998, HST Archive Services Implemented in Java, The ESO Messenger, 93, 23 HTML
PostScript (1.6 M)
Word97 (595 K)
-
Dolensky, M., 1998, Java Components and Design Patterns for Astronomy, Poster at Workshop on Observing Tools at Univ. of Maryland Conf. Center - HTML
PostScript (6.0 M)
PPT (377 K)
Dolensky, M., Mayhew, B., Kennedy, B., 1998, Design Study about Integration of Starview II and JIPA using advanced Java Mechanisms, ASP Conf. Ser., in press - HTML
PostScript (6.7 M)
PPT (1.0 M)

 

Feedback

We'd like to hear from you!
Although ST-ECF is lacking the resources for full featured user support we are constantly trying to accommodate with user requirements and to learn about software problems.
 
Send comments to <catalog@eso.org>.