view src/luan/modules/swing/Swing.luan @ 1722:7d2ab44f7a59 default tip

remove String regex fns
author Franklin Schmidt <fschmidt@gmail.com>
date Fri, 29 Jul 2022 14:12:01 -0600
parents 915cb538e2a3
children
line wrap: on
line source

local Luan = require "luan:Luan.luan"
local error = Luan.error
local Thread = require "luan:Thread.luan"
local safe = Thread.safe or error()
require "java"
local SwingLuan = require "java:luan.modules.swing.SwingLuan"


local Swing = {}

function Swing.run(fn)
	fn = safe(fn)
	SwingLuan.run(fn)
end

return Swing