File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Applets and the fly likes Need help from experts for FileDialog() Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Applets
Bookmark "Need help from experts for FileDialog()" Watch "Need help from experts for FileDialog()" New topic
Author

Need help from experts for FileDialog()

ji yao
Greenhorn

Joined: Nov 29, 2001
Posts: 2
I have an applet that shows a picture in the center with two vertical icon button columns to direct the rolling over of the pictures shown at the center. Also a function button for FileDialog has been added for picture download. If I handle FileDialog prompt correctly -- click "save" or "cancel", no problem; If I use mouse to click any part of my applet screen, or even the browser part, the dialog becomes black (actually goes behind my browser screen), and my applet screen is dead. My FileDialog is called withing the event handling block when the button is clicked. How to block my applet from its action until file dialog prompt is correctly answered? Please help me out!
Thank you so much!!!
ji yao
Greenhorn

Joined: Nov 29, 2001
Posts: 2
Here is the reply to my posted question: I used a dummy frame for file dialog. I should get the frame from my applet by using
getParent(). See the discussion at the address below: http://www.jguru.com/faq/view.jsp?EID=27423
Thanks!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Need help from experts for FileDialog()