| View previous topic :: View next topic |
| Author |
Message |
mreza_izadi@yahoo.com Posted via mailing list.
|
Posted: Thu Feb 19, 2009 11:39 am Post subject: Dilbert Viewer |
|
|
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 |
|
 |
|
|
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
|
|
|
|