Last updated February 20, 2009 22:27, by Timothy Vance
Feedicon  

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() { ... }

  • Mysql
  • Glassfish
  • Jruby
  • Rails
  • Nblogo
Terms of Use; Privacy Policy;
© 2010, Oracle Corporation and/or its affiliates
(revision 20120518.3c65429)
 
 
Close
loading
Please Confirm
Close