Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4689044

Window.hide() and Window.show() should be deprecated

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 1.4.0
    • Fix Version/s: 5.0
    • Component/s: docs
    • Subcomponent:
    • Resolved In Build:
      b30
    • CPU:
      generic
    • OS:
      generic

      Description

      (This is simply a spec consistency issue.)

      Component.hide() and Component.show() are marked as deprecated, but Window.hide() and Window.show() are not. This appears to merely be the result of an oversight when these methods were overridden. Since they are not deprecated, it gives the impression that these methods do something different than what Window.setVisible(true/false) would do, which is not the case.

      Although this is not a critical issue, I regularly receive inquiries about it from external spec reviewers, so it is causing some bit of confusion. It would be helpful if these methods were simply marked as "deprecated" for the sake of consistency.

      ###@###.### 2002-05-21

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                sharonz Sharon Zakhour (Inactive)
                Reporter:
                duke J. Duke (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: