hello.
i have an applet which run a midlet. but when i select another background image . the midlet run but not displayed in the applet. Below is the code to call the background image.
Java Code:
Image image1 = null;
try {
image1 = Toolkit.getDefaultToolkit().getImage(new URL("http://"+server+skins.getSkinFilePath()));
} catch (MalformedURLException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
skinPanel.removeAll();
//System.out.println("image :: "+ image1);
skinPanel.setMinimumSize(skinPanelSize);
//System.out.println("image :: "+ image1);
skinPanel.setImage(image1, skins.getSkinWidth(), skins.getSkinHeight());
skinPanel.repaint();
skinPanel.revalidate();