RJLRef: $PH/COOL-BDE/bde2java/bde2java04f/bde2java04fStatus050924.txt ------------------------------------- ($PH = http://www.cs.uml.edu/~lechner or ~lechner/public_html) The bde2java04f applet of smandava/kyang is now linked from the course home page, at end of the section on COOL-BDE. Please try it in your browser, and report any bugs you find. It can draw 'rounded rectangles, add multi-line text, and handle multiple diagrams in the same file, like bdeUnix. Its .dat file output is compatible with bdeUnix. The same User Guide (bdeUG_2000) applies. Note that an edge from a node to itself is impossible. At present a self-loop on a STD requires a small helper node nearby with links to and from it. bde2SM can account for this, and when the bde2java|bde2SM pipeline works smoothly we can arrange a better default visual style (e.g. shrink helper node to diam=0). Bugs are mostly in text handling: ---------------------------------------- Text windows too narrow, not resizable; Text Create is blocked in some circumstances; Caption text overwrites (RETURN is CR only not CR LF). Text is not resizable; Font Selection doesn't work. Caption text gets duplicated in a HN node sometimes. Text Create will also update existing text, but then old text gets duplicated (exponential growth?). -------------------------------------- The URL $PH/COOL-BDE/bde2java/bde2java04f/bde2java opens the bde2java program of smandava's 04f522 project. Yang's 05s523 project was to test the bde2java04f program, and fix any bugs he finds there. On 050915, SMandava removed a restriction of KYang's bde2javaApplet.html that constrained it to an older version (1.4.2) of the Java Plugin. (Static versioning: jpi-version=1.4.2_01) (Ref: http://java.sun.com/products/plugin/versions.html) SMandava's applet has dynamic versioning as inferred from classid = "clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" (My PC is up to version 1.5.0_04-b05 of the java2 platform std ed'n. (J2SE?), as reported under Control Panel\java.) I copied smandava's version to bde2javaApplet.html, which can be accessed as http://www.cs.uml.edu/~lechner/COOL-BDE/bde2java/bde2java04f/bde2java/ because this is symlinked to $CASE/04f522/kyang/bde2java. -------------------- This directory has an index.html, which displays hyperlinks labeled home, API, Documents, and 'Run Application'. 'Run Application' links to bde2javaApplet.html which opens the bde2java window and asks for name and password in the default mode (Local). Both of these are arbitrary. If you select Remote, then host and passwd are also required. The bytecounts below show that bde2javaApplet.html's bytecount matches bde2javaApplet_sm050915.html (1548B) and not bde2javaApplet_04fky.html (1514B). ---------------------- saturn.cs.uml.edu(284)> pwd /tmp_mnt/nfs/galaxy/misc/proj3/case/04f522/kyang/bde2java saturn.cs.uml.edu(285)> lg *.html -rwxr-xr-x 1 lechner 04f522 1548 Sep 23 23:45 bde2javaApplet.html -rwxr-xr-x 1 lechner 04f522 1514 Dec 7 2004 bde2javaApplet_04fky.html -rwxr-xr-x 1 lechner 04f522 1548 Sep 16 16:55 bde2javaApplet_sm050915.html -rw-r--r-- 1 lechner 04f522 434 Dec 7 2004 bde2javaTest.html -rw-r--r-- 1 lechner 04f522 435 Dec 7 2004 documents.html -rw-r--r-- 1 lechner 04f522 1192 Dec 7 2004 home.html -rw-r--r-- 1 lechner 04f522 482 Dec 7 2004 index.html -rw-r--r-- 1 lechner 04f522 454 Dec 7 2004 menu.html saturn.cs.uml.edu(286)> ------------------