單項選擇題可顯示或隱藏對話框調用的方法是()

A.setTitle()
B.setModal()
C.setSize()
D.setvisible()


您可能感興趣的試卷

你可能感興趣的試題

1.單項選擇題對話框被分為()

A.有模式
B.無模式
C.有模式和無模式
D.沒有模式的區(qū)分

2.單項選擇題增加菜單分割線可使用方法()

A.addLine()
B.addSeparator()
C.insertLine()
D.insertItem(String)

3.單項選擇題判斷選擇的是哪一個菜單項可調用方法()

A.getEvent()
B.getMenuItem()
C.getSource()
D.只能通過菜單項序號來判定

4.單項選擇題選擇一個菜單項,可產生的事件是()

A.ItemEvent
B.ActionEvent
C.TextEvent
D.ContainerEvent

5.單項選擇題基于Frame創(chuàng)建了一個窗口,該窗口()

A.立即顯示
B.不能立即顯示
C.用方法SetVisible(true)顯示
D.用方法super()顯示