I'm developing a Swing based application in which I want to add JToolBar
with images in JButton
but it's not looking good. JToolBar
is having some dots at the starting part.
How can I get rid of the dots?
I'm developing a Swing based application in which I want to add JToolBar
with images in JButton
but it's not looking good. JToolBar
is having some dots at the starting part.
How can I get rid of the dots?
Two things:
setFloatable(false)
.JButton
s prior to adding them to JToolBars (orJPanel
s, etc):decorateButton(AbstractButton)