|
Java™ by example!
|
|
|
Why do some Swing Components have client properties as opposed to API methods?
From an article from Sun: "Since early versions of Swing, the JComponent "client properties" mechanism has been used in places where more traditional API additions might be used. The options referred to in this article are examples of that. The main reason this is done is to avoid locking down a specific API which might not be appropriate for all circumstances, or because the criteria for a given release does not include "API changes". As these "client property" style features are fleshed out we will likely replace them with more traditional "beans-style" properties in future releases."
Further Information
Author of answer: Joris Van den Bogaert
Comments to this answer are only viewable by members. Login or become a member!
|
|
|
|
|