Open vivainio opened 11 years ago
When used from JSE, I currently get:
xception in thread "main" java.lang.UnsupportedOperationException: SET PROGRAM: Unsupported platform- getIntance(program) argument must be JME MIDlet or Android Activity : Hello at org.tantalum.PlatformUtils.setProgram(PlatformUtils.java:165) at Hello.main(Hello.java:12)
(obviously, as that's how the implementation currently is)
I think the port to JSE will be faster/better after we have a file-system-based cache implementation. Adding a database seemed rather heavy when I looked at how big this would be.
The other question is: which UI do we assume as a base for things like runOnUIThread() ? JavaFX?
For runOnUiThread, let's just run the exec() immediately for J2SE to avoid being opinionated.
For development purposes, Java Standard Edition platformadapter would be useful