ConcreteMenuBufferFactory bufferFactory
= new ConcreteMenuBufferFactory(SeparatorRenderer.NULL);
// Get the underlying menu buffer locator.
MenuBufferLocator bufferLocator
= bufferLocatorFactory.createMenuBufferLocator(
bufferFactory);
MenuBuffer buffer = bufferLocator.getMenuBuffer(menu);
SingleMenuBufferLocator atomicLocator
= new SingleMenuBufferLocator(buffer);
// Numeric shortcuts were specified so return an Openwave renderer