AwtPeerExample -- checking what toolkit and peers your platform uses.

Note that Button b2 never gets a peer, because it is not added to any container.



The source.