User Profile

Collapse

Profile Sidebar

Collapse
norman2000
norman2000
Last Activity: Apr 9 '12, 05:48 PM
Joined: Mar 17 '12
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • how can I display data into my Jtextarea from my data base Mysql

    hi,
    I have problem when I try to displa data from my database mysql to my jTextarea,when I compile I have an error exception like :

    Code:
    SQL Exception: java.sql.SQLException: Can not issue SELECT via executeUpdate()
    I have used a select query from my table where the name is the name writed in my jTextfield,this is my code,I hope that some one help me because I don't know how to reesolve the problem and thanks:...
    See more | Go to post

  • thanks r035198x for your reply but how can I solve this problem,make a new loop or what?
    See more | Go to post

    Leave a comment:


  • norman2000
    started a topic using the nextToken() method with the jTable
    in Java

    using the nextToken() method with the jTable

    hi,
    I have a jTable and I want to display in it a result of a command,then I used an object of the StringTokenizer class to separate between the lettres of the result and display the result in the table jTable1,but when I use system.out.prin tln(st.nextToke n()) it works correctly but in the table it display when I compile the last result
    this is my code:

    Code:
    public Object[][] data;
        public String  title[] = {"t1","t2","t3","t4","t5"};
    ...
    See more | Go to post
No activity results to display
Show More
Working...