if ( m_useJavaCallbacks )
{
// after we switched to another sheet, we need to register at its list box
// control, again. The reason is that controls exist as long as their sheet is active.
XListBox listBoxControl = getListBoxControl( sheet );
listBoxControl.addItemListener( this );
// in the list box of this new sheet, select its name. Everything else
// is way too confusing
listBoxControl.selectItem( selectedEntry, true );
// don't do it. It deadlocks :(
}
}
catch( com.sun.star.uno.Exception e )
{