custom UI for JButton

HelloI am trying to create a custom UI for a JButton, so far i've been able to do it, but now i'm trying to change the colors of the text when the mouse is over the button, but that event does not seem to call the paint method, anybody can help me on this?
[272 byte] By [Leandro.Fonsecaa] at [2007-10-3 4:33:08]
# 1
That's part of the UI-specific behaviour: you have to add your own listener(s) for that sort of thing.
itchyscratchya at 2007-7-14 22:36:42 > top of Java-index,Desktop,Core GUI APIs...
# 2
hmmm, will try that, thank you for the reply.
Leandro.Fonsecaa at 2007-7-14 22:36:42 > top of Java-index,Desktop,Core GUI APIs...