public ButtonBase (String text, Node graphic)

Create a ButtonBase with the given text and graphic.

Parameters:
text    null text is treated as the empty string
graphic    a null graphic is acceptable