+ 2
Is there any possible to open a file using java code in eclipse,the file that are availabe in pc ?
2 Respostas
+ 1
create a thread and inside that thread write this
if (Desktop.isDesktopSupported()) {
Desktop.getDesktop().open(file);
}
0
Not sure to understand what you want. But in Java 1.7 they change the implementation of the management of the file. You can do every thing with the NIO 2 library.