public void changeColorEdit() {
XCheckbox check3 = (XCheckbox)findComponent( obj, "check3" );
XEdit edit1 = (XEdit)findComponent( "edit1" );
XEdit edit2 = (XEdit)findComponent( "edit2" );
XPassword pass = (XPassword)findComponent( "pass" );
XTextArea text1 = (XTextArea)findComponent( "text1" );
XTextArea text2 = (XTextArea)findComponent( "text2" );
if ( check3.isSelected() ) {
edit1.setBackgroundColor( "#FF3333" );
edit2.setBackgroundColor( "#FF3333" );
pass.setBackgroundColor( "#FF3333" );
text1.setBackgroundColor( "#FF3333" );
text2.setBackgroundColor( "#FF3333" );
} else {
edit1.setBackgroundColor( "" );
edit2.setBackgroundColor( "" );
pass.setBackgroundColor( "" );
text1.setBackgroundColor( "" );
text2.setBackgroundColor( "" );
}
}