I\'ve got a JButton that for various reasons I want to act like a button, but look like a JLabel. It doesn\'t actually have to be a JLabel under the hood, I just don\'t wan
setContentAreaFilled(false); setBorderPainted(false); setOpaque(false);
This three lines do the trick.