public void visibleOther() {
XCheckbox check1 = (XCheckbox)findComponent( obj, "check1" );
XLabel lab1 = (XLabel)findComponent( "lab1" );
XLabel lab2 = (XLabel)findComponent( "lab2" );
XTable table = (XTable)findComponent( "table" );
XImage img = (XImage)findComponent( "img" );
if ( check1.isSelected() ) {
lab1.setVisible( false );
lab2.setVisible( false );
table.setVisible( false );
img.setVisible( false );
} else {
lab1.setVisible( true );
lab2.setVisible( true );
table.setVisible( true );
img.setVisible( true );
}
}