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

Double click on Scrollbar track leads to unexpected result

    XMLWordPrintable

Details

    • 1.2.2
    • x86
    • linux
    • Not verified

    Description



      Name: kaC94536 Date: 11/26/99



      If you double click on the Scrollbar track ( not on the bubble but near it ),
      you will see continuous bubble moving until it will reach the margin.

      The specification says nothing about Scrollbar reaction on double click, but
      such Scrollbar behavior on Linux differs from its behavior on Solaris.

      ----------------------------- test.java ------------------------
      import java.awt.*;

      public class test extends Frame {
          static test testFrame = null;

         public static void main( String[] argv ) {
              testFrame= new test();
              Scrollbar slider = new Scrollbar(Scrollbar.HORIZONTAL, 0, 0, 0, 2000);
              testFrame.add(slider);
              testFrame.setSize(600,100);
              testFrame.setVisible(true);
         }
      }
      ======================================================================

      ======================================================================

      Attachments

        Activity

          People

            mbronsonsunw Mike Bronson (Inactive)
            kanisimosunw Konstantin Anisimov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: