my dog learned polymorphism*
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

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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: 4340

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: 2155
i am finally reading the Actions tutorial

Read the How to Use Tool Bars tutorial as well for some of the toolbar features.
subject: JToolbar or Jpanel?
Similar Threads
Little advice on JPanels in JFrame
Painting Issues
Retrieving a Component from a SplitPane
problem in swing tool bar
Separator in JToolBar