i have column in mysql table have 100 record ,i want show values from table inside textfield ( every 3 second show record from 0 - 99). this is my code :
Connect
Use Thread.sleep(milliseconds)
while(rs.next()){ String value = rs.getString("expert1"); textField1.setText(value); try { Thread.sleep(3000); } catch(Exception e) {} }
You can use Thread for parallel process.