What's the easiest way to express the data using a figure?
For who? You or the user[1]?
..Anything
in a browser recognizable form would be fine, be HTML, applet, swing,
applet and swing are not necessarily separate things.
You can have..
- Applet - AWT
- JApplet - Swing
- Frame - AWT
- JFrame - Swing
- non-gui - neither AWT nor Swing.
So, if you decide on an applet, your choice is then AWT or Swing.
The advantages of AWT are that it is usable even back on version
1.1 JVM's. OTOH, Swing offers a components well suited to displaying
simple HTML (JEditorPane), or the JTable class.
Further, not every browser has Java installed. So if this data
is anything beyond 'purely ancillary', you need to be able to
fall back to pure HTML.
pdf, or even MS excel (in the end user side, not my server side).
You're kidding aren't you?
PDF is ridiculous overkill for this task and end users generally hate it.
MS Excel is even sillier. Who are your end users? If they come
'off the net' then many of them will not have 'MS Excel' installed[2].
It is also a much more bloated format than HTML.
[2] I am running XP Pro, but do not have MS Excel. Even Windows users
are not guaranteed to be able to use an Excel format file.
So, to sum up.
[1] The user would be best off getting plain old HTML,
since HTML is made for browsers and much
a) lighter weight than the alternatives.
b) more widely readable by browsers.
HTH