Minimum Applet Size?

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
gallatin
Posts: 1
Joined: Tue Mar 23, 2004 6:32 pm

Minimum Applet Size?

Post by gallatin » Tue Mar 23, 2004 6:39 pm

I would like to make a very small applet using JFreeChart.

As a guesstimate, what would be the smallest JAR size
for an applet that only contains a single chart?

What type of chart and dataset will have the smallest
footprint?

On my first attempt, my applet size was approx 1.6 MB.

Is it possible to cut this down to a few hundred kilobytes?

zany
Posts: 20
Joined: Mon Mar 15, 2004 2:36 pm
Location: Germany

Shrinker

Post by zany » Tue Mar 23, 2004 8:11 pm

Hi,

try using shrinker tools like proguard http://proguard.sourceforge.net/

There are some more bytes to gain by collapsing the package, class and method names (obfucating the bytecode) -- although that would clearly violate the licence.
Perhaps depends on your codes licence -- if you provide all source it's some kind of second stage compiling. That's not my call though.

cu,
Christian

Locked