Tom HawtinThomas Hawtin's WeblogWorking around the ThreadLocal leak- April 27, 2006 A small performance regression is blocking the plugging of the ThreadLocal leaking. The google test indicates that the leak causes widespread pain. In discussion of the problem with Piotr Kobzda on comp.lang.java.programmer we wondered whether there was an easy-to-use workaround without modifying the boot classes. The answer is yes, I can do something other than whine about the JRE implementation. So here is my take on a drop-in ThreadLocal extension. The solution should be: compatible with...http://www.jroller.com/tackline/entry/working_around_the_threadlocal_leak Do the funky FormLayout- April 7, 2006 Among the Java GUI cognoscenti FormLayout appears to be the non-JRE layout manager to talk about. As last time, the idea is to create the same simple layout. No cheating by going for an inappropriate design just because it makes the layout manager in question look better. There's the application window, and we want to layout the split pane's left hand side. Without further ado, the FormLayout 1.0.6 entry... int gap = 2; Size...http://www.jroller.com/tackline/entry/do_the_funky_formlayout Distinctly GroupLayout- April 5, 2006 It was designed as a very flexible layout manager for GUI builders. To be simple and intuitive. However, SpringLayout (SL) never took off. Now comes GroupLayout (GL), kind of like GridBagLayout (GBL) without the grid coordinates. For a GL tutorial, see Tomas Pavek's Blog. A couple of years ago, for comparison, I converted a simple layout from GBL to SL. The effort succeeded in the sense that after some considerable hair tearing (not in picture top right), I came up with some functioning code..http://www.jroller.com/tackline/entry/distinctly_grouplayout |