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

Choice can be seen on the JScrollPane's scrollbar when mixing of heavy weight & light weight compone

XMLWordPrintable

    • x86
    • windows_xp

      I have JScrollPane, which contains few AWT & Swing components. When the frame is realized, I resize the frame to smaller size , so that i can see both horizontal & vertical scrollbar. When i resize , i see that AWT Choice is seen on the JScrollPane's scrollbar. I tested this on jdk6 b104 , 6u10 b33 & 6u12 b02 promoted build. I have attached the screen shot . ScrollPane is one place where user will put his components.
      Please refer to the page under Swing's ScrollPane http://java.sun.com/products/jfc/tsc/articles/mixing/ .

      Step to Reproduce:-
      -------------------
      1) Run the attached testcase.
      2) Resize the frame , so that you can see both the vertical & horizontal scrollbar. Observe that choice is seen vertical scrollbar. If you see the same, then the bug is not reproduced.

            dcherepanov Dmitry Cherepanov
            lpremkumsunw Lawrence Premkumar1 (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: