Hi all
I am currently trying to add support to lunch Acrobat when a client is opening pdf files through our webstart application. I know Java 1.6 has:
if (Desktop.isDesk topSupported()) {
try {
Desktop.getDesk top().open(new File(uri));
} catch (IOException e) {
e.printStackTra ce();
}catch(Unsuppor tedOperationExc eption ex){
ex.printStackTr ace();
}
}
Unfortunately i have to get this rolling also on 1.5. I am currently working with reflections, but i was wandering if there is a nicer way to do this.
Thanks all
I am currently trying to add support to lunch Acrobat when a client is opening pdf files through our webstart application. I know Java 1.6 has:
if (Desktop.isDesk topSupported()) {
try {
Desktop.getDesk top().open(new File(uri));
} catch (IOException e) {
e.printStackTra ce();
}catch(Unsuppor tedOperationExc eption ex){
ex.printStackTr ace();
}
}
Unfortunately i have to get this rolling also on 1.5. I am currently working with reflections, but i was wandering if there is a nicer way to do this.
Thanks all