I'm trying to set my program so that instead of exiting on close button it will iconify, but for some reason when I say
setDefaultCloseOperation( WindowConstants.HIDE_ON_CLOSE )
it doesn't. It dissapears just the same as if I had called
setVisible( false )
I've tried doing the same method call with DO_NOTHING_ON_CLOSE and it works like the variable says: it does nothing. I'm connected remotely to a Unix system and I'm on XP. Maybe it's not able to put the icon in the start bar because of that? Any ideas? Owen
A humanitarian is always a hypocrite.