[Mathlib-update] SwingGUI 1.5.0 released
Status: Beta
Brought to you by:
st_mueller
From: Alejandro T. <ate...@ya...> - 2004-03-05 17:56:38
|
Hi! the version 1.5.0 has been released today. The major upgrades are: * An integrated HTML viewer for help files. * Text-sensitive help. * Function auto-completion. * Frame decoration ;-) Here you have the list of modifications: ---- HISTORY ------------------------------------------------------------------ 2004/03/05 Version 1.5.0 + Source/MathLib/UI/Swing/AutoCompletion.java See GN0014 for more information. + Source/MathLib/UI/Swing/HTMLRenderDialog.java See GN0016 for more information. # Source/MathLib/UI/Swing/SwingGUI.java # Frame decoration finally works. See GN0013. * Enabled javadoc and function reference help menuitems. * Source/MathLib/UI/Swing/ReleaseNotes.java + Added ESC key "quit" method. See DN0013. * Source/MathLib/UI/Swing/KeyHandler.java + Added auto-completion support. * Source/MathLib/UI/Swing/SwingGUI.properties + Added AutoCompletion options + Added line wrap options. * Source/MathLib/UI/Swing/Console.java + Added static reference + Added the method getCurrentWord() * Source/MathLib/UI/Swing/KeyHandler.java + Added static reference + Source/MathLib/ResourceBundles/ErrorBundle_es.properties 1.5.0 release: 05th mar 2004 General Notes GN0013. Finally frame decoration works. This is done by way of setDefaultLookAndFeelDecorated() static method called *before* the any JFrame or JDialog subclass instantiation. I was not able to do this otherwise. GN0014. The autompletion class will help to remember functions and will allow you write faster scripts. This class works like bash autocompletion: just hit the TAB key and you will see all those functions starting with the entered string. GN0015. You should be aware not to include inner directories in the search path because those "inner files" will be repeated (no control is taken) You should avoid search path like these ones: AUTOCOMP_SEARCH_DIRS=./SomeDir/ ./SomeDir/ADir AUTOCOMP_SEARCH_DIRS=./SomeDir/ ../ GN0016. Added the long waited help viewer. The class HTMLRenderDialog.java can render RTF and a subset of HTML 3.2 See DN0015 for more information. GN0017. The function viewer will try to open the function help of the function under the cursor. Development Notes DN0013. The newly decorated JDialog subclasses (About.java and ReleaseNotes.java) does not provide a default close button, so I have added this listener to catch the ESC key. See DN0004 for more references. DN0014. MathLib can access "hard-wired" functions (*.class files) and scripts (*.m files) by default, so here is where these extensions, separated by spaces, are stored. DN0015. The class HTMRenderDialog.java is based on the code found at: http://java.sun.com/developer/onlineTraining/GUI/Swing1/shortcourse.html#JFCEditorPane The "hard work" is automatically done by the JEditorPane class. DN0016. The following code freezes the app: char c = s.charAt(i+j); while (Character.isLetterOrDigit(c)); { j++; c = s.charAt(i+j); } The broken thing is the call to "isLetterOrDigit()", so I have to do this workaround. Regards, Alejandro. |