Kurt Huwig <[EMAIL PROTECTED]> writes:

> The bug with Swing-Applications and Menu is still there; Menues overwrite the
> Menutitle until I move the whole window. This does not happen with 1.1.3, but
> happens with both kwm and twm.
> 
> Example (you need Swing 1.0.2 for this!):
> - ------- cut here --------
> import com.sun.java.swing.*;
> 
> class SwingBug extends JFrame {
>     SwingBug() {
>       JMenu m = new JMenu( "File" );
>       m.add( new JMenuItem( "Open" ) );
>       JMenuBar mb = new JMenuBar();
>       mb.add( m );
>       getContentPane().add( mb );
>       setSize( 200, 100 );
>       show();
>     }
> 
>     public static void main( String argv[] ) {
>       new SwingBug();
>     }
> }

Yes, I can reproduce this bug with 1.1.6v2, but the recent sources don't
show the bug anymore. There are still problems with frames, I'm testing
a patch to make setIconImage work with KDE right now.

        Jürgen

-- 
Juergen Kreileder, Universitaet Dortmund, Lehrstuhl Informatik V
Baroper Strasse 301, D-44221 Dortmund, Germany
Phone: ++49 231/755-5806, Fax: ++49 231/755-5802

Reply via email to