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

Dialogue size is growing when IME is Wnn6

XMLWordPrintable

        When user interate to open and close a dialogue whihc has a textfield, the size of dialogue is growing.
        This seem to occur when InputMethod is either of Wnn or cs00, but not ATOK.

        CONFIGURAITON:
         JRE : 1.4.2_09/5.0u1
         OS : Solaris10(Sparc) / Solaris7(x86)
         IME : Wnn6/Cs00

        REPRODUCE :
         1) Compile teh attached 3 .java files
         2) Launch "java Frame1"
           (A window with 2 buttons appears )
         3) Click "Display Frame including TextField" button
           (A new window with TextField shows up)
         4) Close the window with TextFIeld
         5) Repeat 3) and 4)

        BEHAVIOR :
         Please watch the message in terminal window.
         Message shows the size of window is growing.
         (The value gotten by getBounds() is growing.)

        ----Messages --->
        chive[63]% java Frame1
        With Text Field(Open)
        Saving Value:java.awt.Rectangle[x=500,y=300,width=300,height=200]
        Returned value from getBounds():java.awt.Rectangle[x=500,y=300,width=300,height=225]
        With Text Field(close)
        Value of getBounds():java.awt.Rectangle[x=500,y=300,width=300,height=225]
        With Text Field(Open)
        Saving Value:java.awt.Rectangle[x=500,y=300,width=300,height=225]
        Returned value from getBounds():java.awt.Rectangle[x=500,y=300,width=300,height=225]
        With Text Field(close)
        Value of getBounds():java.awt.Rectangle[x=500,y=300,width=300,height=250]
        With Text Field(Open)
        Saving Value:java.awt.Rectangle[x=500,y=300,width=300,height=250]
        Returned value from getBounds():java.awt.Rectangle[x=500,y=300,width=300,height=250]
        With Text Field(close)
        Value of getBounds():java.awt.Rectangle[x=500,y=300,width=300,height=275]
        With Text Field(Open)
        Saving Value:java.awt.Rectangle[x=500,y=300,width=300,height=275]
        Returned value from getBounds():java.awt.Rectangle[x=500,y=300,width=300,height=300]
        With Text Field(close)
        Value of getBounds():java.awt.Rectangle[x=500,y=300,width=300,height=300]
        With Text Field(Open)
        Saving Value:java.awt.Rectangle[x=500,y=300,width=300,height=300]
        Returned value from getBounds():java.awt.Rectangle[x=500,y=300,width=300,height=325]
        With Text Field(close)
        Value of getBounds():java.awt.Rectangle[x=500,y=300,width=300,height=325]
        With Text Field(Open)
        Saving Value:java.awt.Rectangle[x=500,y=300,width=300,height=325]
        Returned value from getBounds():java.awt.Rectangle[x=500,y=300,width=300,height=350]
        With Text Field(close)
        Value of getBounds():java.awt.Rectangle[x=500,y=300,width=300,height=350]

        <---------------

              naoto Naoto Sato
              tbaba Tadayuki Baba (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: