title: Recompile with -Xlint:unchecked for details Warning?
body: <p>I wrote this code where when the software starts it takes data from a database (MYSQL control center) and bring them to a table. But when I compile this code 2 errors occurs.</p>
  
  <pre><code>Note: C:\Users\Commander Shepard\Documents\NetBeansProjects\Furniture Management System\src\furnituremanagementsystem\employee.java uses unchecked or unsafe operations.
  Note: Recompile with -Xlint:unchecked for details.
  </code></pre>
  
  <p>My Code:</p>
  
  <pre><code>public class employee extends javax.swing.JFrame {
  
      // Creates new form employee
      public employee() {
          initComponents();           
  
          Date now = new Date();
          SimpleDateFormat formatter = new SimpleDateFormat("yyyy/MM/dd");
          datelabel.setText(formatter.format(now));
  
          try {
              Statement s = DB.getConnection().createStatement();
              DefaultTableModel dtm = (DefaultTableModel) jTable1.getModel();
              dtm.setRowCount(0);
              ResultSet r = s.executeQuery("SELECT * from Employee");
              while (r.next()) {
                  Vector v = new Vector();
                  v.add(r.getString(1));
                  v.add(r.getString(2));
                  v.add(r.getString(3));
                  v.add(r.getString(4));
                  v.add(r.getString(5));
                  v.add(r.getString(6));
                  v.add(r.getString(7));
                  v.add(r.getString(8));
                  v.add(r.getString(9));
                  v.add(r.getString(10));
                  v.add(r.getString(11));
                  v.add(r.getString(12));
                  v.add(r.getString(13));
                  v.add(r.getString(14));
  
                  dtm.addRow(v);
              }
          } catch (Exception e) {
              e.printStackTrace();
          }
      }
  
      @SuppressWarnings("unchecked")
      ...
  }
  </code></pre>
  
  <p>The thing didn't actually affect the program, it's working properly, but I want to know if this is going to be a problem in the future and whether I should do something about this.</p>