JSP onMouseOver

Hello, I am trying to play around with a web application in java studio creator 2, and want to use the onMouseOver tag, but it doesn't appear to do anything. I am just using the properties window for the static text field, setting various things in the onMouseOver box, but nothing I put in there seems to change anything. I know studio creator uses JSP and the line for the text field is:

<ui:staticText binding="#{Fragment1.txt11}" id="txt11" onMouseOver="" style="height: 28px; left: 84px; top: 84px; position: absolute; text-align: center; width: 28px; z-index: 1; cursor: default"/>

Right now I just want to highlight the static text field by changing the back ground color when the mouse is over it. I have also tried adding things to onClick and nothing I put in there does anything.

Any suggestions?

thank you for any help I get!

Matthew

[886 byte] By [Matthew.Shoemakera] at [2007-11-27 10:23:05]
# 1

You put a javascript function on the onMouseOver attribute, and it gets executed when you mouse over it. If you need help with the javascript you can google for a javascript forum. Java isn't the same thing as javascript.

onMouseOver="myJavaScriptFunction()"

hunter9000a at 2007-7-28 17:19:54 > top of Java-index,Java Essentials,Java Programming...