What happened to the JGoodies binding tutorial code?

不想你离开。 提交于 2019-12-22 05:18:17

问题


I want to learn how to use JGoodies binding (since beans binding seems dead in the water, and so does its fork). the JGoosides binding docs refer to the tutorial source code, but this code is not available in the latest (2.5) distribution.

After looking though previous distribution versions is seems the tutorial code was dropped between 2.0.6 and 2.1.0

Am I to understand that the tutorial is outdated? if so, is there an up-to-date tutorial distribution somewhere that I just managed to miss?


回答1:


I had this same exact question and it took me quite awhile to find an answer. You are correct in that the latest version (2.5) does not contain the tutorial code. However, the old tutorial code (v2.06) is an extremely good starting point, and will teach you the fundamentals. (At least it did for me.)

From browsing the Release Notes there are a few significant changes between 2.06 and 2.5 with the com.jgoodies.binding.binder package being the largest. (Interestingly the document doesn't specifically mention that the tutorial was removed...)

The only gotcha with the old tutorial code:

com.jgoodies.binding.list.ArrayListModel
com.jgoodies.binding.list.ObservableList

have been replaced by:

com.jgoodies.common.collect.ArrayListModel
com.jgoodies.common.collect.ObservableList

There are also several tutorials online which are quite good, however, note that they are based on the extremely old v1.0. Again though, the principals and concepts are the same.

  1. JGoodies: Understanding Binding - Part 1
  2. JGoodies: Understanding Binding - Part 2
  3. JGoodies: Understanding Binding - Part 3
  4. JGoodies: Understanding Binding - Part 4
  5. Introduction to JGoodies Binding



回答2:


JGoodies removed the files linked below. However, I believe the tutorials are still available in the Java 1.4 libraries in the new archives.

Also, Karsten Lentzsch is building a new Showcase app that will have all the tutorial sources. It may be available in July.


Old post:

Reading the tutorial code is probably the best way to learn JGoodies, even though it's outdated. You can still get them from the archives:

http://www.jgoodies.com/download/libraries/binding/binding-1_5_0.zip

http://www.jgoodies.com/download/libraries/validation/validation-1_4_0.zip

http://www.jgoodies.com/download/libraries/forms/forms-1_3_0.zip




回答3:


I've also been looking for the tutorial code.

It's available in the Showcase app (latest version at time of writing this is 1.6.6).

http://www.jgoodies.com/downloads/demos/

Open the Showcase app in Java WebStart. You may need to add a security exception for http://www.jgoodies.com in your Java settings to allow the app to run.

Once you've opened the demo, you can access the source code by clicking on the "Show details" button on the top right corner of the window.

I hope this helps.



来源:https://stackoverflow.com/questions/7975879/what-happened-to-the-jgoodies-binding-tutorial-code

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!