Search:

Type: Posts; User: VBGuy

Search: Search took 0.24 seconds.

  1. Replies
    8
    Views
    3,607

    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
    3,607

    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
    3,607

    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...
  4. Replies
    7
    Views
    1,960

    New Java user ActionListener question

    Hello all,

    I'm a new Java user and I'm trying out the ActionListener feature but I am not sure what is the best way to implement it. Below is my code where I've been testing out different Java...
Results 1 to 4 of 5