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

XAWT: setUndecorated() isn't working

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 5.0
    • 5.0
    • client-libs
    • None
    • tiger
    • sparc
    • solaris_8

      setUndecorated() does not seem to function. The following sample should display a frame without any decoration:

      import java.awt.*;

      class UndecoratedFrame extends Frame {
              public static void main(String[] s) {
                      new UndecoratedFrame();
              }

              UndecoratedFrame() {
                      setUndecorated(true);
                      add(new Label ("UndecoratedFrame"));
                      setSize(200, 100);
                      pack();
                      show();
              }
      }

      ###@###.### 2003-01-13

            bino Bino George
            naoto Naoto Sato
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: