Re: Newbie - How to run the HelloWorld example
Bruce Kissinger <[email protected]>
| Newsgroups | gmane.comp.embedded.carlsbad-cubes |
|---|---|
| Message-ID | <[email protected]> |
Bruce Kissinger <bruce <at> calextech.com> writes: > > I'm in the process of reading the book Essential XUL Programming and I wanted > to try some XUL code out. So I downloaded the Swixml application, installed > it, and built everything successfully. > > I have an incredibly simple question to ask - but I've looked everywhere on the > Swixml site and can't find the answer. The question is - how do I run one of > the example files? For example, I tried going to the directory where the > sample programs were and saying "java HelloWorld" - but got a variety of > errors. I made sure that all the Swixml jar files were on my classpath. > > Any assistance would be greatly appreciated. > > Bruce > I tried it on another machine running Java 1.4.2 and it worked okay. The machine with the problem was running 1.4.1. The specific problem that I ran into was a complaint about not being able to load JFormattedTextField. I looked at the Java API and found that this was introduced in 1.4.2 so that explains the reason it didn't work on a 1.4.1 machine. Bruce