8343037: Missing @since tag on JColorChooser.showDialog overload
Reviewed-by: prr
This commit is contained in:
parent
ceaa71e731
commit
bd795946e7
src/java.desktop/share/classes/javax/swing
@ -175,7 +175,9 @@ public class JColorChooser extends JComponent implements Accessible {
|
||||
* @return the selected color or <code>null</code> if the user opted out
|
||||
* @throws HeadlessException if GraphicsEnvironment.isHeadless()
|
||||
* returns true.
|
||||
*
|
||||
* @see java.awt.GraphicsEnvironment#isHeadless
|
||||
* @since 9
|
||||
*/
|
||||
@SuppressWarnings("deprecation")
|
||||
public static Color showDialog(Component component, String title,
|
||||
|
@ -229,6 +229,7 @@ public abstract class AbstractColorChooserPanel extends JPanel {
|
||||
*
|
||||
* @param b true if the transparency of a color can be selected
|
||||
* @see #isColorTransparencySelectionEnabled()
|
||||
* @since 9
|
||||
*/
|
||||
@BeanProperty(description
|
||||
= "Sets the transparency of a color selection on or off.")
|
||||
@ -241,6 +242,7 @@ public abstract class AbstractColorChooserPanel extends JPanel {
|
||||
*
|
||||
* @return true if the transparency of a color can be selected
|
||||
* @see #setColorTransparencySelectionEnabled(boolean)
|
||||
* @since 9
|
||||
*/
|
||||
public boolean isColorTransparencySelectionEnabled(){
|
||||
return true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user