This tutorial will teach you how to make Record Navigation using Java Mysql. First we have to Connect to Database create the method connect() public void connect() { try { Class.forName("com.mysql.jdbc.Driver"); con = DriverManager.getConnection("jdbc:mysql://localhost/apocompany","root",""); stat = con.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE,ResultSet.CONCUR_READ_ONLY); rs = stat.executeQuery("select id,custname,loantype,amount from loan"); } catch (ClassNotFoundException ex) { ex.printStackTrace(); } catch (SQLException ex) { ex.printStackTrace(); } } after that call …