< prev index next >
src/java.desktop/share/classes/com/sun/java/swing/plaf/gtk/GTKColorChooserPanel.java
Print this page
*** 111,121 ****
public String getDisplayName() {
return (String)UIManager.get("GTKColorChooserPanel.nameText");
}
/**
! * Returns the mnemonic to use with <code>getDisplayName</code>.
*/
public int getMnemonic() {
String m = (String)UIManager.get("GTKColorChooserPanel.mnemonic");
if (m != null) {
--- 111,121 ----
public String getDisplayName() {
return (String)UIManager.get("GTKColorChooserPanel.nameText");
}
/**
! * Returns the mnemonic to use with {@code getDisplayName}.
*/
public int getMnemonic() {
String m = (String)UIManager.get("GTKColorChooserPanel.mnemonic");
if (m != null) {
*** 876,887 ****
wheelImage = image;
return wheelImage;
}
/**
! * Adjusts the saturation and brightness. <code>x</code> and
! * <code>y</code> give the location to adjust to and are relative
* to the origin of the wheel/triangle.
*
* @param x X coordinate on the triangle to adjust to
* @param y Y coordinate on the triangle to adjust to
* @param checkLoc if true the location is checked to make sure
--- 876,887 ----
wheelImage = image;
return wheelImage;
}
/**
! * Adjusts the saturation and brightness. {@code x} and
! * {@code y} give the location to adjust to and are relative
* to the origin of the wheel/triangle.
*
* @param x X coordinate on the triangle to adjust to
* @param y Y coordinate on the triangle to adjust to
* @param checkLoc if true the location is checked to make sure
< prev index next >