UI编辑器里可以点隐藏,我要在代码中把它显示出来,是Setvisable吗?,怎么就出不来呢?
请检查语法是否正确。
setEnabled() setVisible()
setVisible(true)就可以显示了