Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint

Beans Binding

On the one hand, you can bind GUI components to a data source with the Beans Binding Framework (JSR 295). On the other hand, you can keep features of different GUI components synchronous with each other. These are tasks which have to be implemented in nearly every rich-client application. The Beans Binding Framework together with the NetBeans IDE or the GUI Builder ensure that you only have to write a few lines of code.

I will demonstrate the advantages of the Beans Binding Framework and of the support by the GUI Builder with a typical example (shown in Figure 41-8) in which you take an already existing database and create entity classes for its tables. Then you bind the data from the database to a table in a NetBeans Platform application. Furthermore, you bind a detail view to a table. Doing so, some changes both in the table and in the detail view should be possible.


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial