[Solved] Java 8 method references with javafx
If you just want to define a method for creating a MenuItem, then it’s easy enough: you just need to decide on the functional interface you will need for the parameter that takes the method reference (or lambda, etc). E.g. if the method signature takes no parameters and has void return type, you could use … Read more