Open GoogleCodeExporter opened 8 years ago
It seems Google code does not allow to edit the issue after create it. There are
several points I need to make it clear.
Expected result:
see: safari_pref_dialog.PNG
Observed result:
In environment 1: see: leopard_java1.5_jdialog.PNG and
leopard_java1.5_jframe.PNG
In environment 2: see: leopard_java1.6_jdialog.PNG and
leopard_java1.6_jframe.PNG
In environment 3: see: snow_leopard_java1.5_jdialog.PNG and
snow_leopard_java1.5_jframe.PNG
In environment 4: see: snow_leopard_java1.6_jdialog.PNG and
snow_leopard_java1.6_jframe.PNG
Summary:
1. Client property: "apple.awt.brushMetalLook" does not work on JDialog any way.
-- even the 'MacPainterFactory.createTexturedWindowWorkaroundPainter()' is used as
manual painter.
2. For JFrame, it does not work when Java version is 1.6, both in Leopard and
Snow
Leopard, I read a little about the source code, it seems the method in MacUtils:
public static boolean shouldManuallyPaintTexturedWindowBackground() {
boolean shouldManuallyPaintOnMac =
PlatformUtils.isMac() && PlatformUtils.isLeopard() &&
PlatformUtils.isJava6OnMac();
return !PlatformUtils.isMac() || shouldManuallyPaintOnMac;
}
need to be changed to:
public static boolean shouldManuallyPaintTexturedWindowBackground() {
boolean shouldManuallyPaintOnMac =
PlatformUtils.isMac() && PlatformUtils.isJava6OnMac();
return !PlatformUtils.isMac() || shouldManuallyPaintOnMac;
}
Original comment by aoi...@gmail.com
on 27 Apr 2010 at 5:23
The issue is like http://code.google.com/p/macwidgets/issues/detail?id=119 and
http://code.google.com/p/macwidgets/issues/detail?id=126. but they described
only
part of all situations.
Original comment by aoi...@gmail.com
on 27 Apr 2010 at 5:26
Original issue reported on code.google.com by
aoi...@gmail.com
on 27 Apr 2010 at 5:06Attachments: