Swing - Changing the content of a panel using UpdateUI

后端 未结 2 602
没有蜡笔的小新
没有蜡笔的小新 2020-12-21 21:07

I am going through a legacy application which is using Swing and i am struggling to figure out how the screens are changing when a user clicks a button. One of the reasons i

2条回答
  •  旧时难觅i
    2020-12-21 21:52

    As per comments by ziggy (glad it helped)

    Have a look at the PropertyChangeListeners that appear to be added in the code. In particular the propertyChange(PropertyChangeEvent e) method is where the code which changes the content will be present.

    +1 to trashgod nice example/advice as always

提交回复
热议问题