ciao ho provato come mi hai suggerito...

import java.awt.*;
import java.applet.*;
import java.net.*;

public class AKKAttpRemote extends Applet {
public void init() {
}

public void paint(Graphics g) {
URL url = new URL("fun.asp");
String var = (String)url.getContent();
g.drawString(var, 50, 60 );
}
}
ma mi da questo errore

--------------------Configuration: j2sdk1.4.1 <Default>--------------------
D:\LAVORI\AKKAttpRemote\AKKAttpRemote.java:23: unreported exception java.net.MalformedURLException; must be caught or declared to be thrown
URL url = new URL("fun.asp");
^
D:\LAVORI\AKKAttpRemote\AKKAttpRemote.java:24: unreported exception java.io.IOException; must be caught or declared to be thrown
String var = (String)url.getContent();
^
2 errors

Process completed.
---------------------------------------------------------

se invece non metto import java.net.* mi da

--------------------Configuration: j2sdk1.4.1 <Default>--------------------
D:\LAVORI\AKKAttpRemote\AKKAttpRemote.java:23: cannot resolve symbol
symbol : class URL
location: class AKKAttpRemote
URL url = new URL("fun.asp");
^
D:\LAVORI\AKKAttpRemote\AKKAttpRemote.java:23: cannot resolve symbol
symbol : class URL
location: class AKKAttpRemote
URL url = new URL("fun.asp");
^
2 errors

Process completed.
--------------------------------------------------------------------

sai darmi una mano? ci sono cose del java che ancora mi sfuggono, come le classi throw.

Ciao e grazie