Get the tools you need to learn Java skills fast!
Video tutorials, eBooks, hands-on lab exercises, sample code.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Badass: Making Users Awesome
this week in the
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 save as FREEZE ?!?!
saving an image
FileDialog playing hide and seek
how to invoke FileDialog from a dialog?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015