开发者

How do I display the contents of a String array in Java Swing

I am new to swing and am trying to write a simple program that displays the permutations of a user-defined s开发者_开发百科tring 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.


You could start with JList.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜