DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 1 of 1

Thread: JCheckboxes order

  1. #1
    Join Date
    May 2007

    JCheckboxes order

    Ok, this problem is giving me a mind.... Let me explain.

    I'm making a program where you can click on checkboxes and radiobuttons and it would have to export the choices to an excel file. Image of the application.

    But when I process the data, he first takes the textbox. Then goes to the last checkbox of the first column, then goes through the list top to bottom of the first column. Then goes to the second column, first takes the value from the last checkbox and then the rest of the column. Then to the third column, takes the last checkbox's value and then the rest of the column.

    Example (each number would be the id of a checkbox):
    1 4
    2 5
    3 6

    Order he gives me them: 3 1 2 6 4 5
    Order I want them: 1 2 3 4 5 6

    Does anybody know what attribute I can adjust to get them going from the first checkbox to the last? I'm using JCheckboxes. Each set of checkboxes is placed inside it's own JPanel.
    Last edited by Armaron; 04-09-2009 at 12:29 PM.

Similar Threads

  1. SQL query 'IN' with 'Order By'
    By mattspriggs28 in forum Database
    Replies: 3
    Last Post: 02-28-2008, 08:00 AM
  2. Replies: 10
    Last Post: 06-20-2007, 01:19 PM
  3. SELECT STATEMENT order by criteria
    By Mustafa in forum Database
    Replies: 1
    Last Post: 08-16-2002, 10:00 AM
  4. Re: Sort problem in MS SQL Server 7.0
    By D. Patrick Hoerter in forum Database
    Replies: 1
    Last Post: 06-26-2000, 04:57 PM
  5. Replies: 12
    Last Post: 05-23-2000, 06:51 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
Latest Articles
Questions? Contact us.
Web Development
Latest Tips
Open Source

   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center