C
courtney.schatzman
Hey there, I am new to Java/swing. I have a question on URL exceptions.
on compilation error msg:
ImageApp.java:38: cannot find symbol
symbol : class URL
location: class ImageApp
icon = new ImageIcon(new URL("http://aeolus/work/screen.gif"));
I have the appropriate imports e.i. java.net.URL. I am compiling with
'-source 1.4' flag.
The ref. matterial I am using is from java sun SE 1.4.2. I am out of
ideas as how to
resolve this exception. Could someone give me an indication on how to
solve this?
on compilation error msg:
ImageApp.java:38: cannot find symbol
symbol : class URL
location: class ImageApp
icon = new ImageIcon(new URL("http://aeolus/work/screen.gif"));
I have the appropriate imports e.i. java.net.URL. I am compiling with
'-source 1.4' flag.
The ref. matterial I am using is from java sun SE 1.4.2. I am out of
ideas as how to
resolve this exception. Could someone give me an indication on how to
solve this?