Desktop.getDesktop().open(new File("C:\Users\hs\Desktop\1111.rtf"));
java default program to open the file using Windows
Guess you like
Origin blog.csdn.net/tianyatest/article/details/51698008
Recommended
Ranking