To be useful here, a MailComposeBean has to be inside
its own little JInternalFrame.
// Make the JInternalFrame wrapper
JInternalFrame jf = new JInternalFrame();
// Bake the actual Bean
MailComposeBean newBean =
new MailComposeBean(this, "Compose", 400, 250);
// Arrange them on the diagonal.
jf.setLocation(nx+=10, ny+=10);
// Make the new Bean be the contents of the JInternalFrame
jf.setContentPane(newBean);
jf.pack();
jf.toFront();
// Add the JInternalFrame to the JDesktopPane
dtPane.add(jf);
return newBean;