XEdit edit5 = (XEdit)findComponent( "edit5" );
XList unordered = (XList)findComponent( "unordered" );
if ( edit5.getText().equals( "" ) || edit5.getText().equals( "Item Index" ) ) {
unordered.uAddElement( edit4.getText() );
} else {
unordered.uInsertElement( edit4.getText(), Integer.parseInt( edit5.getText() ) );
}
}
public void removeItemUList() {
XList unordered = (XList)findComponent( obj, "unordered" );