check window captions

Dear Java users, i wonder if anyone know how to check which window captions that is running (is it called like that? for example Internet Explorer, Winamp, or a certain MSN window if i have a conversation with example Johan Andersen).

Something that lists the windows that are used.

Thanks in advance, hope you understand what i mean.

[354 byte] By [hannesruns@hotmail.coma] at [2007-11-26 13:56:44]
# 1
Hi,You can't do that in pure java, it requires native code.Kaj
kajbja at 2007-7-8 1:36:24 > top of Java-index,Java Essentials,Java Programming...
# 2
Thank you, do you have any links/code? How to do it?Thanks
hannesruns@hotmail.coma at 2007-7-8 1:36:24 > top of Java-index,Java Essentials,Java Programming...
# 3

> Thank you, do you have any links/code? How to do it?

Not a Java question. First decide what operating system you are interested in (I think I can guess the answer to that). Then find out how to do that in C or C++ using APIs from that operating system. Then make the C or C++ code that you wrote into a JNI module (here's where we come back to Java-land).

DrClapa at 2007-7-8 1:36:24 > top of Java-index,Java Essentials,Java Programming...
# 4
> Thank you, do you have any links/code? How to do it?> > Thanks http://java.sun.com/developer/onlineTraining/Programming/JDCBook/jni.html
prometheuzza at 2007-7-8 1:36:24 > top of Java-index,Java Essentials,Java Programming...