>> 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...

Leading slashes are typically used to represent an "absolute" path, whereas the 
absence of a path implies "relative". Since the source path is absolute (it 
always begins at the root of the classpath), a leading slash is appropriate. 
The internal logic isn't strict though, so you can currently use any character.

>> 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.

You can't do it purely with BXML, but since you are using Scala, you must be 
writing classes anyways. Take a look at the Hello World tutorial for an example 
of implementing the Application interface.

>> 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.

No, you were clear - I just didn't think it through. Are you using a Dell by 
any chance? I think that some of the other users who have reported this issue 
were using Dell hardware.

G


Reply via email to