tags:

views:

33

answers:

1

I am new to swing and am trying to write a simple program that displays the permutations of a user-defined string by having a jtextfield that the user enters the string into, then click the jbutton, then all permutations of the string are displayed in the panel as a list. I set it up and got it working with factorials by displaying the computation in a jlabel, but What swing component should I use to display a variable amount of results? Thanks.

+2  A: 

You could start with JList.

vanza
Thanks dude````````