I want to minimize it to the parent window which is a frame.
Joined: Jun 09, 2003
so, it's going to sit as a tiny icon, somewhere on the frame?
then click the icon to restore?
if that's what you're trying, one way might be:
set the dialog as undecorated,
build your own titleBar, adding min/max(restore)/X buttons
add the titleBar at borderLayout.NORTH of the dialog
add a motionListener to the titlebar, so the dialog can be dragged to a new location
add a border to the dialog