If you use this program panel directly (this is the case, when you have added it into a JPanel), you don't have to call this method. This is done automatically.
But if you use this panel just as renderer (e.g. for a list) you have to register at the programs as ChangeListener and call this method when {@link ChangeListener#stateChanged(javax.swing.event.ChangeEvent)} wascalled. @see Program#addChangeListener(ChangeListener)
|
|
|
|