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

uiswing - layout - Error in SpringLayout page

    XMLWordPrintable

Details

    • b05
    • generic
    • generic
    • Verified

    Description

      I was following your SpringLayout tutorial and I got very strange results (namely strange heights for the components) when I tried to use the makeGrid method of the class SpringUtilities. Looking at the code of the method, you'll see that line 92 is

          getHeight();


      while it should be

          getWidth();


      A simple copy-paste mistake. It happens to all of us ;)
      Other than that, a great tutorial.

      Attachments

        Activity

          People

            skannan Sowmya Kannan (Inactive)
            skannan Sowmya Kannan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: