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

jdk1.1 win32. Checkbox appearance incorrect after mouse selection

    XMLWordPrintable

Details

    • 1.1
    • ppc
    • windows_95
    • Not verified

    Description

      Using jdk1.1 for win32, run the following code:

      import java.awt.*;
      public class check extends java.applet.Applet {
        CheckboxGroup Product_Group;
        Checkbox[] Product_box = new Checkbox[101];

        // Setup grid layout
        GridLayout GL_AppLayout;

        public void init() {
          GL_AppLayout = new GridLayout(0,1);
      setLayout(GL_AppLayout);

          // Setup Product radio group
          Product_Group = new CheckboxGroup();
          Product_box[0] = new Checkbox("MAPCON",Product_Group,false);
          Product_box[1] = new Checkbox("BOOST",Product_Group,false);
          Product_box[2] = new Checkbox("All",Product_Group,true);



          // Place components on the screen
          setLayout(GL_AppLayout);
          add(new Label("Product:", java.awt.Label.LEFT));
          add(Product_box[0]);
          add(Product_box[1]);
          add(Product_box[2]);

         }
      }

      Description:

      This applet displays a CheckboxGroup. Once one of the Checkboxes is selected, the
      appearance is abnormal.

      The 1.1 build is from july 23.

      solaris versions of 1.1 (and 1.0.2 of win32) do not appear faulty.

      Attachments

        Activity

          People

            tballsunw Tom Ball (Inactive)
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: