Results 1 to 8 of 8
  1. #1
    trkece is offline Member
    Join Date
    Feb 2011
    Posts
    22
    Rep Power
    0

    Default Open a link in an External Application using Java

    Hi
    I have one Third party application .exe file, I need to open and there is a link which i need to open and read the contents from that link..

    Link means its not a URL, when we click that link it will open a window which tells status of those particulars

    Pls revrt me

  2. #2
    quad64bit's Avatar
    quad64bit is offline Moderator
    Join Date
    Jul 2009
    Location
    VA
    Posts
    1,323
    Rep Power
    7

    Default Re: Open a link in an External Application using Java

    I don't understand your question - it is a link or it isn't? A link implies that it is a URL, in which case this would all be in the browser?

    Could you define what you mean by 'link'?

  3. #3
    trkece is offline Member
    Join Date
    Feb 2011
    Posts
    22
    Rep Power
    0

    Default Re: Open a link in an External Application using Java

    actually its not a link, its a application, the programme has to go to that application and i have to click on to the search button ( which is located down in that application)

  4. #4
    quad64bit's Avatar
    quad64bit is offline Moderator
    Join Date
    Jul 2009
    Location
    VA
    Posts
    1,323
    Rep Power
    7

    Default Re: Open a link in an External Application using Java

    So you can launch apps with java using native commands, and you can even click buttons using the Robot class, but unless the app spits out some kind of file you can read, or has a public API for interfacing with it, you will be hard pressed to actually get the results of any actions it takes into java.

  5. #5
    trkece is offline Member
    Join Date
    Feb 2011
    Posts
    22
    Rep Power
    0

    Default Re: Open a link in an External Application using Java

    Thanks for the support... helped me a lot..
    Just a small query.--i have copied using Control C using robot class and It has to pasted into one string-

    How shall i do paste into a string (using Ctrl+v)

  6. #6
    quad64bit's Avatar
    quad64bit is offline Moderator
    Join Date
    Jul 2009
    Location
    VA
    Posts
    1,323
    Rep Power
    7

    Default Re: Open a link in an External Application using Java


  7. #7
    trkece is offline Member
    Join Date
    Feb 2011
    Posts
    22
    Rep Power
    0

    Default Re: Open a link in an External Application using Java

    i have tried but doesnt succeed pls support !!

  8. #8
    JosAH's Avatar
    JosAH is online now Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,361
    Blog Entries
    7
    Rep Power
    20

    Default Re: Open a link in an External Application using Java

    Quote Originally Posted by trkece View Post
    Hi
    I have one Third party application .exe file, I need to open and there is a link which i need to open and read the contents from that link..

    Link means its not a URL, when we click that link it will open a window which tells status of those particulars

    Pls revrt me
    Whatever that 'link' may be, suppose that other program processes my bank accounts; I don't want others to be able to see the details and every even half decent operating system forbids such peeking.

    pls? revrt?

    kind regards,

    Jos
    cenosillicaphobia: the fear for an empty beer glass

Similar Threads

  1. how to open class(jpanel) from external jar?
    By skadron_alfa in forum New To Java
    Replies: 3
    Last Post: 01-15-2012, 05:41 AM
  2. Open external file with external program
    By Wietse de Vries in forum New To Java
    Replies: 1
    Last Post: 12-31-2011, 04:52 PM
  3. how to open a link using java
    By mahdy_m_s in forum AWT / Swing
    Replies: 1
    Last Post: 11-17-2010, 04:27 PM
  4. Java application to inlude a link
    By dbashby in forum New To Java
    Replies: 18
    Last Post: 04-28-2009, 02:08 PM
  5. Replies: 1
    Last Post: 12-13-2008, 01:24 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •