Swing links of the week: October 14, 2007

October 14th, 2007

Here are some Swing links that you might have missed during this week:

  • A very informative posting on the AppFramework mailing list from Hans Muller that includes advice by Shannon Hickey on handling uncaught exceptions in EDT. There are three alternatives, none of them providing a complete solution (unfortunately):
    • Toolkit.getSystemEventQueue.push() with a custom event queue.
    • The “sun.awt.exception.handler” system property.
    • Thread.setUncaughtExceptionHandler(UncaughtExceptionHandler). This option is also mentioned here.
  • An article by Rene Ghosh on implementing a text console component, complete with color and anti-alias support.
  • A posting by Oscar Vega Gisbert on improving the menu selection layer in Swing. A very interesting and LAF-agnostic approach that should be made a part of core Swing implementation. Full source code available.
  • An overview of the existing SVG to Java2D transcoders by Jan Erik Paulsen, and their extension to the Javascript based Darkstar FX renderers.