On 27/01/2011 22:17, Greg Brown wrote:
How you license (or not) your own code is up to you. If you modify/redistribute any of the Pivot source code, you'll need to retain the ASL header.
OK. In BXML, I just keep them as is, with just the package fix when needed. In sources, I will put my header, mentioning the original Java source.
Try using a path on the classpath, not a file system path. For example, --src=/com/foo/bar/my_file.bxml.
Aha! Either I tried too high in the path, or I forgot the initial slash... But now it works, many thanks! Still curious: why the initial slash, if you skip it in the code? If I replace it with a ! it works as well...
OTOH, you may want to simply implement the Application interface yourself rather than using ScriptApplication. For what you are trying to do, I think it might be a better approach anyways.
Not sure how to do that with pure BXML files.
Could be a JVM issue. Might also be related to the use of a volatile image for buffering. Try setting -Dorg.apache.pivot.wtk.disablevolatilebuffer=false when you start your app.
I wasn't clear, I think: the issues I saw was on the online demos, the applets. And yes, it might be related to the version of Java I use.
Spinners are not currently editable, though there is a JIRA ticket for this.
Still lot of work to do, I see... :-) Also noticed that text areas might use a bit more shortcuts (Ctrl+Backspace/Del to delete words, double-click to select a word, etc.).
Thanks! -- Philippe Lhoste -- (near) Paris -- France -- http://Phi.Lho.free.fr -- -- -- -- -- -- -- -- -- -- -- -- -- --
