question: private void cmd_selection ( Object source ) { for ( int i = 0 ; i < m_selectionList . size ( ) ; i ++ ) { if ( source == m_selectionList . get ( i ) ) { boolean selected = isSelectionSelected ( source ) ; Decimalbox qty = m_qtyList . get ( i ) ; qty . setReadonly ( ! selected ) ; return ; } } log . log ( Level . SEVERE , "not found - " + source ) ; }
target:  Enable/disable qty based on selection