package com.beyondtechnicallycorrect.pong;

/**
 * Hello world!
 *
 */
public class App 
{
    public static void main( String[] args )
    {
        System.out.println( "Hello World!" );
    }
}

@@ -41,34 +41,35 @@
 g;%0A%0A
-/**%0A * Hello world!%0A *%0A */
+import javax.swing.JFrame;%0A
 %0Apub
@@ -86,15 +86,12 @@
 App 
-%0A%7B%0A    
+%7B%0A%0A%09
 publ
@@ -130,65 +130,308 @@
 gs )
-%0A    %7B%0A        System.out.println( %22Hello World!%22 );%0A    %7D
+ %7B%0A%09%09javax.swing.SwingUtilities.invokeLater(%0A%09%09%09%09new Runnable() %7B%0A%09%09%09%09%09public void run() %7B%0A%09%09%09%09%09%09setupGui();%0A%09%09%09%09%09%7D%0A%09%09%09%7D);%0A%09%7D%0A%09%0A%09private static void setupGui() %7B%0A%09%09JFrame frame = new JFrame(%22Pong%22);%0A%09%09frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);%0A%09%09frame.pack();%0A%09%09frame.setVisible(true);%0A%09%7D%0A%09
 %0A%7D%0A

Add extremely basic GUI setup