src/authoring/SplashScreen.java
public Button buildButton(String name, Method method) {
		Button b = new Button();
		b.setText(properties.getProperty(name));
		b.setMinWidth(this.getSplashWidth());
		b.getStyleClass().add("splash-screen-button");
		b.setOnMouseClicked(e -> {
			try {
				method.invoke(this, null);
			} catch (Exception e1) {
				LOGGER.log(java.util.logging.Level.SEVERE, e1.toString(), e1);
			}});
		return b;	
	}
/**
	 * Builds a button with the text equivalent to 
	 * @param name the name of the type of button to build
	 * @param method the consumer to be invoked on click
	 * @return the final button
	 */
Builds a button with the text equivalent to
@param name the name of the type of button to build
@param method the consumer to be invoked on click
@return the final button
Builds a button with the text equivalent to @param name the name of the type of button to build @param method the consumer to be invoked on click @return the final button
public Button buildButton(String name, Method method) {
		Button b = new Button();
		b.setText(properties.getProperty(name));
		b.setMinWidth(this.getSplashWidth());
		b.getStyleClass().add("splash-screen-button");
		b.setOnMouseClicked(e -> {
			try {
				method.invoke(this, null);
			} catch (Exception e1) {
				LOGGER.log(java.util.logging.Level.SEVERE, e1.toString(), e1);
			}});
		return b;	
	}
public Button buildButton ( String name , Method method ) { Button b = new Button ( ) ; b . setText ( properties . getProperty ( name ) ) ; b . setMinWidth ( this . getSplashWidth ( ) ) ; b . getStyleClass ( ) . add ( "splash-screen-button" ) ; b . setOnMouseClicked ( e -> { try { method . invoke ( this , null ) ; } catch ( Exception e1 ) { LOGGER . log ( java . util . logging . Level . SEVERE , e1 . toString ( ) , e1 ) ; } } ) ; return b ; }
Builds a button with the text equivalent to
 @param name the name of the type of button to build
 @param method the consumer to be invoked on click
 @return the final button
Builds a button with the text equivalent to @param name the name of the type of button to build @param method the consumer to be invoked on click @return the final button