Adam Bien's Weblog

Java FX 2 Data Binding Explained …With A JUnit Test

import static;
import static org.junit.Assert.assertThat;
import org.junit.Test;

public class StringDataBindingTest {
    public void bindUnidirectionally(){
        String expected = "DukeFX";
        StringProperty from = new SimpleStringProperty();
        StringProperty to = new SimpleStringProperty();
        String actual = to.get();

Any questions? :-)

NEW workshop: Building HTML 5 Applications With Angular 2
Full week in December 2016: from Java EE 7 Bootstrap, Effective, Architectures over Testing to Microservices
On demand workshops: Java EE 7: Bootstrap, Effective, Testing and Microservices available for streaming.


A book about rethinking Java EE Patterns


Ah, now i've got it :)

Posted by Mike on December 23, 2011 at 10:41 AM CET #

I hit a roadblock trying to change the Dynamic Web Module version to 2.5. Eclipse reports “cannot change version of project facet dynamic web module to 2.5″, nothing more.How do I change the facet to 2.5?

Posted by net grid on July 21, 2012 at 05:39 PM CEST #

An useful and an important one information to enable displaying data in data grid’s cells.its also an important one.

Posted by Annie on July 23, 2012 at 01:43 PM CEST #

Post a Comment:
  • HTML Syntax: NOT allowed
Online Workshops
...the last 150 posts
...the last 10 comments