Results 1 to 4 of 4
  1. #1
    Sno's Avatar
    Sno
    Sno is offline Senior Member
    Join Date
    Apr 2010
    Posts
    196
    Rep Power
    5

    Default jtable cell to string

    Basically what the title says.

    I am running a Modification System,
    Process:
    Menu:
    Select Modify:
    "What would you like to search by to Modify:"
    System Code
    System Name
    System Abbreviation

    Java Code:
    String SysName = JOptionPane.showInputDialog(null, "What is the System Name?", "Modify System Definition: System Name", JOptionPane.QUESTION_MESSAGE);
    String SQL  = "SELECT * FROM  `eossysdef` WHERE SysName LIKE '%"+SysName+"%';";
    Brings up a jtable, with all data with similar names.

    This is where I am at.

    How do I either click a row and get it to send to a string or each cell to a string multiple smaller strings.

    Because it will go to another Panel and fill in the TextBoxes to allow a person to modify and submit.
    :rolleyes: ~ Sno ~ :rolleyes:
    '-~ B.S. Computer Science ~-'

  2. #2
    PhHein's Avatar
    PhHein is offline Senior Member
    Join Date
    Apr 2009
    Location
    Germany
    Posts
    1,430
    Rep Power
    7

    Default

    Don't multipost, one thread is enough.
    Math problems? Call 1-800-[(10x)(13i)^2]-[sin(xy)/2.362x]
    The Ubiquitous Newbie Tips

  3. #3
    Sno's Avatar
    Sno
    Sno is offline Senior Member
    Join Date
    Apr 2010
    Posts
    196
    Rep Power
    5

    Default

    I apologize for the double post, just was looking for an answer, or an idea. Can not seem to get one. Thanks for pointing me in the right direction.
    :rolleyes: ~ Sno ~ :rolleyes:
    '-~ B.S. Computer Science ~-'

  4. #4
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,563
    Blog Entries
    7
    Rep Power
    21

    Default

    Quote Originally Posted by Sno View Post
    I apologize for the double post, just was looking for an answer, or an idea. Can not seem to get one. Thanks for pointing me in the right direction.
    Also check your other thread.

    kind regards,

    Jos

Similar Threads

  1. JTable Cell Merg
    By anilkumar_vist in forum AWT / Swing
    Replies: 8
    Last Post: 04-25-2011, 09:32 AM
  2. jtable cell to string
    By Sno in forum New To Java
    Replies: 3
    Last Post: 04-30-2010, 05:08 PM
  3. Setting jTable cell?
    By greatmajestics in forum New To Java
    Replies: 5
    Last Post: 04-22-2010, 05:33 PM
  4. jTable Cell editing
    By mahaling_m in forum AWT / Swing
    Replies: 0
    Last Post: 06-23-2008, 08:17 AM
  5. Jframe In Jtable cell
    By Clarion in forum AWT / Swing
    Replies: 4
    Last Post: 06-23-2008, 04:42 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
  •