bug-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug swing/23796] New: Undecorated frames are painted the same as decora


From: langel at redhat dot com
Subject: [Bug swing/23796] New: Undecorated frames are painted the same as decorated frames.
Date: 9 Sep 2005 14:31:36 -0000

The title bar and the border around the JFrame should not be drawn.

Here is a testcase:

import javax.swing.*;
public class Test extends JFrame {
    public Test() {
        JMenu m = new JMenu("File");
        m.add(new JMenuItem("new File"));
        JMenuBar mb = new JMenuBar();
        mb.add(m);
        setJMenuBar(mb);
        setSize(300, 200);
    }
    public static void main(String [] args) {
        JFrame f = new Test();
        f.setUndecorated(true);
        f.show();
    }
}

-- 
           Summary: Undecorated frames are painted the same as decorated
                    frames.
           Product: classpath
           Version: 0.18
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: swing
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: langel at redhat dot com
                CC: bug-classpath at gnu dot org,langel at redhat dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23796




reply via email to

[Prev in Thread] Current Thread [Next in Thread]