FeaturesPluginsDocs & SupportCommunityPartners

NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

Dilbert Viewer

 
Post new topic   Reply to topic    NetBeans Forums -> Java ME Users
View previous topic :: View next topic  
Author Message
mreza_izadi@yahoo.com
Posted via mailing list.





PostPosted: Thu Feb 19, 2009 11:39 am    Post subject: Dilbert Viewer Reply with quote

Hi there!

Thanks alot!

I followed the whole program, but got stuck in the last step:

It says:

# Change the dailyDilbertImage() method by adding the highlighted code below:

public byte[] dailyDilbertImage() throws RemoteException, Exception {
try {
ByteArrayInputStream in = new
ByteArrayInputStream(getService().getDailyDilbertSoap().dailyDilbertImage());
BufferedImage image = ImageIO.read(in);
.
.
.
#

however, in DailyDilbert_proxy.java we see:
'Exception' instead of 'RemoteException, Exception' which are different.

And also by adding the given comments exactly after the mentioned line, I get failure.

Finally the application does not work properly, and it asks for a permission to use
'airtime' which might result in charge?

Have I done anything wrong?

----
Submitted via the contact form at: http://www.netbeans.info/appl2//index.php
Referer page:
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> Java ME Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB