• Post Reply Bookmark Topic Watch Topic
  • New Topic

what container can contain object?

 
BJon Jo
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to put Object on a container but I can not find container that allow object to be added. Anybody know?
 
Nathan Pruett
Bartender
Posts: 4121
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That's because Containers can only have Components added to them... either cast your Object to a Component (if it really is one), or wrap the data from your Object in a custom Component and add that to the Container.
[ June 17, 2003: Message edited by: Nathan Pruett ]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!