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

Text component resizes when frame is minimized & then restored

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Not an Issue
    • Affects Version/s: 5.0
    • Fix Version/s: None
    • Component/s: client-libs
    • Labels:

      Description

      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

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: