File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Swing / AWT / SWT and the fly likes JToolbar or Jpanel? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "JToolbar or Jpanel?" Watch "JToolbar or Jpanel?" New topic

JToolbar or Jpanel?

Randall Twede
Ranch Hand

Joined: Oct 21, 2000
Posts: 4347

i am finally reading the Actions tutorial, so i found out about JToolBar.
i am using a JPanel with a flow layout.
why should i change to JToolBar?

Visit my download page
Rob Camick
Ranch Hand

Joined: Jun 13, 2009
Posts: 2281
i am finally reading the Actions tutorial

Read the How to Use Tool Bars tutorial as well for some of the toolbar features.
Consider Paul's rocket mass heater.
subject: JToolbar or Jpanel?