Carregar tabela com dados vindos do hibernate

Seguinte pessoal eu estou fazendo uma consulta com o hibernate, esta pesquisando blz, eu dou um JOptionPane no registro e ele mostra, porem naum consigo dar um cast no Objeto na parte que esta em negrito, eu estou tentando adicionar ao modelo da tabela mas naum sei como…alguem ae sabe como tenho de fazer para tratar este dado vindo do hibernate?
vlw

[code]package Aplication;

import javax.swing.;
import java.awt.
;
import java.awt.event.;
import javax.swing.table.
;

import org.hibernate.Query;
import org.hibernate.Session;
import org.hibernate.SessionFactory;
import org.hibernate.cfg.Configuration;
import Model.Pessoa;

import java.util.Iterator;

public class Sisteminha extends JFrame implements ActionListener {

private Container cp = getContentPane();
private JPanel cp1, cp2, cp3, cp4, cp5, cp6;
private JTextField txid, txnome, txidade;
private JButton btAcao, btPesquisar, btExcluir, btVoltar;
private JTable tabela;
private DefaultTableModel modelo;

String[] colunas = new String []{"Marca", "Carro", "Cor"};
String[][] dados = new String [][] {
     {"Volksvagem","Fusca", "Vermelho"},
     {"Volksvagem","Brasília", "Amarela"},
     {"Fiat","Uno", "Preto"},
     {"Chevrolet","Chevet", "Azul"}
};



public Sisteminha() {

	SessionFactory sessionFactory = new Configuration().configure().buildSessionFactory();
	Session session = sessionFactory.openSession();
    session.beginTransaction();

    setSize(500, 500);
    setTitle("Persistência com Hibernate");
    centerJFrame(this);
    setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    setResizable(false);

	cp1 = new JPanel(new GridLayout(4, 1));
	cp2 = new JPanel(new FlowLayout());
	cp3 = new JPanel(new FlowLayout());
	cp4 = new JPanel(new FlowLayout());
	cp5 = new JPanel(new FlowLayout());
	cp6 = new JPanel(new GridLayout(1, 1));

	cp1.add(cp2);
	cp1.add(cp3);
	cp1.add(cp4);
	cp1.add(cp5);

	cp2.add(new JLabel("ID: "));
	cp2.add(txid = new JTextField(14));
	txid.setEnabled(false);

	cp3.add(new JLabel("Nome: "));
	cp3.add(txnome = new JTextField(16));

	cp4.add(new JLabel("Idade: "));
	cp4.add(txnome = new JTextField(16));

	cp5.add(btAcao		= new JButton("Inserir"));
	cp5.add(btPesquisar	= new JButton("Pesquisar"));
	cp5.add(btExcluir	= new JButton("Excluir"));
	cp5.add(btVoltar	= new JButton("Voltar"));

	btExcluir.setEnabled(false);
	btVoltar.setEnabled(false);

	cp.setLayout(new BorderLayout());
	cp.add(cp1, BorderLayout.NORTH);

    modelo = new DefaultTableModel();
    
    modelo.addColumn("ID");
    modelo.addColumn("NOME");
    modelo.addColumn("IDADE");

	cp6.add(new JScrollPane(tabela = new JTable(modelo)));

	cp.add(cp6, BorderLayout.CENTER);

	
	
	
	

    Query query = session.createQuery(" SELECT id, nome, idade FROM Pessoa");
    Iterator list = query.iterate();

    Object obj = null;

while (list.hasNext()) {
obj = (Object) list.next();
JOptionPane.showMessageDialog(null, obj);
}

	tabela.setModel(modelo);

	session.close();
	sessionFactory.close();

}

public void actionPerformed(ActionEvent e) {

}

private void centerJFrame(JFrame frame) {

    Dimension paneSize      = frame.getSize();
    Dimension screenSize    = frame.getToolkit().getScreenSize();
    frame.setLocation( (screenSize.width - paneSize.width) / 2, (screenSize.height - paneSize.height) / 2);

}

public static void main(String args[]) {	

	javax.swing.SwingUtilities.invokeLater(new Runnable() {
        public void run() {
            new Sisteminha().setVisible(true);
        }
    });

}

}[/code]

Problema resolvido! Só foi tirar o “SELECT” só deixei o “FROM Pesso” e funcionou!!

flw