Search:

Type: Posts; User: VBGuy

Search: Search took 0.11 seconds.

  1. Replies
    8
    Views
    5,514

    Re: Can't set label text from a Jbutton

    Thank you both for all the help!!

    I have attached a screenshot of the error that now comes up.

    I am assuming this is the problem:


    public Action(JLabel label)
    {
    this.label...
  2. Replies
    8
    Views
    5,514

    Re: Can't set label text from a Jbutton

    Thanks Helloworld but I get an error when I try to run the code after your changes.

    I get 'cannot find symbol'

    Any thoughts?

    Thanks!
  3. Replies
    8
    Views
    5,514

    Can't set label text from a Jbutton

    Hello all,

    I have the following code. I would like to be able to set the text in the label (called label) to something else when a user click the close button.

    I am guessing that my action...
Results 1 to 3 of 4