package com.troi.balloon;

import java.awt.Dimension;
import java.awt.Graphics;
import java.awt.Graphics2D;

import javax.swing.JEditorPane;
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.JScrollPane;

import jsyntaxpane.DefaultSyntaxKit;

public class Engine {
	
	@SuppressWarnings("serial")
	public static void main(String[] args) {
		JFrame frame = new JFrame("Test");
		frame.setContentPane(new JPanel() {
			@Override
			public void paintComponent(Graphics g) {
				Graphics2D render = (Graphics2D) g;
			}
		});
		frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		frame.setPreferredSize(new Dimension(800, 600));
		frame.pack();
		DefaultSyntaxKit.initKit();
        final JEditorPane codeEditor = new JEditorPane();
        JScrollPane scrPane = new JScrollPane(codeEditor);
        scrPane.setPreferredSize(new Dimension(400,600));
        codeEditor.setContentType("text/java");
		frame.add(scrPane);
		frame.setVisible(true);
	}
}
@@ -909,24 +909,133 @@
 ext/java%22);%0A
+        codeEditor.setText(%22public class Test %7B%5Cn%5Ctpublic static void main(String%5B%5D args) %7B%5Cn%5Ct%5Ct%5Cn%5Ct%7D%5Cn%7D%22);%0A
 %09%09frame.add(

test thingy