Results 1 to 3 of 3
  1. #1
    reader34 is offline Member
    Join Date
    Dec 2008
    Posts
    4
    Rep Power
    0

    Default Button and ActionListner problems

    Hello,

    I'm doing an assignment for college ( Yes I know you don't do home work lol) and having problems with buttons. Its a facebook style application. I have 3 buttons connected with 3 text fields and they output a result in the console. One button that I've called status, the user rights a comment and it will say " Your status: hello" Now I've managed to make that work, its when there's nothing in the filed and the user clicks on the button the "Your status:" will still open up and I don't want this happen.

    I will post some code if needed.

    Thanks,

  2. #2
    ksaketh2 is offline Member
    Join Date
    Apr 2014
    Posts
    6
    Rep Power
    0

    Default Re: Button and ActionListner problems

    can u send the code for more clarity of the problem...?

  3. #3
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    11,755
    Rep Power
    19

    Default Re: Button and ActionListner problems

    Four years on?
    Please...

    Locking this one.
    Please do not ask for code as refusal often offends.

    ** This space for rent **

Similar Threads

  1. Button
    By Tb0h in forum New To Java
    Replies: 6
    Last Post: 07-22-2009, 01:28 AM
  2. Record Button
    By nicezam in forum NetBeans
    Replies: 3
    Last Post: 04-27-2009, 03:53 AM
  3. HTML button
    By Java Tip in forum javax.swing
    Replies: 0
    Last Post: 06-26-2008, 07:39 PM
  4. Using SWT Button
    By Java Tip in forum Java Tip
    Replies: 0
    Last Post: 01-08-2008, 09:05 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •