Solved

Get an Image via http-URL's

Posted on 1997-04-02
1
196 Views
Last Modified: 2010-04-16
How can I load an Image from an http-WebSite into my
e.g Standaloneprogram-Canvas. I know their are some undocumented function in sun.net... Where can I find documentation? Is their a easier way to perform this?
I use JDK 1.02.
0
Comment
Question by:faber
1 Comment
 
LVL 2

Accepted Solution

by:
majkl earned 20 total points
ID: 1219376
Sorry, but from standalone application you cannot load gif from URL. Why should you do this ?
As far I know, there is no more support from sun.net.* classes in next versions of Java. So. Forget it.
Load images locally, then again what if you give aplication to someone who has not access to inet. He would be lost.
It is true updates would be much easier, but perhaps this will be possible in future, now it is at the moment impossible.

0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now