railscasts/376-jruby-basics — pull request #1 by bobbungee (2012-09-29 02:01:47+00:00)
Title: Use the EDT

It is necessary to initialize components on the Java event dispatch thread in order to prevent Swing from deadlocking, and causing other unwanted behavior.