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

Linux: javax.swing components are not drawn properly on screen

    Details

    • Subcomponent:
    • Resolved In Build:
      linux-beta
    • CPU:
      x86
    • OS:
      linux
    • Verification:
      Verified

      Description



      Name: skR10017 Date: 05/06/2000



      Interactive JCK 1.3 javax_swing tests can't be seen on the screen.
      Some strange pieces of components appear on screen instead of them.
      The following test demonstrates this by creating a simple JLabel in JFrame.
      On Solaris you will see "Test" string in the frame but on Linux you won't.

      This bug affects Java HotSpot(TM) Client VM (build 1.3.0beta-b04, mixed mode ) for Linux

      --------------------------test.java------------------------------
      import javax.swing.*;

      public class test
      {
          public static void main(String [] argv)
          {
              JFrame f=new JFrame();
              JLabel l=new JLabel("Test");
              l.setSize(50,50);
              f.getContentPane().add(l);
              f.setSize(200,200);
              f.show();
          }
      }
      ------------------------------------------------------------------


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

        Attachments

          Activity

            People

            • Assignee:
              mbronsonsunw Mike Bronson (Inactive)
              Reporter:
              kotlsunw Kotl Kotl (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: