Hi again,
I am currently building some java2d/swing based network interface where both on the client/server objects are referenced on their counterparts through an unique ID. The problem is that the HashMap where I store those IDs is constantly growing of course.
So I could either introduce dispose() - or better implement something that works like the “Java2D Disposer”-Thread which seems to know how to handle Peers which don’t have their java-counterpart anymore.
Does anybody know articles about how this works?
Thank you in advance, lg Clemens