我有一个与Java相关的一般性问题。
我正在编写一个带有GUI菜单的应用程序。我试图根据单选按钮的选择更改GUI菜单的某个部分。
我需要做什么:
我正在编写一个带有GUI菜单的应用程序。我试图根据单选按钮的选择更改GUI菜单的某个部分。
我需要做什么:
Redraw the whole window or just update that part with:
setVisible(true)?
If I just use the statement from #1 above .. the GUI is fine -- until I move the mouse over it and then I see the previous button choice. What am I doing wrong?