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

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

XMLWordPrintable

    • linux-beta
    • x86
    • linux
    • Verified



      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();
          }
      }
      ------------------------------------------------------------------


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

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: