-
Bug
-
Resolution: Fixed
-
P4
-
5.0
-
tiger
-
x86
-
windows_xp
Name: ssR10077 Date: 03/24/2003
###@###.###
Methods of com.sun.java.swing.plaf.windows.XPStyle
private static native int[] getBitmapResource(String path, String
resource);
private static native String getTextResourceByName(String path, String
resource, String resType);
private static native String getTextResourceByInt(String path, int
resource, String resType);
should be moved from Swing to AWT.
Presence of native methods in Swing breaks assumption of pure java nature of
Swing an confuses developers. It makes harder to divide responsibilities for
native bugs. AWT already has proprietary API such as SellFolder and
XSETTINGS used solely by Swing.
======================================================================