You can try to change the line

if (btnCallIntrest.setEnabled(true)

To

if(btnCallInterest.isEnabled())

=========
Mithat Karaoglu
Email: mithat.karao...@gmail.com


On Fri, Nov 26, 2021 at 10:22 PM Zulfi Khan <zulfi6...@yahoo.com.invalid>
wrote:

> Hi,
>
> I have written the following code:
>
> private void savAccRBActionPerformed(java.awt.event.ActionEvent evt)
> {
>         // TODO add your handling code here:
>         if (btnCalInterest.setEnabled(true))
>             btnCalInterest.setEnabled(false);
>
>
> I am getting the incompatible type error.
>
> Somebody please guide me.
>
> Zulfi.
>

Reply via email to