B
BoBi
Dear Developers,
I'm busy developing a database application with Netbeans IDE 6.0 and
Mysql to automate the data management of my Dongo.org project. I have
a question as described below.
I've created two projects using "New Project/Java/Java Desktop
Application/Database Application" for two different tables in my Mysql
database. Since my goal is to have the management screens for the
different tables in a tabbed application I enclosed the GUI elements
of the first project in a panel and then in a tabbed panel.
Furthermore I enclosed the GUI elements of the second project in a
panel and copied and pasted this panel into the tabbed panel as a
second tab. Since with the copy and paste the binding properties of
the second mastertable were lost I reapplied those settings. Also I
added code for and modified the buttons actions in the second tab
since they referred to the first tab.
The problem I'm having is that for the new button on the second tab it
appears not all needed code is executed since visually no new line is
added to the mastertable. When debugging the original second project
it appears more code is executed than for the second tab (this is code
getting attributes of the new instance ...). Nevertheless I have no
idea how this code is triggered or called from. Anybody knows how to
solve this problem? Which mechanism is not working for my second tab?
Maybe it has something to do with the beans binding?
Thanks and best regards , BoBi
http://www.dongo.org
I'm busy developing a database application with Netbeans IDE 6.0 and
Mysql to automate the data management of my Dongo.org project. I have
a question as described below.
I've created two projects using "New Project/Java/Java Desktop
Application/Database Application" for two different tables in my Mysql
database. Since my goal is to have the management screens for the
different tables in a tabbed application I enclosed the GUI elements
of the first project in a panel and then in a tabbed panel.
Furthermore I enclosed the GUI elements of the second project in a
panel and copied and pasted this panel into the tabbed panel as a
second tab. Since with the copy and paste the binding properties of
the second mastertable were lost I reapplied those settings. Also I
added code for and modified the buttons actions in the second tab
since they referred to the first tab.
The problem I'm having is that for the new button on the second tab it
appears not all needed code is executed since visually no new line is
added to the mastertable. When debugging the original second project
it appears more code is executed than for the second tab (this is code
getting attributes of the new instance ...). Nevertheless I have no
idea how this code is triggered or called from. Anybody knows how to
solve this problem? Which mechanism is not working for my second tab?
Maybe it has something to do with the beans binding?
Thanks and best regards , BoBi
http://www.dongo.org