swing make a button custom code example
Example: how to make an invisiblke button in swing
//Invisible/Transparent Button in swing
button.setOpaque(false);
button.setContentAreaFilled(false);
button.setBorderPainted(false);
//Invisible/Transparent Button in swing
button.setOpaque(false);
button.setContentAreaFilled(false);
button.setBorderPainted(false);