How to "grey out" a JButton?

Discussion in 'Java' started by Anony!, Aug 15, 2004.

  1. Anony!

    Anony! Guest

    Hi

    I have a JButton that I would like to grey out after the user has clicked on
    it once. This will prevent further clicking until a user clicks on another
    JButton to restart it. I have been scrambling through the Java API and could
    not find any methods that implement this.

    Any help appreciated.

    AAA
    Anony!, Aug 15, 2004
    #1
    1. Advertising

  2. Anony!

    Tony Morris Guest

    1. Advertising

  3. Anony!

    Anony! Guest

    Anony!, Aug 15, 2004
    #3
  4. Anony!

    zoopy Guest

    zoopy, Aug 16, 2004
    #4
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Bao

    Help JButton

    Bao, Jul 18, 2003, in forum: Java
    Replies:
    2
    Views:
    440
    Kevin Pors
    Jul 19, 2003
  2. Sandip Chitale
    Replies:
    0
    Views:
    693
    Sandip Chitale
    Aug 7, 2003
  3. Karl

    Javascript grey out

    Karl, Feb 15, 2009, in forum: HTML
    Replies:
    2
    Views:
    1,137
    Harlan Messinger
    Feb 15, 2009
  4. J Belly

    Grey out or disable form?

    J Belly, Feb 4, 2005, in forum: Javascript
    Replies:
    1
    Views:
    144
    Joakim Braun
    Feb 6, 2005
  5. acord

    grey-out/disabled item in listbox

    acord, Mar 11, 2006, in forum: Javascript
    Replies:
    3
    Views:
    257
    acord
    Mar 11, 2006
Loading...

Share This Page