Register FAQ Calendar Search Today's Posts Mark Forums Read

Go Back   Java Programming Forums > Java SE > Java Applets

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 23-07-2008, 01:59 AM
Junior Member
 
Join Date: Jul 2008
Posts: 1
hanizainol is on a distinguished road
Smile Hi. ItemListener problem with destroying midlet.

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();
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Custom Search
100 most searched terms
Search Cloud
"bad endpoint type" bad endpoint type com.sun.xml.internal.messaging.saaj.soapexceptionimpl com.sun.xml.internal.messaging.saaj.soapexceptionimpl: bad endpoint type com.sun.xml.internal.messaging.saaj.soapexceptionimpl: java.security.privilegedactionexception com.sun.xml.internal.messaging.saaj.soapexceptionimpl: java.security.privilegedactionexception: com.sun.xml.internal.messaging.saaj.soapexceptionimpl: java.security.privilegedactionexception: com.sun.xml.internal.messaging.saaj.soapexceptionimpl: message send failed com.sun.xml.internal.messaging.saaj.soapexceptionimpl: message send failed com.sun.xml.messaging.saaj.soapexceptionimpl: java.security.privilegedactionexception: com.sun.xml.messaging.saaj.soapexceptionimpl: java.security.privilegedactionexception: com.sun.xml.messaging.saaj.soapexceptionimpl: message send failed convert arraylist to map date_format_now eclipse short keys eclipse shortcut keys ejb3 quartz image character recognition java java convert double to binary java forum java forums java jtextarea font java jtextarea font size java programing forums java programmer forum java programmers forum java programming forum java programming forums java read last line java read last line of file java sendkeys java.security.privilegedactionexception java.security.privilegedactionexception: com.sun.xml.internal.messaging.saaj.soapexceptionimpl java.security.privilegedactionexception: com.sun.xml.internal.messaging.saaj.soapexceptionimpl: bad response java.security.privilegedactionexception: com.sun.xml.internal.messaging.saaj.soapexceptionimpl: message send failed jtextarea font jtextarea font size last line file java programing forums programming forums reset jcombobox saaj0008 saaj0008 "bad response bad request" saaj0008: bad response; bad request saaj0008: bad response; not found sendkeys java severe: saaj0008 severe: saaj0008: bad response; bad request severe: saaj0008: bad response; not found soapexceptionimpl: bad endpoint type soapexceptionimpl: java.security.privilegedactionexception textpad java

All times are GMT. The time now is 12:18 PM.


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.