问题描述
我想学习如何使用JGoodies绑定(因为bean绑定似乎在水中死了,它的fork也是如此)。 JGoosides绑定文档引用了教程源代码,但是这个代码在最新的(2.5)发行版中不可用。
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.
看完之前的发行版本似乎是教程代码被丢弃在2.0.6和2.1.0之间
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?
推荐答案
我有同样的问题,我花了很长时间才找到答案。你是对的,因为最新版本(2.5)不包含教程代码。但是,旧的教程代码(v2.06)是一个非常好的起点,并将教你基础知识。 (至少它对我有用。)
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.)
从浏览 2.06和2.5之间有一些重大变化,com.jgoodies.binding.binder包是最大的。 (有趣的是,该文档并未特别提及该教程已被删除......)
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
已被替换为:
com.jgoodies.common.collect.ArrayListModel
com.jgoodies.common.collect.ObservableList
还有几个在线教程非常好,但请注意,它们基于极其古老的v1.0。尽管如此,主体和概念是相同的。
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.
- JGoodies: Understanding Binding - Part 1
- JGoodies: Understanding Binding - Part 2
- JGoodies: Understanding Binding - Part 3
- JGoodies: Understanding Binding - Part 4
- Introduction to JGoodies Binding
这篇关于JGoodies绑定教程代码发生了什么变化?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!