localghost Posted July 8, 2010 Posted July 8, 2010 Hello,I am writing an add-on for a game called tanks. It's a 2D java applet game. The problem is it has no sounds, so I was thinking of writing a script which would search the marked TextArea and if a string is found (example: [user has been destroyed]) the it would play a sound like an explosion.In the picture below I have marked out where I want the text to read from..http://img707.imageshack.us/img707/8127/ddsddfff.pngNow, I don't know is it possible for a java applet window. But it doesn't use swing, just the normal AWT toolkit, so there shouldn't be any problems. I am able to find the window text, but it's just getting the text of that control, which I don't know the name of.any help would be great,thanks.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now