As my project progresses it becomes more and more obvious that keeping the JAR size small enough is very difficult. I haven't done any special optimizing as this is the first time I really need to care about it.
Could you tell me some optimizations that I should do first.
I guess every class makes some overhead so putting the code in fewer classes reduces the JAR size? What about variables? I define "int i" for just about every for-loop that I use. Should I define only one "int i" and then use it in every for-loop?