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

Resizing scrollpane causes Motif warnings

XMLWordPrintable

    • kestrel
    • sparc
    • solaris_7


      dennis.sigel@eng 1999-09-27

      Resize events cause the following message when using an
      AWT ScrollPane:

      Warning:
          Name: VertScrollBar
          Class: XmScrollBar
          The specified scrollbar value is less than the minimum
          scroll bar value.

      In the componentResized() routine, getting the min and
      max values of the scrollbars shows correct values.

      Calling

      getHAdjustable().setValue(x);
      getVAdjustable().setValue(y);

      with non-zero values of x and y cause the error message
      when transitioning between having scrollbars appear or not.
      The scrollbar display policy is "as-needed".

            mbronsonsunw Mike Bronson (Inactive)
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: