private final NotificationCenter notify = NotificationCenter.getDefaultNotificationCenter();
private int maxResults = 5;
public PopupListener(JTextComponent text, Dictionary dictionary, Locale locale) {
jText = text;
spellCheckPanel = new SpellCheckerPanel();
panel = PopupPanel.initPlainPanel(spellCheckPanel);
}