Last updated February 20, 2009 22:27, by Timothy Vance
Standards and Practices
Page to define the standards that we should apply to Swing 2.0 as well as coding practices
Annotations
Use annotations that document thread behavior. For example, most Swing methods are thread-confined to the EDT. Others, such as repaint(), are thread safe and may be called from any thread: @Edt public Dimension getPreferredSize() { ... } @ThreadSafe public void repaint() { ... }





