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

Win32: layout not performed when maximized from taskbar

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      008
    • CPU:
      generic, x86
    • OS:
      windows_nt

      Backports

        Description



        Name: el35337 Date: 09/14/98


        Any java window is not layed out properly when the following steps are performed:

        1. Run the program below on WinNT 4.0
        2. Click on the minimize button (third button from right on title bar)
        3. Go down to the taskbar and right click on the iconified button for this program
        4. On the resulting right mouse menu, select Maximize
        5. The window maximizes but is not laid out correctly

        Example code follows:
        -----------------------

        import java.awt.*;
        import java.awt.event.*;

        public class test
        {
          public static void main(String []args)
          {
            final Frame f = new Frame("Maximize Test");
            f.addWindowListener(new WindowAdapter()
              {
                public void windowClosing(WindowEvent e)
                { System.exit(0); };
              });
            f.add(new Button("North"),BorderLayout.NORTH);
            f.add(new Button("South"),BorderLayout.SOUTH);
            f.add(new Button("East"),BorderLayout.EAST);
            f.add(new Button("West"),BorderLayout.WEST);
            f.add(new Button("Cent"),BorderLayout.CENTER);
            f.pack();
            f.setVisible(true);
          }
        }
        (Review ID: 38717)
        ======================================================================

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                peterz Peter Zhelezniakov
                Reporter:
                elarsen Erik Larsen (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: