Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Swing / AWT / SWT
What if the FileDialog is invoked from a JDialog???
Joined: Sep 10, 2004
Nov 09, 2004 16:29:00
What if the
is invoked from a
If I do this:
fd = new
this is ok BUT if the user switches to a diff aplication (say IE) the
is going backwords and the application is 'frozen'.
and i cant palce a
in the constructor?
fd = new
I tried to get the root frame with
Component c = SwingUtilities.getRoot((Component)e.getSource());
frame = (
but it doesn't work because the 'rootFrame' is a dialog.
I agree. Here's the link:
subject: What if the FileDialog is invoked from a JDialog???
FileDialog playing hide and seek
FileDialog save as FREEZE ?!?!
how to invoke FileDialog from a dialog?
saving an image
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014