*PropertyBase vs Simple*Property

Tom Schindl tom.schindl at bestsolution.at
Sat Dec 1 05:58:33 PST 2012


I'm just working on a patch for a control and I'm so I'm browsing
through the code a bit and find there all of the pattern that you are
creating an instance of *PropertyBase for all stuff instead of using the
Simple.... , which creates a whole lot of new $1,$2,$.... class files.

Would it be from a size point of view better to create an instance of
Simple*Property? I guess there's a reason but I'm not sure I know which
one it is. Could it be garbage collection - property points to Bean and
Bean points to property?

If this the reason I think anyone who use uses Simple*Property has the
same problem and the right fix would be to store the bean instance in
Simple*Property in a WeakReference?


B e s t S o l u t i o n . a t                        EDV Systemhaus GmbH
tom schindl                 geschäftsführer/CEO
eduard-bodem-gasse 5-7/1   A-6020 innsbruck     fax      ++43 512 935833
http://www.BestSolution.at                      phone    ++43 512 935834

More information about the openjfx-dev mailing list