warren
1
I’m looking for a way to highlight or alter the border of a textbox while the mouse is hovered over the particular textbox?
I’ve used toBorder functions in expression bindings but for a textbox that will not work in the script. What else could I use?
Import BorderFactory in a project library script and call its static methods from your events.
In the Library:
from javax.swing import BorderFactory
In your event:
event.source.border = someLibScript.BorderFactory.createSomeBorder(...)