title: how to retrieve data from mysql to java
body: <p>I am making a java program about library computer seat monitoring. If the library custodian enters the student's student number, he/she will be logged in and his/her firstname and lastname will be displayed on a JLabel in java GUI. The student number, firstname and lastname are all in the database. How will I retrieve those data from tha database and store it to the JLabel?</p>