Alright... this is what I wish to do, coding in java : I work with html, pdf, ... files in my java program and I wish to be able, within the program, to open those files launching the default external program defined by the user in his operation system (like for exemple nescape or iexplorer to open a html file, acrobat for a pdf, ...). Does anyone knows how I can do that? Thanks in advance Zippy 007
hi on a window system try the following: open the command prompt and type "start yourfile", hit enter. then yourfile is opened using the registered application for that type of file. you can do the same from a java programm trough the Runtime.exec() method.
this is very platform dependant, i hope somebody here can give you a hint on how to do this. greets, k