Menu

Tree [r19] /
 History

HTTPS access


File Date Author Commit
 button 2012-05-20 jdl3 [r19] More date changes.
 complex 2011-02-14 jdl3 [r14] Set keywords.
 expression 2011-02-14 jdl3 [r14] Set keywords.
 graph 2011-02-14 jdl3 [r14] Set keywords.
 icons 2011-02-12 jdl3 [r6] First move from CVS to subversion. Includes bug...
 pobject 2011-02-14 jdl3 [r14] Set keywords.
 AngleType.java 2011-02-14 jdl3 [r14] Set keywords.
 Base.java 2011-02-14 jdl3 [r14] Set keywords.
 COPYING 2011-02-12 jdl3 [r1] First move from CVS to subversion. Includes bug...
 CalcButtonApplet.java 2011-02-14 jdl3 [r14] Set keywords.
 CalculatorApplet.java 2012-05-20 jdl3 [r18] More date changes.
 CalculatorPanel.java 2011-02-14 jdl3 [r14] Set keywords.
 DataTransfer.java 2011-02-14 jdl3 [r14] Set keywords.
 DisplayLabel.java 2011-02-14 jdl3 [r14] Set keywords.
 DisplayNavigator.java 2011-02-14 jdl3 [r14] Set keywords.
 DisplayPanel.java 2011-02-14 jdl3 [r14] Set keywords.
 Doxyfile 2011-02-14 jdl3 [r8] Set keywords.
 EntryLabel.java 2011-02-14 jdl3 [r14] Set keywords.
 EntryNavigator.java 2011-02-14 jdl3 [r14] Set keywords.
 Error.java 2011-02-14 jdl3 [r14] Set keywords.
 ExtraPanel.java 2011-02-14 jdl3 [r14] Set keywords.
 GObject.java 2011-02-14 jdl3 [r14] Set keywords.
 HexPanel.java 2011-02-14 jdl3 [r14] Set keywords.
 HistoryItem.java 2011-02-14 jdl3 [r14] Set keywords.
 LeftOrRight.java 2011-02-14 jdl3 [r14] Set keywords.
 MiniPanel.java 2011-02-14 jdl3 [r14] Set keywords.
 Navigator.java 2011-02-14 jdl3 [r14] Set keywords.
 Notation.java 2011-02-14 jdl3 [r14] Set keywords.
 OObject.java 2012-05-20 jdl3 [r17] Updated date.
 ParseBase.java 2011-02-14 jdl3 [r14] Set keywords.
 Parser.java 2012-05-20 jdl3 [r17] Updated date.
 PlainPanel.java 2011-02-14 jdl3 [r14] Set keywords.
 README 2011-02-14 jdl3 [r8] Set keywords.
 ReadOnlyCalculatorApplet.java 2011-02-14 jdl3 [r14] Set keywords.
 ReadOnlyDisplayPanel.java 2011-02-14 jdl3 [r14] Set keywords.
 ScrollableLabel.java 2011-02-14 jdl3 [r14] Set keywords.
 ShiftHexPanel.java 2011-02-14 jdl3 [r14] Set keywords.
 ShiftPanel.java 2011-02-14 jdl3 [r14] Set keywords.
 ShiftStatPanel.java 2011-02-14 jdl3 [r14] Set keywords.
 SpecialButtonType.java 2011-02-14 jdl3 [r14] Set keywords.
 StatPanel.java 2011-02-14 jdl3 [r14] Set keywords.
 StringArray.java 2011-02-14 jdl3 [r14] Set keywords.
 Substitution.java 2011-02-14 jdl3 [r14] Set keywords.
 WhitePanel.java 2011-02-14 jdl3 [r14] Set keywords.
 jar_cmf 2011-02-12 jdl3 [r1] First move from CVS to subversion. Includes bug...

Read Me

Java Scientific Calculator
==========================

To compile this application/applet you will need Sun Java 2 1.5.0 or an equivalent
or later Java compiler. You cannot use Java 1.4.x or earlier.

You should have within this directory, three subdirectories: button, pobject and
icons: icon contains some image files. The other two subdirectories contain some of
the java source and must be compiled.

I recommend you compile the application outside of the source tree. I use a
subdirectory called build and compile with the source in the jscical
subdirectory as follows. The instructions are for a unix system.

First set up build directory.

$ jar xvf jscicalc.jar
$ mkdir build
$ mkdir build/jscicalc
$ cp jscicalc/jar_cmf build/jscicalc/
$ mkdir build/jscicalc/icons
$ cp jscicalc/icons/* build/jscicalc/icons

Then compile class files.

$ javac -d build -target 5 -Xlint jscicalc/*.java

Then create jar file to contain them.

$ cd build
$ jar cmvf jscicalc/jar_cmf jscicalc.jar jscicalc/

Now you can place jscicalc.jar wherever you like and run it using

$ java -jar jscicalc.jar

==================================================================================

Creating documentation
======================

You'll probably want to do this if you want to modify or embed the calculator in
something else.

First set up documentation directory.

$ cd .. (one level below jscicalc)
$ mkdir doc
$ mkdir doc/jscicalc
$ cp jscicalc/Doxyfile doc/jscicalc/

Create documentation using Doxygen (http://www.stack.nl/~dimitri/doxygen/).

$ cd doc/jscicalc
$ doxygen

The documentation gets created in subdirectories, notably the HTML subdirectory.

Alternatively, you should can use javadoc.

==================================================================================

Creating Source code
====================

jar cvf jscicalc.jar jscicalc/*.java jscicalc/README jscicalc/jar_cmf jscicalc/COPYING jscicalc/pobject/*.java jscicalc/complex/*.java jscicalc/expression/*.java jscicalc/icons/*.png jscicalc/icons/*.ico jscicalc/icons/README jscicalc/icons/LICENSE.crystalsvg  jscicalc/button/*.java jscicalc/graph/*.java