Index: java/org/apache/commons/jelly/tags/swing/SwingTagLibrary.java
===================================================================
RCS file: /home/cvspublic/jakarta-commons-sandbox/jelly/src/java/org/apache/commons/jelly/tags/swing/SwingTagLibrary.java,v
retrieving revision 1.16
diff -u -r1.16 SwingTagLibrary.java
--- java/org/apache/commons/jelly/tags/swing/SwingTagLibrary.java	9 Dec 2002 14:40:54 -0000	1.16
+++ java/org/apache/commons/jelly/tags/swing/SwingTagLibrary.java	2 Jan 2003 22:00:27 -0000
@@ -137,6 +137,9 @@
         // BorderLayout
         registerTag( "borderLayout", BorderLayoutTag.class );
         registerTag( "borderAlign", BorderAlignTag.class );
+
+        // Dialog
+        registerTag( "dialog", DialogTag.class );
     }
 
     /** Creates a new script to execute the given tag name and attributes */
@@ -185,8 +188,7 @@
 					// Have a ComboBoxModel (just one should have a Table or Tree Model objects) ?
 					// can the element control it's children ?
 					// but children should also be able to be any component (as Swing comps. are all container)
-        registerBeanFactory( "desktopPane", JDesktopPane.class );
-        registerBeanFactory( "dialog", JDialog.class );
+        registerBeanFactory( "desktopPane", JDesktopPane.class );        
         registerBeanFactory( "editorPane", JEditorPane.class );
         registerBeanFactory( "fileChooser", JFileChooser.class );
         registerBeanFactory( "frame", JFrame.class );
