This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 133256

Summary: enhance the data binding with mysql
Product: guibuilder Reporter: angus203 <angus203>
Component: BindingAssignee: angus <angus>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: P4    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

Description angus203 2008-04-19 12:47:54 UTC
Coudld you enhance the data binding with mysql.
For example, when drag a textbox, it can be setting a binding from Tabel field.
That can be build a data from more easily and flexible and also similar MS Visual Studio data binding.
I look forward to hearing netbeans more powerful.
Comment 1 Jan Stola 2008-06-02 16:17:06 UTC
We already have a support similar to this one. You can drag a table node from Databases section of Services tab and 
drop it over some JTable in the designer. It will bind the table to the data from this table. You can drag a column 
node then and drop it over some text component. It will bound the text component to the selected row of the JTable (and 
the data that correspond to the dragged column).

If you hold Ctrl pressed during the drag and drop then the UI components will be created automatically for you e.g. if 
you drag a table node then JTable is created; if you drag a column node then JTextField is created.