If nothing is selected, the property evaluates to an empty list.The selected element of a JTable; notifies of all changes.
If there is a JList Binding with the JList as the target, the selected element is reported as an element from the binding's source list.
You can merely write a few lines of code to establish which properties of which components need to be kept in sync, and the beans binding library handles the rest.
In the Net Beans IDE, beans binding features are integrated in the GUI Builder, so you can quickly get the behavior of your application coded soon after you have established the visual design.
Once you have created a new Java form and added components to the form, you can generate code to bind those components to data.
This section shows you how to bind data to Swing JTable, JList, and JCombo Box components.