ListCellRenderer<T> () { // we set the correct renderer explicitly // to ensure getComponent().getPreferredSize() is computed // correctly. Fixes the sub-popup jump's to the left on mac return new MyDelegateRenderer(); }