Java Reference
In-Depth Information
// Insert pre-init code here
stringItem1 = new StringItem("Location", "Berkeley, CA");
//GEN-LINE:MVDGetInit23
// Insert post-init code here
}//GEN-BEGIN:MVDGetEnd23
return stringItem1;
}//GEN-END:MVDGetEnd23
/** This method returns instance for spacer2 component and should be called
instead of accessing spacer2 field directly.//GEN-BEGIN:MVDGetBegin24
* @return Instance for spacer2 component
*/
public Spacer get_spacer2() {
if (spacer2 == null) {//GEN-END:MVDGetBegin24
// Insert pre-init code here
spacer2 = new Spacer(1000, 10);//GEN-LINE:MVDGetInit24
// Insert post-init code here
}//GEN-BEGIN:MVDGetEnd24
return spacer2;
}//GEN-END:MVDGetEnd24
/** This method returns instance for stringItem2 component and should
be called instead of accessing stringItem2 field directly.
//GEN-BEGIN:MVDGetBegin25
* @return Instance for stringItem2 component
*/
public StringItem get_stringItem2() {
if (stringItem2 == null) {//GEN-END:MVDGetBegin25
// Insert pre-init code here
stringItem2 = new StringItem("Forecast\n", "Sunny");
//GEN-LINE:MVDGetInit25
// Insert post-init code here
}//GEN-BEGIN:MVDGetEnd25
return stringItem2;
}//GEN-END:MVDGetEnd25
public void startApp() {
initialize();
}
public void pauseApp() {
}
 
Search WWH ::




Custom Search