Changes between Version 41 and Version 42 of PRO_LIB_CORE_TUTORIAL


Ignore:
Timestamp:
07/14/09 14:42:26 (16 years ago)
Author:
peko
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PRO_LIB_CORE_TUTORIAL

    v41 v42  
    648648 
    649649=== Bad Code Examples === 
    650  * Resource Property is a better choice. 
     650 ==== Resource Property is a better choice ==== 
    651651{{{ 
    652652        public Prop<JComponent> swingComponent() { 
     
    669669}}} 
    670670  
    671  * Trying to initialize a resource or auto property manually: 
     671 ==== Trying to initialize a resource or auto property manually: ==== 
    672672  * suppose one has the following: 
    673673{{{ 
     
    699699}}} 
    700700   
    701    * People tend to the the following in order to initialize the prorperty: 
     701    * People tend to the the following in order to initialize the prorperty: 
    702702{{{ 
    703703button().get(); //does nothing! 
    704704}}} 
    705    * '''This actually will do nothing. The property is automatically created and initialized when the value property containing the tool-tip is initialized.''' Same applied to auto properties! You do not need to "get()" the property in order for it to be "computed". This is automatically provided by the pro lib. 
    706   * Using a non-ProObject or non-@Immutable object as a value of a property: 
     705    * '''This actually will do nothing. The property is automatically created and initialized when the value property containing the tool-tip is initialized.''' Same applied to auto properties! You do not need to "get()" the property in order for it to be "computed". This is automatically provided by the pro lib. 
     706  ==== Using a non-ProObject or non-@Immutable object as a value of a property: ==== 
    707707{{{ 
    708708