Skip to main content

accessing lwuit component made using resource bulder from code

No replies
Joined: 2013-03-05
Points: 0

hello, i create my own form from code and then i made theme from resource editor. on that theme i added multi images named "logo.png"

how to access that multi image from my code?

here is my code:

package smsbanking;

import com.sun.lwuit.Form;
import com.sun.lwuit.Image;
import com.sun.lwuit.Label;
import com.sun.lwuit.layouts.BorderLayout;

* @author herahadi
public class SplashScreen extends Form{
    public SplashScreen(){
        this.setLayout(new BorderLayout());
        Label logoLabel = new Label(****** -> i want to use the multi image here <- ******);
        Label label = new Label("Loading...");

please help me...