The Source for Java Technology Collaboration
User: Password:



Start New Message Delete Post a Reply

Article: 
 Enhancing Swing Applications
Subject:  Selective Apply
Date:  2006-10-04 08:59:11
From:  kirillcool
Response to: Selective Apply


For applying a widget to a single component, the core widgets (available from laf-widget project) use client properties. If some client property is specified, than the widget is installed on that component. The "installation" process itself consists of wiring the listeners / defaults / subcomponents on the component, so the relevant install* methods just check the presence of some client property on the associated component.

 Feed java.net RSS Feeds