Win a copy of Microservices in Action this week in the Web Services forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Knute Snortum
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Ganesh Patekar
  • Frits Walraven
  • Tim Moores
  • Ron McLeod
  • Carey Brown
Bartenders:
  • Stephan van Hulst
  • salvin francis
  • Tim Holloway

Putting Buttons Side by Side on JToolBar  RSS feed

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How can I put buttons side by side on a JToolbar? I'm adding buttons like this:



But, they are adding in rows, not side by side. By the way, I'm not using any LayoutManager; I'm just adding them.
 
Marshal
Posts: 61813
193
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch
I shall refer you to the Java Tutorials, which I hope will help.
 
Campbell Ritchie
Marshal
Posts: 61813
193
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Liza Honey, welcome to the Ranch

This is an English‑language website and all posts must be in English. Please post a translation in English.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!