Why org.jdesktop.swing.form.BindingBorder is not public?
I want to build swing application without xml script, i see the example TableFormDemo and i want to make similar application but i need to layout manually each components.
So i see the code from org.jdesktop.swing.form.* and when i need to use BindingBorder i have to copy in my project because it is private.
This is my fisrt approach to jdnc and excuse for my english.
my example code:
DataSourceModelTest customer = new DataSourceModelTest();
TextBinding tb1 = new TextBinding(jTextField1, customer, "codice");
TextBinding tb2 = new TextBinding(jTextField2, customer, "nome");
BooleanBinding bb1 = new BooleanBinding(jCheckBox1, customer, "flag");
int iconPosition = javax.swing.SwingConstants.EAST;
BindingBorder bborder = new BindingBorder(tb1, iconPosition);
Insets insets = bborder.getBorderInsets(jTextField1);
Dimension prefSize = jTextField1.getPreferredSize();
prefSize.width += (insets.left + insets.right);