I want to be able to round a jbutton in java, I thought it would be easy but apparently it is not, investigate and there was a library called look and feel2 that solved the problem but nothing ..
here I leave the code:
iniciar_sesion.putClientProperty(
SubstanceLookAndFeel.BUTTON_SHAPER_PROPERTY, new
StandardButtonShaper().getButtonBorder(iniciar_sesion));
iniciar_sesion.putClientProperty( SubstanceLookAndFeel.BUTTON_SIDE_PROPERTY,
SubstanceConstants.Side.RIGHT);
iniciar_sesion.putClientProperty(
SubstanceLookAndFeel.BUTTON_OPEN_SIDE_PROPERTY,
SubstanceConstants.Side.LEFT);
iniciar_sesion.putClientProperty(
SubstanceLookAndFeel.BUTTON_OPEN_SIDE_PROPERTY,
SubstanceConstants.Side.TOP);
iniciar_sesion.putClientProperty(
SubstanceLookAndFeel.BUTTON_OPEN_SIDE_PROPERTY, SubstanceConstants.Side.BOTTOM);