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

Scroll bar moves when clicked on Intersecting Areas of two Scrollbars in Textarea.

XMLWordPrintable

    • b91
    • other
    • solaris_10
    • Verified

      Steps to reproduce the defect, Reproducible only on Solaris (9 and 10);
      works fine in 1.5.0 and reproducible only in 1.6.0

      1. Create a Text Area.
      2. Enter some text into it so that horizontal and vertical scrollbar comes up
      3. move the vertical scroll bar to top and horizontal scroll bar to left.
      4. move the mouse pointer on the area where in horizontal and vertical scroll bar
         meets.


      Expected result: mouse pointer should be "Arrow"
      Actual result: mouse pointer is "I" (editable sign)

      5.click on Bottum Right corner where in harizontal and vertical scroll bar meets.
      Expected result: Nothing should happen
      Actual result: Vertical scroll bar starts moving Downwards,


      Run the following Code to reproduce the defect.


      import java.awt.*;

      public class TestScrollBar {
          public static void main (String argv[]) {
              
      Frame f =new Frame ("Java Frame");
              f.setSize(800,800);
              f.setLayout(new FlowLayout());
              TextArea ta = new TextArea();
              ta.setBackground(Color.BLUE);
              f.add(ta);
              f.setVisible(true);

              }
      }

            art Artem Ananiev (Inactive)
            ggirishsunw Girish Girish (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: