I'm working with javafx and I need to have one square divided by its diagonal where each half is a different button, I have found how to shape a button, but I have no idea on how to code this new component.
The idea is: 
Each half has to be a different button as explained above, any help would be great. Thank you!
