Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / GUI / June 2005

Tip: Looking for answers? Try searching our database.

Rollover in JToolbar issue

Thread view: 
Jakov - 23 Jun 2005 10:18 GMT
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?
Andrew Thompson - 23 Jun 2005 10:28 GMT
>..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


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.