many components do not refresh correctly on windows 98

XMLWordPrintable

    • Type: Bug
    • Resolution: Cannot Reproduce
    • Priority: P2
    • None
    • Affects Version/s: 1.2.1
    • Component/s: client-libs

      Many of the swing components update slow or not at all when run on windows 98. We are using production jdk 1.2.1 FCS. Following test case displays two radio buttons. Click them back and forth a few times and suddenly they no longer update. Neither one shows a selected state. Many other refresh problems, but I wanted to keep the test case simple.

      import java.awt.*;
      import javax.swing.*;
      import java.util.*;

      class RadioTest extends JFrame {

          public RadioTest() {
              JPanel p = new JPanel();

              JRadioButton oldest = new JRadioButton("Forward");
              JRadioButton latest = new JRadioButton("Backward");
              ButtonGroup group3 = new ButtonGroup();
              group3.add(oldest);
              group3.add(latest);
              latest.setSelected(true);

              p.add(oldest);
              p.add(latest);
              getContentPane().add(p);
          }

          public static void main(String[] args) {
              RadioTest rt = new RadioTest();
              rt.pack();
              rt.validate();
              rt.show();
          }
      }

            Assignee:
            Swingtraq Swingtraq (Inactive)
            Reporter:
            J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: