I know to minimize the jframe, I need to use setExtendedState(JFrame.ICONIFIED);
But what I am trying to figure out is how to get to the frame. This dialog is child of a parent dialog. Here is the Constructor.
public EdiBaseDialog(EdiDialogHandler edh, Frame parent, TCSession theSession) {
super(parent, false);
session = theSession;
createDialog();
}
So when I try to add setExtendedState(JFrame.ICONIFIED)
command in my jbutton actionPerformed. Which is in a JPanel Method.
I do not know how to address the frame.
??.setState(JFrame.ICONFIED);