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

Text component resizes when frame is minimized & then restored

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P4 P4
    • None
    • 5.0
    • client-libs

      Text component resizes when frame is minimized & thn restored
      Steps to reproduce:
      1) Run the attached file TestTextAreaResize.
      2) It will show two text areas in frame with some text in them.
      3) From the textarea in bottom of frame (Label 2) delete two lines, so that
         Label 2 text area is left with only one line.
      4) Now minimize the frame and restore it back, You will see size of
         bottom text area(Label 2) is now reduced.
      PS: This problem can be reproduced on all L&Fs.

      During the verification process of bug #4909558 we found that the pane size was not changing by mouse movements after fix but instead by above specified steps.
      Attached the test case(TestTextAreaResize.java) which can be used to reproduce it.

      ###@###.### 2003-10-17

            svioletsunw Scott Violet (Inactive)
            hsinghsunw Hemant Singh (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: