Results 1 to 9 of 9
Thread: Can Java...
- 02-04-2010, 07:37 PM #1
Member
- Join Date
- Jan 2009
- Posts
- 92
- Rep Power
- 0
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,
- 02-04-2010, 08:28 PM #2
Member
- Join Date
- Dec 2009
- Posts
- 36
- Rep Power
- 0
no, only if u use a native library
- 02-04-2010, 08:43 PM #3
Senior Member
- Join Date
- Oct 2009
- Location
- California,US
- Posts
- 201
- Rep Power
- 4
Am not too sure but.
Tracking down Threads working.
Thread (Java 2 Platform SE v1.4.2)
- 02-04-2010, 08:45 PM #4
Member
- Join Date
- Jan 2009
- Posts
- 92
- Rep Power
- 0
What do you mean when you say Native Library? The uses of this application will always be on Windows XP and no other.
- 02-04-2010, 09:18 PM #5
Member
- Join Date
- Dec 2009
- Posts
- 36
- Rep Power
- 0
simple: java can't access it, same as it can't acces ur mouse/keyboard input etc
- 02-04-2010, 10:12 PM #6
- 02-04-2010, 10:20 PM #7
Senior Member
- Join Date
- Oct 2009
- Location
- California,US
- Posts
- 201
- Rep Power
- 4
not True :).
Keyboard
KeyListener (Java 2 Platform SE v1.4.2)
Mouse
MouseListener (Java 2 Platform SE v1.4.2)
- 02-05-2010, 01:40 AM #8
Senior Member
- Join Date
- Nov 2009
- Posts
- 235
- Rep Power
- 4
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.
-
Java can't be used by itself to create a system-wide mouse or keyboard listener such as a spyware program.


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks