Skip to content
Browse files
8272148: JDesktopPane:getComponentCount() returns one extra than expe…
…cted with GTKLookAndFeel

Reviewed-by: prr, serb
  • Loading branch information
Pankaj Bansal committed Sep 10, 2021
1 parent 08f0be8 commit 70c9e026b63aadf9a2bfcbda45c2b9ea866afafa
Showing 1 changed file with 10 additions and 0 deletions.
@@ -181,6 +181,16 @@
* need a specific value for a particular property you should
* explicitly set it.
* <p>
* A <code>JComponent</code> may contain any number of default or initial
* components as children. This behaviour may change according to look and
* feel, therefore a <code>JComponent</code> may contain some default or
* initial components as children for a particular Look and Feel, whereas it
* may not do so for some other Look and Feel. Within a particular Look and
* Feel also, this behaviour may change depending upon the configuration
* properties of the <code>JComponent</code>. In summary, it is not valid
* to assume a JComponent has no children just because the application
* did not directly add them.
* <p>
* In release 1.4, the focus subsystem was rearchitected.
* For more information, see
* <a href="">

1 comment on commit 70c9e02

Copy link

@openjdk-notifier openjdk-notifier bot commented on 70c9e02 Sep 10, 2021

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.