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

    Default Button and ActionListner problems


    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.


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

    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
    Rep Power

    Default Re: Button and ActionListner problems

    Four years on?

    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, 10: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