This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes can you add components to canvas ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "can you add components to canvas ?" Watch "can you add components to canvas ?" New topic

can you add components to canvas ?

sarim raza
Ranch Hand

Joined: Nov 02, 2000
Posts: 232
Sivaram Ghorakavi
Ranch Hand

Joined: Nov 30, 2000
Posts: 56
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..
I agree. Here's the link:
subject: can you add components to canvas ?
jQuery in Action, 3rd edition