Results 1 to 9 of 9

Thread: Can Java...

  1. #1
    Moncleared is offline Member
    Join Date
    Jan 2009
    Posts
    92
    Rep Power
    0

    Default Can Java...

    Hi,

    Does java have the ability to read all the window titles that are currently open? For example, if I have an application opened and its window title is "Fun Example Application", does Java have a way to access that information?

    I was hoping I could read in all open Application Window Titles and find one in particular.

    Thanks,

  2. #2
    jojo is offline Member
    Join Date
    Dec 2009
    Posts
    36
    Rep Power
    0

    Default

    no, only if u use a native library

  3. #3
    [RaIdEn] is offline Senior Member
    Join Date
    Oct 2009
    Location
    California,US
    Posts
    201
    Rep Power
    6

    Default

    Am not too sure but.
    Tracking down Threads working.

    Thread (Java 2 Platform SE v1.4.2)

  4. #4
    Moncleared is offline Member
    Join Date
    Jan 2009
    Posts
    92
    Rep Power
    0

    Default

    What do you mean when you say Native Library? The uses of this application will always be on Windows XP and no other.

  5. #5
    jojo is offline Member
    Join Date
    Dec 2009
    Posts
    36
    Rep Power
    0

    Default

    simple: java can't access it, same as it can't acces ur mouse/keyboard input etc

  6. #6
    Lil_Aziz1's Avatar
    Lil_Aziz1 is offline Senior Member
    Join Date
    Dec 2009
    Location
    United States
    Posts
    343
    Rep Power
    5

    Default

    Quote Originally Posted by jojo View Post
    simple: java can't access it, same as it can't acces ur mouse/keyboard input etc
    wait what? I thought it could? Java Swing Events?
    "Experience is what you get when you don't get what you want" (Dan Stanford)
    "Rise and rise again until lambs become lions" (Robin Hood)

  7. #7
    [RaIdEn] is offline Senior Member
    Join Date
    Oct 2009
    Location
    California,US
    Posts
    201
    Rep Power
    6

    Default

    Quote Originally Posted by jojo View Post
    simple: java can't access it, same as it can't acces ur mouse/keyboard input etc
    not True :).
    Keyboard

    KeyListener (Java 2 Platform SE v1.4.2)

    Mouse
    MouseListener (Java 2 Platform SE v1.4.2)

  8. #8
    collin389 is offline Senior Member
    Join Date
    Nov 2009
    Posts
    235
    Rep Power
    6

    Default

    I think he means that it can't edit your mouse keyboard events. Ex. If I were to hit 'a' on my keyboard in notepad with a java program running in the background, you couldn't write a program that changes the 'a' you type into a 'b'. Or whenever you right click, a java program makes it so that the computer thinks you left clicked.

  9. #9
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,315
    Blog Entries
    1
    Rep Power
    26

Posting Permissions

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