String status = (statusField.getForeground() == Color.gray) ? "" : statusField.getText();
ConnectionManager.getInstance().updatePresence(Presence.Type.available, status, 20, mode);
}
});
menu.show(statusSelector, 2, statusSelector.getHeight() + 2);
}
});
statusSelector.setFocusable(false);
statusSelector.setRolloverEnabled(true);