christmo / macwidgets

Automatically exported from code.google.com/p/macwidgets
0 stars 0 forks source link

Unified toolbar does not render correctly using JDK 6 on MacOS X #24

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
1. Add a unified toolbar to your app's frame 
2. Run the app
3. toolbar has gray background, no gradient visible

The toolbar is supposed to show a gradient background, which fits nicely with 
the title of the 
window.

Latest release on MacOS X Leopard running JDK 6

Original issue reported on code.google.com by dlemmermann@gmail.com on 10 Nov 2008 at 1:23

GoogleCodeExporter commented 8 years ago
This is a known bug with JDK on the Mac. I can add some temporary work-around 
code that paints the gradient 
manually for JDK 6 on the Mac.

Original comment by kenneth....@gmail.com on 10 Nov 2008 at 1:48

GoogleCodeExporter commented 8 years ago
Hi Dirk,

I've added a fix for this. Can you update your repository and give it a try? 
I'm running 1.5.0_13, so I can't confirm 
that it works perfectly.

Thanks,
-Ken

Original comment by kenneth....@gmail.com on 3 Dec 2008 at 12:40

GoogleCodeExporter commented 8 years ago
Hi, can this fix be used to draw the Bar correctly on Java6/Mac?

I tried to comment the if (PlatformUtils.isMacJavaUpdate2())- check to install 
the
fix always, but it had no effect on the bar (still solid gray).

Original comment by studp...@gmail.com on 3 Dec 2008 at 2:36

GoogleCodeExporter commented 8 years ago
I fixed the conditional check. Dirk has verified the fix.

Original comment by kenneth....@gmail.com on 3 Dec 2008 at 2:45