1

How to create a custom round button in fxml,I've tried this Code

   <Button fx:id="button" layoutX="273.0" 
          layoutY="103.0" mnemonicParsing="false" 
          onAction="#next" 
          style="-fx-base:#b6e7c9;
          -fx-font:12 papyrus;
          -fx-border-radius:15px 50px 30px 40px ;
          -fx-border:2px solid;" 
          textOverrun="CLIP">
  </Button>

1 Answer 1

2

Maybe you should take a look of this
4 Using FXML to Create a User Interface

And this one maybe could help you :)
JavaFX - create custom button with image

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.