[repository.lp.se #71] java client window size issue

From: Tyler Retzlaff via RT (ctwm-bugs@free.lp.se)
Date: Wed Nov 19 2003 - 06:42:50 CET


ctwm seems to ignore the size of a java application window if NoTitle is set.
Instead it just draws it as a 1x1 pixel (approx) window. A work around is to
not set NoTitle for java applications but it would be nice if it just worked.

Test Case
1. Ensure NoTitle is set in .ctwmrc
2. Execute the following java application

 import javax.swing.JFrame;

 public class TestCase
 {
    public static void main(String argv[])
    {
        JFrame f = new JFrame("Foo");

        f.setSize(320, 200);
        f.setVisible(true);
    }
 }

3. It will appear that application doesn't display at all but careful
   observation of coords 0,0 of the root window will be where the application
   window appears.

Thanks

-- 

Tyler R. Retzlaff <rtr@NetBSD.org> http://www.NetBSD.org



This archive was generated by hypermail 2.1.4 : Thu Nov 20 2003 - 06:45:04 CET