JDesktopPane is new to me, but after looking at the API and writing some
test code, it appears that...
You still need to add the JDesktopPane to a top-level container, like a JFrame.You add JInternalFrames to the JDesktopPane.You can then add JButtons directly to the JInternalFrame (unless you want a JPanel).Here's my test code...
I think the bigger question is: Are you sure it's a JDesktopPane that you want?
[ November 10, 2005: Message edited by: marc weber ]