RadiLoader
class and its support classes.
|
|
|
|
You find the complete javadoc documentation describing the runtime library at .../RADi/javadocs .
|
RadiLoader
constructs all components, sets their properties and, via reflection
, connects them to the member fields of the target class (the this argument). EventListener
methods and Action
methods are forwarded to the defined methods of the target class at runtime.
![]() |
Fields and methods of the exported class must be declared public (else you will see a java.security.AccessControlException . The required permission is java.lang.reflect.ReflectPermission "suppressAccessChecks" ) |
![]() |
You cannot call the RadiLoader method that specifies a locale, because an unsigned applet is not allowed to change the locale. (The required permission is: java.util.PropertyPermission "user.language", "write" ) |
reflection
, you will have to sign all your JARs when deploying your application with Java Web Start.
Keep in mind, that the RADi runtime requires Java 1.4. Your applets need the appropriate browser plug-in and your JNLP file should define a j2se version of 1.4+. |
RadiLoader
to give up:
![]() |
If RadiLoader could not find the layout definition (.radi) file, you will see this
. Possible reasons are:
| ||||||
![]() |
If RadiLoader detects a version conflict, you will see this
. Update to the latest Radi version.
| ||||||
![]() |
If RadiLoader could not find a custom Bean's JAR file, you will see this
. Possible reasons are:
| ||||||
![]() |
If you missed to extend an abstract inner class, you will see this . You should extend it and implement all abstract methods. |
Note: For missing member declarations or missing resources, the RADi runtime prints a
to System.err . (You can suppress these warnings by calling RadiLoader.loadObjects() with a third argument of true .)
|
![]() |
On a development machine you could put it in the lib/ext folders of your JSDK and JRE installations. |
![]() |
If you design applets with RADi, radirt.jar must be in the project directory (which is the applet's code base for local testing). |
![]() |
Packaged applications should reference radirt.jar in their manifest file. |