public void cargarProductos() {
        try {
            Connection conn = Conexion.GetConnection();
            try {
                st = conn.createStatement();
                pro = st.executeQuery("SELECT * FROM Productos");
            } catch (SQLException e) {
                JOptionPane.showMessageDialog(this, e.getErrorCode() + ": " + e.getMessage());
            }

            String[] columns = {"idProducto", "Nombre", "Tipo", "precio", "proveedor", "cantidad"};
            DefaultTableModel tm = new DefaultTableModel(null, columns) {
                @Override
                public boolean isCellEditable(int rowIndex, int colIndex) {
                    return false;
                }
            };

            while (pro.next()) {
                String[] row = {pro.getString(1), pro.getString(2), pro.getString(3), "$ " + pro.getString(4), pro.getString(5), pro.getString(6)};
                tm.addRow(row);
            }
            jTable1.setModel(tm);
        } catch (SQLException e) {
            Logger.getLogger(GameCrush.class.getName()).log(Level.SEVERE, null, e);
        }
    }