Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

can you add components to canvas ?

 
sarim raza
Ranch Hand
Posts: 232
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks
 
Sivaram Ghorakavi
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As Canvas being a direct Component you can only add(popupMenu) to it and no other componet adding interface is provided either thro' Canvas class or Component class. Adding component is possible only via Containers....
Check JDK help..
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic