Trail: Creating a GUI with JFC/Swing
|
Lesson: Using Other Swing Features
|
|
Solving Common Problems Using Other Swing Features
Problem:
My applet isn't finding its icons in its JAR file.
- Some versions of Applet Viewer and Java Plug-in
can't load icons (or other data files)
from JAR files.
A workaround is to keep copies of the image files
on the server file system,
exactly where the files would be if the JAR file were absent.
Unfortunately, this workaround doesn't seem to work
when the applet is delivered across a firewall.
See Specifying the Image Source
for more details.
If you don't find your problem in this section, consult
Solving Common Component Problems .
|