Usually folks do stuff programmatically with components when they want to dynamically create components on the fly - even a table. Not sure if that is what your intended use of your approach is.
[Message sent by forum member 'rogerk' (rogerk)]
http://forums.java.net/jive/thread.jspa?messageID=357916