通过jFrame的句柄啊,如:
f=new yourframe()
f.yourtable
f.yourpanel
当然如果你的jTable,jPanel为私有成员可以定义公有方法取得

f.gettable()
f.getpanel