Scrollbars broken, BlockIncrements don't work, Slider jumps back to initial valu

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P1
    • None
    • Affects Version/s: 1.1.3
    • Component/s: client-libs
    • None
    • x86
    • windows_nt



      Name: rlT66838 Date: 07/11/97


      Try this under Windows NT 4.0 SP3.
      When the silder is moved it will jump to it's initial value after
      releasing the mouse.
      The block increments don't work at all.
      This is a big disgust.

      import java.awt.*;
      import java.awt.event.*;

      class ScrollbarTest extends Frame {

      Scrollbar scroller;

      public ScrollbarTest() {
      super("Scrollbar test");
      addWindowListener(new WindowAdapter() {
      public void windowClosing(WindowEvent e) {
      dispose();
      System.exit(0);
      }
      });
      setLayout(null);
      scroller = new Scrollbar(Scrollbar.HORIZONTAL,400,50,0,1000);
      scroller.setUnitIncrement(1);
      scroller.setBlockIncrement(20);
      add(scroller);
      setSize(640,480);
      scroller.setBounds(10,100,600,20);
      pack();
      setVisible(true);
      }

      public static void main(String args[]) {
      ScrollbarTest test = new ScrollbarTest();
      }
      }



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

            Assignee:
            J. Duke
            Reporter:
            Roger Lewis (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: