I have a problem with Swing JButtons. I work with Netbeans. When I disable JButton in the GUI Builder, it still triggers the actions attached as events, i.e. I have disabled the button with the onClick trigger. Regardless of whether it is disabled, the trigger works.
Does anyone know how to avoid this behavior? and disconnected jbutton only triggers actions when turned on?
Thank you so much
source
share