When you add a JButton to a JToolbar, the button takes a specific look (not the same that if you add it to a Jpanel). I created some component similar to a JToolbar and I would like the same behavior. Problem: I checked the JToolbar class to find some specific code in charge to change the appearence of added components (change component specific paint method or UI delegates, etc). I didn't find anything! I don't understand how JToolbar works. Could anyone explain me how it works?
Thanks a lot,
Herve Guillaume