Action Performed :
try{Connection connect = Connect.getConnect();Statement stat = connect.createStatement();String sql="SELECT * FROM other Where coder like'"+jTextField7.getText()+"'";ResultSet isi = stat.executeQuery(sql);//isi that is Variable
if(isi.next()){jTextField1.setText(isi.getString(1));jTextField2.setText(isi.getString(2));jTextField3.setText(isi.getString(3));jTextField5.setText(isi.getString(4));jTextField4.setText(isi.getString(5));jTextField6.setText(isi.getString(6));jTextArea1.setText(isi.getString(7));}else{JOptionPane.showMessageDialog(null,"Invalid Code");}stat.close();}catch (Exception ex){JOptionPane.showMessageDialog(null,"Error :"+ex);}