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

java.awt.Frame() initializes Frame object wrong under Solaris

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • 1.1.5
    • 1.1
    • client-libs
    • 1.1.5
    • sparc
    • solaris_2.5
    • Verified

    Backports

      Description



        Name: saC57035 Date: 02/19/97


        This bug was found by Vladimir V. Sizikov of St.Petersburg Java SQE team.

        The java.awt.Frame() creates Frame object without
        setting default sizes.

        Here is the example demonstrating the bug:

        ---- Test.java ----------------------
        import java.awt.*;

        public class Test{
        public static void main(String[] args){
        Frame frame=new Frame();
        frame.setVisible(true);
        if (frame.isVisible()) System.out.println("Frame must be Visible!");
        }
        }
        -------------Output-----------
        Frame must be Visible!
        ------------------------------

        Under Solaris 2.5 frame staying invisible, but it is present in virtual
        desktop, and its actual dimensions are very large.
        Under Win32 frame is visible and is reduced to minimum possible size.

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

        Attachments

          Issue Links

            Activity

              People

                pyoung Paul Young (Inactive)
                savzan Stanislav Avzan (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: