Hi, on Java 1.4 versions code toolBar.setRollover(true) worked well.
It hides JButtons borders, and makes them(borders) visible when mouse was
over them.
But on Java 1.5(currently 1.5.01) this code toolBar.setRollover(true) does
not have effect.
What can be wrong?
>..on Java 1.5(currently 1.5.01) this code toolBar.setRollover(true) does
> not have effect.
Metal PLAF, by any chance?
> What can be wrong?
Checked the bug parade?
(Something I was reminded of, just the other day)
<http://onesearch.sun.com/search/developers/index.jsp?qt=setRollover+1.5&col=javabugs>
--->
<http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5082149>
HTH

Signature
Andrew Thompson
http://www.PhySci.org/codes/ Web & IT Help
http://www.PhySci.org/ Open-source software suite
http://www.1point1C.org/ Science & Technology
http://www.LensEscapes.com/ Images that escape the mundane
Jakov - 23 Jun 2005 11:35 GMT
> >..on Java 1.5(currently 1.5.01) this code toolBar.setRollover(true) does
> > not have effect.
>
> Metal PLAF, by any chance?
Yep, it is Metal PLAF
> > What can be wrong?
>
> Checked the bug parade?
> (Something I was reminded of, just the other day)
<http://onesearch.sun.com/search/developers/index.jsp?qt=setRollover+1.5&col
=javabugs>
> --->
> <http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5082149>
This is exactly what happens. This bug description says that it happens
ocassionally, but in my case
( Win2000+Java 1.501), code toolBar.setRollover(true) doesnt work(even
ocassionally).
> HTH
>
[quoted text clipped - 4 lines]
> http://www.1point1C.org/ Science & Technology
> http://www.LensEscapes.com/ Images that escape the mundane
Best regards
Jakov