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

JDK1.1.4, JDK1.1.5, JDK1.2: Displaying a TextArea on Solaris generates a Motif h

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: 1.2.0
    • Fix Version/s: None
    • Component/s: client-libs
    • Subcomponent:
    • CPU:
      sparc
    • OS:
      solaris_2.6

      Description


      Displaying a TextArea on Solaris using JDK1.2 ("L" build) causes the
      following Motif message to be printed:
      Warning:
          Name: HorScrollBar
          Class: XmScrollBar
          The scrollbar page increment is less than 1.


      This message is distracting to users, and is a serious problem for
      large applications such as JavaTest.
      If there is a workaround for this problem, it should be posted.

      The following application can be used to generate this message.

      ===========================================
      /*
       * TextareaTest.java
       * Displaying a TextArea on Solaris generates a Motif horizontal scrollbar
       * warning message
       * Using JDK1.2 "L" build - 3/11/98
       *
      */

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

      public class TextareaTest extends Frame {
          static TextArea textarea = null;
       
          public TextareaTest() {
              setLayout(new BorderLayout());
              setFont(new Font("Helvetica", Font.PLAIN, 14));

      Panel p1 = new Panel();
              textarea = new TextArea(6, 80);

              p1.add(textarea);
              add("North", p1);

              setTitle("TextareaTest Application");
              addWindowListener(new WindowAdapter() {
                                      public void windowClosing(WindowEvent e) {
                                        System.exit(0);
                                      }
                                    });
              pack();
              show();
          }

          public static void main(String args[]) {
              new TextareaTest();
          }

      }
      ===========================================

        Attachments

          Activity

            People

            Assignee:
            ehawkessunw Eric Hawkes (Inactive)
            Reporter:
            gaurisha Gauri Sharma (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: