Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
8283203: Fix typo in SystemTray.getTrayIconSize javadoc
Reviewed-by: aivanov
  • Loading branch information
SWinxy authored and aivanov-jdk committed Jan 17, 2023
1 parent e7e3712 commit 8c12ae8
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/java.desktop/share/classes/java/awt/SystemTray.java
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2005, 2022, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2005, 2023, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
Expand Down Expand Up @@ -344,10 +344,10 @@ public TrayIcon[] getTrayIcons() {

/**
* Returns the size, in pixels, of the space that a tray icon will
* occupy in the system tray. Developers may use this methods to
* acquire the preferred size for the image property of a tray icon
* before it is created. For convenience, there is a similar
* method {@link TrayIcon#getSize} in the {@code TrayIcon} class.
* occupy in the system tray. Developers may use this method to
* acquire the preferred size for the tray icon before it is created.
* For convenience, there is a similar method {@link TrayIcon#getSize}
* in the {@code TrayIcon} class.
*
* @return the default size of a tray icon, in pixels
* @see TrayIcon#setImageAutoSize(boolean)
Expand Down

1 comment on commit 8c12ae8

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.