On 22 Ott, 18:55, Andrew Thompson <andrewtho...@gmail.com> wrote:
It was not..
Short - at over 1300 lines.
Self Contained - it had unused imports for the
'javax.comm.SerialPort', and other imports
for 'com.toedter.calendar.*' and also used images
that I do not have locally*.
Compilable/Correct - Not compilable due to missing
imports, line wrap, and a few other things, not 'correct'
since the final version I got compiled and running
showed no memory leak, and therefore it was not an..
Example - of the problem.
Ok "probably" it isn't a SSCCE :(
But it was my first attempt to write something Understandable...
Anyway you tell that there are not memory leak, but which Operating
System are you using?
Please try to delete this two lines
f.setState( Frame.ICONIFIED );
f.setState( Frame.NORMAL );
and tell me if you can see that the memory increase.
moving the work of the class(es) out of the constructor(s).