This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Looping JCheckBox

 
Davy Kelly
Ranch Hand
Posts: 384
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey everyone,

I want to make some JCheckBox's
4 in a line but iterating this row 24 times e.g.
checkBox1 checkBox2 checkBox3 checkBox4
checkBox1 checkBox2 checkBox3 checkBox4
checkBox1 checkBox2 checkBox3 checkBox4
checkBox1 checkBox2 checkBox3 checkBox4
etc

I have JTextAreas with 2 rows, and I want the JCheckBox to record something about the row of the JTextArea.

here is my code to loop through, needless to say it is wrong.


what am I doing wrong?

here is a pic of what I am working on, to show what I mean


davy
 
Davy Kelly
Ranch Hand
Posts: 384
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yay,

got it done,

davy
 
Campbell Ritchie
Sheriff
Pie
Posts: 47274
52
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
. . . and how did you get it to work? People would be interested to know.

CR
 
Davy Kelly
Ranch Hand
Posts: 384
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
well this was my loop:



davy
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic