Exercise 13 Reflection and JavaBeans


Exercise 12.6 in the book. The topic is the reflection capabilities of Java.


Discuss how much effort it would require to covert parts of your user interface for your projects to JavaBeans. What are the advantages and disadvantages of this?


Build a small JavaBean. You can use the Frog Bean from the book or the Car Bean from the lecture as outset.


Download and install the JavaBeans Developer Kit (BDK) from Sun. Load the JavaBean created in the previous exercise into the BDK to see its bean's properties and events that it can react to.

Best regards,
Kristian Torp