Is there a way to render JButtons in swing as flat buttons? For a JToolbar you can use
JToolBar toolBar = new JToolBar();
toolBar.setRollover(true);
So there's certainly some code to do this rendering already. But I don't find any such option on a JButton.
It's not my intention to create my own extension of a JButton to handle this.
If the toolbar can render buttons like this without changes, it should also be possible to render a plain button exactly the same without changes.
Thanks in advance