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

Mixing code does not always recalculate shapes correctly when resizing components

XMLWordPrintable

    • b25
    • 7
    • b36
    • generic, x86
    • generic, linux, windows_xp, windows_vista

      The following test fails to enlarge the button:

      import java.awt.*;

      public class Test {

          public static void main(String[] args) {
              Frame f = new Frame();
              Button b = new Button("ok");
              f.add(b);
              f.setExtendedState(Frame.MAXIMIZED_BOTH);
              f.pack();
              f.setVisible(true);
          }
      }

      This is a regression of the fix for CR 6637796.

            anthony Anthony Petrov (Inactive)
            anthony Anthony Petrov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: