< prev index next >
src/java.desktop/share/classes/com/sun/java/swing/plaf/motif/MotifGraphicsUtils.java
Print this page
*** 137,150 ****
SwingUtilities2.drawString(c, g, aString, startX, startY);
}
/**
! * This method is not being used to paint menu item since
* 6.0 This code left for compatibility only. Do not use or
* override it, this will not cause any visible effect.
*/
public static void paintMenuItem(Graphics g, JComponent c,
Icon checkIcon, Icon arrowIcon,
Color background, Color foreground,
int defaultTextIconGap)
{
--- 137,151 ----
SwingUtilities2.drawString(c, g, aString, startX, startY);
}
/**
! * @deprecated This method is not being used to paint menu item since
* 6.0 This code left for compatibility only. Do not use or
* override it, this will not cause any visible effect.
*/
+ @Deprecated(since = "9")
public static void paintMenuItem(Graphics g, JComponent c,
Icon checkIcon, Icon arrowIcon,
Color background, Color foreground,
int defaultTextIconGap)
{
< prev index next >