Results 1 to 2 of 2
  1. #1
    Azoth is offline Member
    Join Date
    Mar 2017
    Posts
    6
    Rep Power
    0

    Default How to generate table of jtextfeilds

    enter number of rows :3
    enter number of cols: 3
    __ __ __
    __ __ __
    __ __ __

    How can this be done with Jtextfeild for data entry for any arbitrary number of rows and columns ?

  2. #2
    jim829 is offline Senior Member
    Join Date
    Jan 2013
    Location
    Northern Virginia, United States
    Posts
    6,226
    Rep Power
    13

    Default Re: How to generate table of jtextfeilds

    Not certain what you want. But assuming the fields are the same width I would just generate them in nested loops and use the appropriate layout manager to organize them. You may want to resize the containing panel after they are generated to ensure they are all visible.

    Regards,
    Jim
    The JavaTM Tutorials | SSCCE | Java Naming Conventions
    Poor planning on your part does not constitute an emergency on my part

Similar Threads

  1. Replies: 0
    Last Post: 01-03-2014, 12:33 PM
  2. Replies: 2
    Last Post: 04-03-2013, 04:33 PM
  3. Replies: 1
    Last Post: 09-27-2011, 06:06 AM
  4. Replies: 1
    Last Post: 01-08-2010, 06:19 AM
  5. Generate Excel Report from a HTML table
    By Sudha in forum New To Java
    Replies: 0
    Last Post: 02-13-2008, 08:24 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •