} catch (ClassCastException cce)
{
annotService = null;
- JvOptionPane.showMessageDialog(Desktop.desktop,
+ JvOptionPane.showMessageDialog(Desktop.getInstance(),
MessageManager.formatMessage(
"label.service_called_is_not_an_annotation_service",
new String[]