Systems default texteditor

Hi there!

I think this may scratch on system-indepence... but there are other methods implemented that do so in a similar way... so let's try it :-)

Is there some method to call the systems default programm for textfiles, images, mails etc? Nothing more but calling it with a filename or a list of filenames?

Thanks a lot,

Markus

[361 byte] By [photo_mania@web.dea] at [2007-10-3 3:36:10]
# 1
Assuming Windows system, the default programs for different extensions are stored in the registry. You can access the registry using API such as jRegistryKey. So once you get the full path of these default programs, you would just launch it like launching any program within java.
_maxmkleea at 2007-7-14 21:31:05 > top of Java-index,Desktop,Developing for the Desktop...