Possible Duplicate:
Open excel document in java
I have a button in my Java application that, when clicked, should cause Word to open a particular file. This file is residing somewhere in the filesystem, like in a user’s documents directory.
How can I implement something like this in Java?
Here is the simple Demo App , you can modify it for button click event :
}
This would open word file with default word application .
More detail here for Desktop