设置框架的背景色使用的方法是( )。

设置框架的背景色使用的方法是( )。
A、void setSize
B、void setBackground
C、void setVisible
D、void setTitle
【正确答案】:B
【题目解析】:参考教材P158。
掌握对“容器”知识点了解。