[kaffe] Infinite repaint with nestend FlowLayouts

Sebastian Mancke asteban at gmx.net
Mon Jul 14 13:56:02 PDT 2003


Hello.

I found an problem when I put an large awt.Choice
in an FlowLayout Container, which is also nested in
an FlowLayout Container.

The component starts an infinite repaint and
the hole application hangs. I couldn't find the reason.


Sebastian.


Sample Prog:

import java.awt.*;

public class Test {
    public static void main(String[] args) {

        Choice choice = new Choice();
        choice.addItem( "test test test test test test test test test test 
test test" );

        Frame f = new Frame();
        Panel p = new Panel();
        p.add( choice );
        f.add( p );

        f.show();
    }   
}





More information about the kaffe mailing list