Search:

Type: Posts; User: jim829

Search: Search took 0.10 seconds.

  1. Re: Android studio | how to make a button text unchangable after changing it once

    I may have misunderstood the question. I thought the OP didn't want to be able to press the button again, once it has been changed.

    Regards,
    Jim
  2. Re: Android studio | how to make a button text unchangable after changing it once

    The easiest way would be to disable the button. It will then change the textual appearance to indicate it has been disabled.


    JButton b = myButton("X");
    b.setEnabled(false);

    Regards,
    Jim
Results 1 to 2 of 2