String format = "{0} Networks"; Object[] args = new Object[1]; args[0] = new Integer(<the number of network objects in View pane>); String status = MessageFormat.format(format, args); VConsoleEvent e = new VConsoleEvent( myTool, VConsoleActions.UPDATESELINFO, status) myTool.fireConsoleAction(e);