I have the following method declared..


public void display() {
Set finalStringSet = mapFinal.keySet();
JTextPane textPane = new JTextPane(); // creates an empty text pane
...