Saturday, November 17, 2012

Code used in video "Java prog#45.Take value from JTable and set it to jDatechooser in Netbeans Java and Sqlite (mysql)"


Here I am providing the downloadable code link of  the Java code I have used in the video
 "Java prog#45.Take value from JTable and set it to jDatechooser in Netbeans Java and Sqlite (mysql)"  of my YouTube channel ProgrammingKnowledge

Click Link to watch the video LINK

This code below


Date add3=rs.getDate("Update_date");
    cmd_date.setDate(add3);


Or if the above code don't work the use the below code 




String add12=rs.getString("Date_Of_Birth");
    ((JTextField)txt_dob.getDateEditor().getUiComponent()).setText(add12);

-------------------------------------------------------------

Java prog#45.Take value from JTable and set it to jDatechooser in Netbeans Java and Sqlite (mysql)




How can I make a JTable cell do different things on single-click
netbeans java tutorial
Values to be displayed in JTextfield when Clicked on JTable Cells.
Click on JTable Model Updates JTextfield
how can i get value from JTable and set it to textfield.
Show data from JTable in Jtextfield

4 comments:

  1. How to use JCalendar insert day/month/year not time same JDateChooser

    ReplyDelete
  2. the first option works but simply displays 1970-01-01

    ReplyDelete
  3. please give us real solution for this topic.......
    when i write this code there has a error "java.sql.SQLException: Error parsing time stamp"

    ReplyDelete