Se ho questo codice con la jList come posso metterlo nella tabella???
JFrame finestra = new JFrame("inserisci id prodotto da acquistare");
finestra.setTitle("inserisci id prodotto da acquistare");
finestra.setBounds(100, 100, 964, 483);
contenuto = finestra.getContentPane();
c.carica();
finestra.getContentPane().setLayout(null);
ScrollPane scroll= new ScrollPane();
list_1 = new JList();
list_1.setBounds(0, 36, 900, 334);
scroll.add(list_1);
finestra.getContentPane().add(scroll);
scroll.setBounds(0, 36, 938, 334);
c.carica();
list_1.setListData(c.getProdottiAttive().toArray() );
lblNewLabel = new JLabel("id-Tipo-Descrizione-Prod Venduti-Prod. Vendibili-Ristorante-Luogo-Data Scadenza-Data Partenza-Nome Fornitore"
+ "-Giudizio-Prezzo-Prezzo a persona");
lblNewLabel.setBounds(0, 11, 938, 14);
finestra.getContentPane().add(lblNewLabel);
textField_1 = new JTextField();
textField_1.setBounds(221, 381, 86, 20);
finestra.getContentPane().add(textField_1);
textField_1.setColumns(10);
lblInserisciIdPer = new JLabel("Inserisci id per acquistare");
lblInserisciIdPer.setBounds(10, 384, 150, 14);
finestra.getContentPane().add(lblInserisciIdPer);
btnAcquista = new JButton("Acquista");
btnAcquista.addActionListener(new azione());
btnAcquista.setBounds(563, 411, 89, 23);
finestra.getContentPane().add(btnAcquista);
finestra.setVisible(true);
finestra.setDefaultCloseOperation(JFrame.DISPOSE_O N_CLOSE);
}