更多“Component类中用于刷新组件的方法是( )。A.getFont( )B.getName( )C.update ”相关问题
  • 第1题:

    【单选题】下列Component类的方法中,用于组件可见性的是()。

    A.updata()

    B.paint(Graphics g)

    C.setVisible(Boolean b)

    D.repaint()


    setVisible(Boolean b)

  • 第2题:

    当需要组件刷新所显示的内容时,程序应当调用组件的哪个方法?()

    A.repaint()

    B.paint()

    C.update()

    D.validate()


    repaint()

  • 第3题:

    8、组件类Component中显示或隐藏组件的方法是()。

    A.setSize()

    B.setLocation()

    C.setVisible()

    D.setEnabled()


    setVisible()

  • 第4题:

    (GUI组件)Component类中用于刷新组件的方法是_______。

    A.getFont()

    B.getName()

    C.update()

    D.paint()


    update()

  • 第5题:

    组件类Component中显示或隐藏组件的方法是()。

    A.setSize()

    B.setLocation()

    C.setVisible()

    D.setEnabled()


    setVisible()