View Single Post
  #6 (permalink)  
Old 03-27-2008, 03:07 PM
Bill Bill is offline
Member
 
Join Date: Mar 2008
Posts: 8
Bill is on a distinguished road
hi,

its not exactly that i want to do. My AbstractTableModel extends my class not a method return an AbstractTableModel, and my panel is in another class

Code:
Public class MyTableModel extends AbstractTablemodel{ }
and my panel
Code:
public class MyPanel extends JPanel{ }
my loop is in this panel class and i want to instantiate the model of MyTableModel from a JTable in MyPanel.

Thanks a lot for your help
Reply With Quote