0 Replies Latest reply: Sep 7, 2012 6:42 AM by 949976 RSS

    Adding desktop API to java swings


      I want to open the default web browser through java. So, I used desktop api to open the default web browser and its working fine also.

      I tried like this:

                          desktop.getDesktop().browse(new URI("http://www.aamec.com"));

      Now, I want to add the opened file to internal frame of my application. I tried using add() but it's not working..

      Pls help me out..

      Thanks in advance,