This is to announce the first public release of SWANK(tm), a graphical user
interface toolkit implemented entirely in JAVA(tm).  SWANK(tm) provides the
companion to Jacl, the Tcl interpreter implemented in JAVA(tm).  Thus,
Jacl/SWANK(tm) forms the analogous pair to Tcl/Tk and can be used to rapidly
script user interfaces.  The goal of the design of SWANK(tm) was to provide
a toolkit that will be familiar to Tk users, provide a reasonable level of
backwards compatibility with Tk, and provide access to the generally
greater, as compared to Tk, feature level of the Swing components.

SWANK(tm) was, and continues to be, developed with an automatic
code-generation technique.  Using the JAVA(tm) introspection capabilities
available in Jacl, the methods for each Swing class are deduced, and then
JAVA(tm) code is automatically written, with a Tcl script, to implement a
Tcl/Tk like scripting interface.  Implementing SWANK(tm) in this way allows
two significant advantages.  One, the development of the code was
significantly faster than if all the JAVA(tm) code had been hand-written.
Second, significant changes in the structure of the code can be made simply
by changing the code-generation script, rather than rewriting the JAVA(tm)
code that implements the interface to each Swing class.  Additional, hand
written, JAVA(tm) code provides a variety of utility routines such as the
grid and pack geometry managers.

In the present version there is support for the following Swing components:
JButton, JCheckBox, JCheckBoxMenuItem, JComboBox, JDialog, JFileChooser,
JFrame, JInternalFrame, JLabel, JList, JMenu, JMenuBar, JMenuItem,
JOptionPane, JPanel, JPopupMenu, JRadioButton, JRadioButtonMenuItem,
JScrollBar, JScrollPane, JSlider, JSplitPane, JTabbedPane, JTextPane.  The
following Tk like commands are at least partially implemented: button,
canvas, label, checkbutton, toplevel, listbox, frame, scale, message,
radiobutton, entry, menubutton, menu, text, pack, bind, grid, wm and winfo
commands.
        
SWANK(tm) is available at http://www.nmrview.com/swank/index.html.  The
license for SWANK(tm) (appended below) grants permission to use, copy
modify, distribute and license the software for any purpose.  I look forward
to receiving feedback on SWANK(tm).

This software is copyrighted by Merck & Co., Inc.  The following terms apply
to all files associated with the software unless explicitly disclaimed in
individual files.

The authors hereby grant permission to use, copy, modify, distribute, and
license this software and its documentation for any purpose, provided that
existing copyright notices are retained in all copies and that this notice
is included verbatim in any distributions. No 


written agreement, license, or royalty fee is required for any of the
authorized uses.


IN NO EVENT SHALL THE AUTHORS OR DISTRIBUTORS BE LIABLE TO ANY PARTY FOR
DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT
OF THE USE OF THIS SOFTWARE, ITS DOCUMENTATION, OR ANY DERIVATIVES THEREOF,
EVEN IF THE AUTHORS HAVE BEEN ADVISED OF THE 


POSSIBILITY OF SUCH DAMAGE.

THE AUTHORS AND DISTRIBUTORS SPECIFICALLY DISCLAIM ANY WARRANTIES,
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT.  THIS SOFTWAREIS
PROVIDED ON AN "AS IS" BASIS, AND THE AUTHORS AND DISTRIBUTORS HAVE NO
OBLIGATION TO 


PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.

SWANK(tm) is a trademark of Merck & Co., Inc., Whitehouse Station, NJ, USA

JAVA(tm) is a trademark of Sun Microsystems, Inc.

----------------------------------------------------------------
The TclJava mailing list is sponsored by Scriptics Corporation.
To subscribe:    send mail to [EMAIL PROTECTED]  
                 with the word SUBSCRIBE as the subject.
To unsubscribe:  send mail to [EMAIL PROTECTED] 
                 with the word UNSUBSCRIBE as the subject.
To send to the list, send email to '[EMAIL PROTECTED]'. 
An archive is available at http://www.mail-archive.com/tcljava@scriptics.com

Reply via email to