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

Frame.setSize() does not work

XMLWordPrintable

    • linux-beta
    • x86
    • linux
    • Verified



      Name: asR10013 Date: 04/19/2000



          The following code should produce window with width and height
      equal to 200 pixels. But frame does not change its dimentions.

      ----------------------------- test.java --------------------------------
      import java.lang.*;
      import java.awt.*;

      class test {

          public static void main(String args[]){
      Frame f = new Frame();
      f.setSize(200,200);
      f.show();
          }
      }


      ======================================================================

            mbronsonsunw Mike Bronson (Inactive)
            alssunw Als Als (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: