for (int ii = 0; ii <= 5; ii++){
           agregaboton(" some "+ii);
       }


private void agregaboton(String nombre){
        MultiButton mio = new MultiButton(nombre);
        mio.addActionListener(e-> {
            System.out.println("hola");
            
        });
        this.add(FlowLayout.encloseIn(mio));
    }

If you are experiencing an issue please mention the full platform your 
issue applies to:
IDE: NetBeans
Simulator 

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/f0993136-249f-4dc1-874e-b507a9ef3aa2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to