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

1.1.4I, The border of the window hide under the IME status bar.

    XMLWordPrintable

    Details

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

      Description



      Name: diC59631 Date: 09/16/97


      In JDK1.1.4I, If I overwride the Insets() method,
      The Border space of thw window hide under the IME
      status bar. JDK1.1.3, this phenomeon does not happen.

      Please run following Test Program on Asian Locale.
      Maybe, "6" and "7" button will hide under the IME
      status bar.

      import java.awt.*;

      public class TestLayout extends Frame {

        TestLayout() {
          super("TestLayout");
          Panel p = new Panel();
          p.setLayout(new BorderLayout(10, 10));

          Panel p1 = new Panel();
          p1.setLayout(new GridLayout(1, 1));
          TextField l = new TextField();
          p1.add(l);
          p.add(p1, "North");

          Panel p2 = new Panel();
          p2.setLayout(new GridLayout(1, 1));
          Button b1 = new Button("Button1");
          p2.add(b1);
          p.add(p2, "Center");

          Panel p3 = new Panel();
          p3.setLayout(new GridLayout(3, 4));
          Button b[] = new Button[8];
          for(int i =0; i < 8; i++) {
            b[i] = new Button("" + i);
            p3.add(b[i]);
          }
          p.add(p3, "South");
          add(p);
          setSize(300,300);
          show();
        }

        public Insets getInsets() {
          return new Insets(30, 10, 10, 10);
        }

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

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

        Attachments

          Activity

            People

            Assignee:
            sherman Xueming Shen
            Reporter:
            dindrigo Daniel Indrigo (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: