?
Solved

Get an Image via http-URL's

Posted on 1997-04-02
1
Medium Priority
?
225 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 2

Accepted Solution

by:
majkl earned 40 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.
Suggested Courses
Course of the Month9 days, 11 hours left to enroll

762 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