Don't do this:

@BXML private ImageView tx = new ImageView();

Do this:

@BXML private ImageView tx;

The value of these fields will be set by injection, so any value you initialize 
them with will be overwritten by the load process.

On Aug 8, 2011, at 10:29 AM, B.L. Zeebub wrote:

> Sticking a debugger on example.java shows that the instance of, for example
> ImageView tx before the binding initialize() method is the same as the tx
> instance after the binding initialize() is called, but it is not the same as
> the tx instance used in the initialize() method itself. So I'm guessing that
> the reason that I'm  not seeing any changes is that the instances that I'm
> working on are not the instances that are used in the BXML binding - if that
> makes sense.
> 
> For what started out to be a simple question as to how to close a
> java.awt.Window object - this is starting to get a PITA :)
> 
> Any clues anyone?
> 
> Regards
> 
> --
> View this message in context: 
> http://apache-pivot-users.399431.n3.nabble.com/Binding-Issues-converting-from-1-5-to-2-0-tp3235662p3235723.html
> Sent from the Apache Pivot - Users mailing list archive at Nabble.com.

Reply via email to