程序代码:
List l=new List(3,false){
public java.awt.Dimension getPreferredSize(){
return new java.awt.Dimension(20,50);
}
};
public java.awt.Dimension getPreferredSize(){
return new java.awt.Dimension(20,50);
}
};
----------------解决方案--------------------------------------------------------