M
milindsj
Hi,
I have the following code in windowClosing() of JFrame in Mac
public void windowClosing(WindowEvent event)
{
setDefaultCloseOperation(JFrame.HIDE_ON_CLOSE);
}
Hence after I click on the close button, window won't be visible.
But the .app is available in the dock menu of Mac.
How can I make the window visible if I click on the .app icon in dock.
Please let me know.
Thanks in advance.
Milind
I have the following code in windowClosing() of JFrame in Mac
public void windowClosing(WindowEvent event)
{
setDefaultCloseOperation(JFrame.HIDE_ON_CLOSE);
}
Hence after I click on the close button, window won't be visible.
But the .app is available in the dock menu of Mac.
How can I make the window visible if I click on the .app icon in dock.
Please let me know.
Thanks in advance.
Milind