U
Ulf Meinhardt
I want to replace a JButton mybut1 which is placed on a JPanel by two other JButtons mybut2 and mybut3.
The replacement should oocur during the run of the application (e.g. if Button1 is visible and
I click on it).
How do I do this?
Maybe I can toggle on and off the visibility of the signle Button resp. the Button pair. (if this is easier)?
Do I need two different Panels?
Ulf
The replacement should oocur during the run of the application (e.g. if Button1 is visible and
I click on it).
How do I do this?
Maybe I can toggle on and off the visibility of the signle Button resp. the Button pair. (if this is easier)?
Do I need two different Panels?
Ulf