Question: would you please do this private Button createButton( String name, EventHandler < ActionEvent> onClick) { // TODO // TODO call method setMaxSize on the button
would you please do this
private Button createButton( String name, EventHandler< ActionEvent> onClick) { // TODO // TODO call method setMaxSize on the button and pass Double.MAX_VALUE as both arguments. // we do this so we can stretch the button size otherwise we cannot. // TODO call method setOnAction on the button and pass to it onClick. // TODO finally return the button.s return null; }
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
