單項(xiàng)選擇題

如何創(chuàng)建一個(gè)表格包型布局管理器的約束對象?() 

A. 調(diào)用組件的setConstraints函數(shù)
B. 調(diào)用面板的setConstraints函數(shù)
C. 創(chuàng)建并設(shè)置一個(gè)GridBagConstraints對象
D. 調(diào)用表格包型布局管理器的setConstraints函數(shù)

微信掃碼免費(fèi)搜題