[5947] in java-interest

home help back first fref pref prev next nref lref last post

Help: FileDialog ?

daemon@ATHENA.MIT.EDU (csy)
Tue Mar 5 20:37:01 1996

Date: Fri, 1 Mar 1996 17:21:06 -0600
From: csy@cypress.com (csy)
To: java-interest@java.Eng.Sun.COM

java programmers;

	I'm wondering is there anyone who has experience using the FileDialog
	class in the java.awt.  I have a couple of questions about it:

	1) I heard some rumors about restrictions of using FileDialog on an applet,
	   what are they ?

	2) I can make a FileDialog to show when a user chooses the "Open" menu item,
	   but, how can I associate actions to the events on FileDialog, like,
	   user selecting a file to Open, or hit the Cancel button ?

		- I try to inherit the FileDialog class, and override the
		action() or handleEvent() methods, but doesn't seem to work.

		- anyone can provide me some sample code using FileDialog ?
		I'd appreciate that.

	Thank you in advance for your help.

	- Steve

+---------------------------------------------------------------+
| Steve Yang                    | 2401 E. 86th Street           |
| IS Software Developer/DBA     | Bloomington, MN 55425         |
| Cypress Semiconductor, Inc.   | Voice: (612) 851-5203         |
| csy@cypress.com               | Fax:   (612) 851-5199         |
| WWW: http://www.cypress.com   |                               |
+---------------------------------------------------------------+

-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com

home help back first fref pref prev next nref lref last post