I have created a JToolBar and I added 3 JButtons inside it.
Is there any way I can increase the horizontal space between the buttons?(Now they seem like they're stacked together)
Thank you.

JToolbar's addSeparator() method adds a standard sized gap

Thank you very much for your answer.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.