Why all the cross-posts when I answered the question hours ago? One more to add to the do-not-help list?
Type: Posts; User: curmudgeon
Why all the cross-posts when I answered the question hours ago? One more to add to the do-not-help list?
And cross-posted at: Need Help in Swing | java-forums.org
You can get the user's selection from your pane variable:
JTextArea tArea = new JTextArea(10, 40);
JScrollPane sPane = new JScrollPane(tArea);
JOptionPane pane = new...