Hi All,
I am very much new to java Swings I need to open the PDF file from Swings application..
I tried as follows...
Runtime r= Runtime.getRunt ime();
Process p = r.exec("C:/Program Files/Adobe/Reader 8.0/Reader/AcroRd32.exe Test.Pdf");
it got work.. But is ter any other solution.. because am hard coding the path of the exe file in the above code....
pl help me out ASAP...
I am very much new to java Swings I need to open the PDF file from Swings application..
I tried as follows...
Runtime r= Runtime.getRunt ime();
Process p = r.exec("C:/Program Files/Adobe/Reader 8.0/Reader/AcroRd32.exe Test.Pdf");
it got work.. But is ter any other solution.. because am hard coding the path of the exe file in the above code....
pl help me out ASAP...
Comment