Some talks I gave at JavaOne in 2000, 2001, and 2002.

#JavaOne 2002

First, thanks to everyone who showed up at my talk, Creating Custom JSP Tags. At least that was the title until the legal folks got hold of it...

I've posted a non-JavaOne copy of the slides as well as code samples that can be used in Tomcat.

## Using the Sample Code

### Trying the samples on your machine

The sample code has been tested under Tomcat 4.0.3. (You can obtain tomcat from http://tomcat.apache.org).

To install the sample code:

2. Unzip it into the webapps directory of your tomcat installation. This should create a customtag directory under webapps.
3. Modify the conf/server.xml file in your tomcat installation to create a context for custom tag. You can add a line like

<Context path="/customtag" docBase="customtag" debug="0" reloadable="true"/>


in your server.xml file. Search for the other Contexts that are defined, such as the manager context, and place this new context there.

Once you have the sample code installed, you can surf to any of the following URLs to view the samples. Note that these URLs assume a standard development installation of tomcat, listening at port 8080 on your local machine. If tomcat is installed elsewhere, you'll need to modify the URLs accordingly.

URLs for custom tag samples on your machine

This sample code is free for any use other than selling it as a stand-alone product.

Note that the sample code is provided "as-is" without any warrantee or guarantee of suitability for any purpose. Scott Stanchfield cannot be held responsible for any damage caused by its use.

#JavaOne 2001

First, thanks to all who attended my talk, Effective Layout Management. I'm posting a non-JavaOne copy of the slides here. Be sure to read the original article, Effective Layout Management. A link can be found on my articles page.

Note: I originally planned to update the Effective Layout Management article, but I have been approached by a publisher to write a book on the subject. I have not decided yet if I will actually write the book or not.

# JavaOne 2000

First, thanks to everyone who showed up at the BOFs ("Birds of a Feather" sessions) that I hosted! I had a great time jabbering on about VisualAge for Java, Model-View-Controller, Actions, and layout managers. I'm glad we got a chance to let the IBMers answer some of your buring questions, and many of those answers were just what we're looking for!

If you have any questions on anything I talked about, please don't hesitate to email me at scott@javadude.com!

## Model-View-Controller BOF ("MVC for You and Me")

As promised, you can download the slides for this talk here, as well as find some other interesting resources on MVC. Enjoy!

• MVC for You and Me.zip -- PowerPoint slides for my MVC talk. If you don't have PowerPoint, you can download a free viewer from Microsoft.com.
• Applying the Model-View-Controller Paradigm in VisualAge for Java (No longer online) Introduction to the Model-View-Controller Paradigm and details on applying it visually in VisualAge for Java. _Note: This article has many specifics to VisualAge for Java, but the general concepts and the walkthrough demonstration can be useful to help you see how to apply MVC in other environments as well.
• Advanced Model-View-Controller Techniques (No longer online)
A more general, conceptual article on some more advanced MVC topics. Much mess emphasis on VisualAge for Java, and includes examples of sorting, merging, and filtering Swing tables.

## Actions: Experience and Speculation

In case you're interested in the Swing Action slides, you can access there here:

## Fun with Layout Managers

I've put the MaxMinLayout manager file here for you to look at. Note that it has some rough edges, and is only meant to represent a simple example of a custom layout manager. It's actually an example from my book, Effective VisualAge for Java, where I discuss how to integrate custom layout managers with VisualAge for Java.

## Look and Feel Guidelines: What do they mean to you?

My apologies to anyone who wanted to come to this BOF. I had a few issues come up during the first day at JavaOne and had to cancel it. Please be aware that Sun is working on version 2 of the Look and Feel Guidelines, and they're really interested in any feedback you may have on the initial guidelines.