The Swing model classes can be used independent of the UI classes, so for
example, DefaultTreeModel and DefaultListModel are often useful from a
beans perspective rather than having to write your own.

--
dIon Gillard, Multitask Consulting
Work:      http://www.multitask.com.au
Play:        http://www.trongus.com



Does it make sense to use the model interfaces and classes of Swing in a
servlet?

I'd like to model tree data using TreeModel and TreeNode interfaces.  A
JSP
page will then call beans implementing those interfaces in order to
present
a tree view of nodes.  Instead of writing my own tree algorithm, .e.g.,
getParent, TreeModel makes sense.  But, Swing often implies a Swing GUI.
Of
course, the servlet wouldn't use any of the Swing UI classes.

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to