JDesktopPane jp=(JDesktopPane)this.getParent();
JInternalFrame[] jf=jp.getAllFrames();
for(int i=0;i<=jf.length-1;i++)
{
jf[i].dispose();
}
(For question email or im in mzohaib91@yahoo.com)
JInternalFrame[] jf=jp.getAllFrames();
for(int i=0;i<=jf.length-1;i++)
{
jf[i].dispose();
}
(For question email or im in mzohaib91@yahoo.com)