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

new GridBagLayout methods incorrectly capitalized

    Details

    • Subcomponent:
    • Resolved In Build:
      beta
    • CPU:
      generic, sparc
    • OS:
      generic

      Description

      I just noticed that GridBagLayout has some methods (not constructors)
      that begin with a capital letter:

      - AdjustForGravity()
      - ArrangeGrid()
      - DumpConstraints()
      - DumpLayoutInfo()
      - GetLayoutInfo()
      - GetMinSize()

      This is contrary to our code conventions (not to mention our API
      conventions),and thus is confusing. (One expects different
      capitalization to indicate some different meaning.) In the next
      release, we should cover these with correctly capitalized methods
      and either not document these versions or say that they're for
      backwards compatibility only.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mmartaksunw Michael Martak (Inactive)
                Reporter:
                kwalrathsunw Kathy Walrath (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: