[4124] in java-interest

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

File Dialogue - Does it Work??

daemon@ATHENA.MIT.EDU (Ralph Mayer)
Mon Dec 11 19:28:34 1995

Date: Mon, 11 Dec 95 17:47:13 -0800
From: Ralph Mayer <mayer@adra.com>
To: java-interest-digest@java.sun.com

Is anyone having any success using the file dialogue?

I am trying to bring up a file dialogue under NT and get a file name from 
it.

If I run from Java I can get the dialogue up, but when I exit the 
dialogue the entire Java window goes away.  The frame used for the 
dialogue is the same frame that I created in main()

If a run from the appletviewer, I have to create a new frame to put the 
dialogue in, and when I try to show the frame, I get a stack trace from 
where Window.show() is trying to create a peer.  Not sure why that is 
happening.

The ComponentTest test file under ..awt/test  is the only example of a 
file dialogue I could find, and it does not seem to work a whole lot 
better.  Trying to run it under Netscape crashed Netscape.

If any one has any advice or example, they sure would be appreciated.

Thanks
Ralph Mayer 


-
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