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

Changing Active Window Border width in display settings causes problems (win32)

XMLWordPrintable

    • beta2
    • x86
    • windows_nt


      While running SwingSet2 on any win32 platform, bring up the display settings
      dialog box (Control Panel, Display) and click on the Appearance tab.
      From the "Item" combo box, choose the "Active Window Border" item.
      Change the color to something non-standard to make this bug obvious.
      Now change the Size to something large, like 10 or more.

      make the Swing window active. Note that it now has the correct
      window border color/width. Note that it also has a gray (at least
      on my systems) wide line to the on the inside left and top borders
      of the active window border. This line scrunches the contents of the
      window over to make room for it.

      It seems like this might be a shadow line of the border which looks fine when
      the border is of width one, but is incorrectly sized when the border
      is of width >1.

      Note that this bug occurs in the default (metal) look and feel as well as
      Windows look and feel (I didn't try any others).

            rraysunw Richard Ray (Inactive)
            chaasesunw Chet Haase (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: