Run the application
|
Make your IDE do a refresh. You should get something similar to this:
|
|
|
|
Screenshot: Eclipse
|
|
From your IDE, run TestFrame.java as a Java application.
|
|
|
|
The resulting JFrame
|
|
You can also run the (compiled) TestFrame class from the command line.
|
|
Open a shell, cd to the MyProject directory and execute:
|
|
java -cp .;classes;radirt.jar com.bar.foo.test.TestFrame
|
|
(On Linux, replace the Windows path separator ' ; ' with ' : ' )
|
Provoke some errors
Try this: Rename 'testIcon.gif' (inside the resources directory) and run the application again.
The frame shows up but the button has no icon. At the console window you will see the following error message:
RADi runtime: Missing Icon: resources/testicon.gif
Now rename the layout definition file ('Test Frame.radi' inside the project directory) and see what happens as you run the application. You will see the following error dialog:
If RADi cannot find the layout definition file it prints the current classpath to System.err so you can check it:
|