Multiple top-level components

Why does the UI Designer not allow me to have multiple top-level
components? Since I have to somehow attach the components that I have
defined in the form to the containing class, e.g. in a JDialog, use
getContentPane().add(), I should be able to have multiple top-level
components and add them to the different BorderLayout points in the JDialog.

Ciao,
Gordon

--
Gordon Tyler (Software Developer)
Quest Software <http://java.quest.com/>
260 King Street East, Toronto, Ontario M5A 4L5, Canada
Voice: 416-643-4846 | Fax: 416-594-1919

Please sign in to leave a comment.