|
Re: video in java
Its actually not very complicated. Look into the Desktop class. Google: Java Sun Desktop.
For example
Desktop.getDesktop().open( new File("c:/somewhere/aFile.txt") );
// opens the file that was passed as a String.
I'm positive that it works because I have used it. The idea is that the Desktop class allows you to use whatever default applications exist (WMP, Word, etc) in order to open certain file types. I'm pretty sure it works for video as well as text files etc.
|