import javax.swing.*
f = JFrame()
f.setSize(400, 400)
sp = getScriptPane()
f.contentPane.add(JScrollPane(sp))
sp.text = readText(getFile("test.pnut"))
sp.document.updateHighlight()
f.show()
println(indentScript(readText("test.pnut")))