Oui j'ai bien:

// <editor-fold defaultstate="collapsed" desc="Generated Code">             
             
    private void initGuiBuilderComponents(com.codename1.ui.util.Resources 
resourceObjectInstance) {
        setLayout(new com.codename1.ui.layouts.FlowLayout());
        setTitle("Screen1");
        setName("Screen1");
        addComponent(gui_Label_1);
        gui_Label_1.setText("Label");
        gui_Label_1.setName("Label_1");
        gui_Label_1.setIcon(resourceObjectInstance.getImage("test.png"));
    }// </editor-fold>



On Thursday, October 13, 2016 at 8:16:19 PM UTC+2, Chen Fishbein wrote:
>
> just tried with your image and it worked.
> Do you have a similar line of code generated in your GuiComponent.java?
>
> gui_Label_4.setIcon(resourceObjectInstance.getImage("test.jpg"));
>
>
>

-- 
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 codenameone-discussions+unsubscr...@googlegroups.com.
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/fc30bdee-def8-4f79-8dec-0b90ae41fed1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to