Change button names

Discussion in 'Java' started by Niall, Apr 6, 2004.

  1. Niall

    Niall Guest

    Hi
    I know this is an simple question, but I was wondering id it is possible
    to name of a jbutton, well not what the button is declared as but the
    caption, or what the users see's, if anyone know this i would appreceate
    it thanks.
    Niall, Apr 6, 2004
    #1
    1. Advertising

  2. Christophe Vanfleteren, Apr 6, 2004
    #2
    1. Advertising

  3. Look at the member method setText(String) in the JButton class
    -- Stephan

    "Niall" <> wrote in message news:<>...
    > Hi
    > I know this is an simple question, but I was wondering id it is possible
    > to name of a jbutton, well not what the button is declared as but the
    > caption, or what the users see's, if anyone know this i would appreceate
    > it thanks.
    Stephan Wehner, Apr 6, 2004
    #3
    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. Paddy McCarthy
    Replies:
    3
    Views:
    698
    Anthony J Bybell
    Sep 24, 2004
  2. Bob
    Replies:
    1
    Views:
    372
    Lucas Tam
    Jul 30, 2004
  3. Lewis G. Pringle, Jr.
    Replies:
    0
    Views:
    591
    Lewis G. Pringle, Jr.
    Sep 30, 2003
  4. Craig
    Replies:
    0
    Views:
    436
    Craig
    Feb 9, 2004
  5. Carl
    Replies:
    0
    Views:
    514
Loading...

Share This Page