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

JDK1.1.6H: repaint problem on Win32 platform

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      1.1.6
    • CPU:
      x86
    • OS:
      windows_95
    • Verification:
      Verified

      Description


      kenichi.kurosaki@Japan 1998-02-23

      Starting java window height is more than the screen height, the awt objects on
      the window will be garbage. In this case, its screen size is 800x600 on x86
      and then running the java program has height is larger than the screen height.
      And once the window is overlapped by the other application windows, the overlap-
      ped area will be garbage also. But the window is resized/moved, it will be re-
      painted correctly.

      You can reproduce this problem to run the following program on Win32 platform
      in 800x600 screen mode.

      repaint.java:
      ----
      import java.awt.*;

      public class repaint extends Frame {
              public repaint() {
                      super("repaint bug");
              }

              public static void main(String args[]) {
                      repaint f;
                      Panel p;

                      f = new repaint();
                      p = new Panel();

                      p.add(new Button("OK"));
                      p.add(new Button("Cancel"));
                      p.add(new TextArea(40,50));

                      f.add(p);
                      f.pack();
                      f.show();
              }
      }
      ----

        Attachments

          Activity

            People

            Assignee:
            duke J. Duke (Inactive)
            Reporter:
            kurosaki Kenichi Kurosaki (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: