Skip to content

Commit 2867616

Browse files
Satyen SubramaniamPaul Hohensee
authored andcommitted
8343037: Missing @SInCE tag on JColorChooser.showDialog overload
Backport-of: bd79594
1 parent b4ee524 commit 2867616

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/java.desktop/share/classes/javax/swing/JColorChooser.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,9 @@ public static Color showDialog(Component component,
175175
* @return the selected color or <code>null</code> if the user opted out
176176
* @throws HeadlessException if GraphicsEnvironment.isHeadless()
177177
* returns true.
178+
*
178179
* @see java.awt.GraphicsEnvironment#isHeadless
180+
* @since 9
179181
*/
180182
@SuppressWarnings("deprecation")
181183
public static Color showDialog(Component component, String title,

src/java.desktop/share/classes/javax/swing/colorchooser/AbstractColorChooserPanel.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,7 @@ void setSelectedColor(Color color) {
229229
*
230230
* @param b true if the transparency of a color can be selected
231231
* @see #isColorTransparencySelectionEnabled()
232+
* @since 9
232233
*/
233234
@BeanProperty(description
234235
= "Sets the transparency of a color selection on or off.")
@@ -241,6 +242,7 @@ public void setColorTransparencySelectionEnabled(boolean b){
241242
*
242243
* @return true if the transparency of a color can be selected
243244
* @see #setColorTransparencySelectionEnabled(boolean)
245+
* @since 9
244246
*/
245247
public boolean isColorTransparencySelectionEnabled(){
246248
return true;

0 commit comments

Comments
 (0)