Using Lambda Expressions of Java 8 in Java FX event handlers

posted by anishaanisha 637 days, 23 hours, 16 minutes ago
Wednesday, July 25, 2012 1:15:23 PM GMT

Note: The Project Lambda (JSR-335) to be added in Java 8 is evolving and the sample here is how one can use Lambdas with the current Java8 build downloaded from here. I will try to update the sample if there are any changes in the API in future. I thought it will be good to get a peak of how Lambda Expressions can be used with JavaFX or for that matter any Single Abstract Method (SAM) types. Lets build a sample with just one toggle button and change the text of the toggle as and when it is selected/u...

category: Java EE | clicked: 0 | | source: www.javabeat.net | show counter code
tags: java FXevent handlers, java8, lamdba

To post comments using your Facebook,Twitter, Gmail etc credentials in the Discus comments section. Or use your Javapins credentials at the end of the page.
To post your comment as a Javapins user please login or signup to Javapins database.