The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
January 2001



This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.


Can possible if yes, how?

Posted by ruchi and hema on January 04, 2001 at 8:39 AM

hello friends,

i've created one frame and there are two buttons in frame one is ok and cancel
now i am getting Open dialog box of File by clicking on ok.

now i want any file user select e.x any .jpg or .gif file
so open that file with any browser and if user select any .bmp file
so that should open in MSPanint.

now i done the code up to the verify the ext. and open browser
or open MSPaint but selected file not opened in that application

is there any solution of this thing.if possible than help me

Thanx friends


Sponsored Links

Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us