On Wed, 30 Aug 2000, Johnson, Bruce wrote:

> Version 0.6 of SWANK, a GUI toolkit written in Java and similar to Tk, is
> now available.  With this release most of the demos in the Tk widgets demo
> now work.  A slightly modified verson of the widget demo is included with
> the source release of SWANK.  The source files can be found at
> http:/www.nmrview.com/swank/index.html
> 
> 
> Feedback on SWANK is highly appreciated.
> 
> Bruce Johnson

Cool.

The first thing I noticed, is that the README is
really hard to read. Could you reformat it?
I have attached a version that I reformatted
so that the width is not to wide for most
screens.

Also, the swank0.6/configure file does not
have the executable bit set, so I can not
run it without doing a chmod.

At any rate, I tried to compile with
1.3 and I got this error.

/home/mo/project/swank/swank0.6/swank/SwkJCheckBox.java:348: unreported 
exception tcl.lang.TclException; must be caught or declared to be thrown
                        
interp.untraceVar(getVarName(),commandListener,TCL.TRACE_WRITES| 
TCL.GLOBAL_ONLY);
                              ^
1 error
make: *** [swank.jar] Error 1

Have you seen this before?

Mo DeJong
Red Hat Inc
This 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) 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.

The following Tk like commands are at least partially 
implemented: canvas, text, button, label,
checkbutton, toplevel, listbox, frame, scale, message,
radiobutton, entry, menubutton, menu, 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 SOFTWARE
IS 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.

Reply via email to