Solved

Get an Image via http-URL's

Posted on 1997-04-02
1
183 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
Comment Utility
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.

772 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

12 Experts available now in Live!

Get 1:1 Help Now