Iam new to netbeans and Lwuit here i have to display image in the form . i have tried the code for displaying the image
Image image = Image.createImage("/res/baldy.png");
Label pictureLabel = new Label(image);
f.addComponent(pictureLabel);
but when i use this code it displays the error in the path. I don't know which path i should use it. Please say in details how to give the path and say whether i have to add any photo files in my project

Reply With Quote



