The Java Developers Almanac 1.4


Order this book from Amazon.

   
Home > List of Packages > java.beans  [12 examples]

e4. Instantiating a Bean

    try {
        MyBean bean = (MyBean)Beans.instantiate(ClassLoader.getSystemClassLoader(), "MyBean");
    } catch (ClassNotFoundException e) {
    } catch (IOException e) {
    }

 Related Examples
e1. The Quintessential Bean
e2. Implementing a Bound Property
e3. Implementing a Constrained Property
e5. Listing the Property Names of a Bean
e6. Getting and Setting a Property of a Bean

See also: Events    Serialization   


© 2002 Addison-Wesley.