Results 1 to 6 of 6
  1. #1
    Rychy is offline Member
    Join Date
    Aug 2013
    Posts
    3
    Rep Power
    0

    Question How to et name from a window from a Windows XP?

    Hello!!

    I would like to know if it is possible to know the name from a window of the no java application running Windows XP.
    If it possible?
    Which library could be this kind of operations?

    Then I would like to know if it possible a window navigation of a application running Windows XP.

    Thank you very much!

  2. #2
    masijade is offline Senior Member
    Join Date
    Jun 2008
    Posts
    2,571
    Rep Power
    9

    Default Re: How to et name from a window from a Windows XP?

    See the InetAddress class.

  3. #3
    Rychy is offline Member
    Join Date
    Aug 2013
    Posts
    3
    Rep Power
    0

    Default Re: How to et name from a window from a Windows XP?

    Thank you to respond.

    This class?
    Java Platform 1.2 API Specification: Class InetAddress

    I think this class is no related with I need.

    I need to know the name of any no java application window that has running in Windows XP or Windows 7 or 8.
    I don't belive no exist something like that.

    I would like to make an automatic software installer. To do that, I need to interactive with Windows of the OS. I need to navigate, close for example using "ALT+F4" and something like that.

    Will be very usefull some class to know what is the window is running, and something like that.

  4. #4
    gimbal2 is offline Just a guy
    Join Date
    Jun 2013
    Location
    Netherlands
    Posts
    4,030
    Rep Power
    6

    Default Re: How to et name from a window from a Windows XP?

    Getting information about another application, Java or non-java, is highly operating system specific. Java does not do operating system specific things. If you want to do this, you need to write native code and use JNI/JNA - that's far from trivial.
    "Syntactic sugar causes cancer of the semicolon." -- Alan Perlis

  5. #5
    masijade is offline Senior Member
    Join Date
    Jun 2008
    Posts
    2,571
    Rep Power
    9

    Default Re: How to et name from a window from a Windows XP?

    For some reason or other I was thinking "get the name (i.e. hostname) of a windows machine". Oh well, so much for reacting on first impressions.

  6. #6
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,253
    Rep Power
    19

    Default Re: How to et name from a window from a Windows XP?

    Since this thread has nothing to do with AWT/Swing, I've moved it here.

    db
    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

Similar Threads

  1. Replies: 1
    Last Post: 05-03-2013, 02:57 PM
  2. Replies: 3
    Last Post: 11-15-2011, 12:58 AM
  3. JOption pop up window is behind all other windows
    By biggmann in forum New To Java
    Replies: 3
    Last Post: 10-15-2010, 08:24 PM
  4. How to lock Windows XP desktop using Window/JWindow
    By chyrl in forum Advanced Java
    Replies: 11
    Last Post: 08-19-2010, 09:46 PM
  5. Replies: 8
    Last Post: 12-01-2008, 02:07 PM

Posting Permissions

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