Results 1 to 4 of 4
  1. #1
    smacker is offline Member
    Join Date
    Jan 2011
    Posts
    44
    Rep Power
    0

    Default noob listeners problem...

    hello all helpers

    i'm trying to do like an "enter your name" jframe with jtextfield and jbutton
    now i did the jbutton disabled so to not get an empty name ,
    and now i think i need a listener to tell me incase someone types a name than deletes what he typed
    so basicly the listener should check the jtext and enable\disable the jbutton accordingly,
    i never used a listener before so i don't know how they work also where to put them ,
    any tips or helps are welcome

    thanks to all !

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is offline Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,237
    Rep Power
    19

    Default Re: noob listeners problem...

    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

  3. #3
    smacker is offline Member
    Join Date
    Jan 2011
    Posts
    44
    Rep Power
    0

    Default Re: noob listeners problem...

    thanks a lot i'll give it a try

  4. #4
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,316
    Blog Entries
    1
    Rep Power
    26

Similar Threads

  1. I am a super noob with a super noob question.
    By LittleZoppo in forum Java Applets
    Replies: 3
    Last Post: 04-27-2012, 03:50 AM
  2. two different Listeners
    By Billaguana in forum New To Java
    Replies: 8
    Last Post: 01-21-2011, 03:20 AM
  3. Help im a noob.. a super noob on java..
    By critdevil in forum New To Java
    Replies: 12
    Last Post: 03-07-2009, 03:17 AM
  4. Seriously need help on my listeners!!
    By themburu in forum Java Applets
    Replies: 4
    Last Post: 05-26-2008, 10:41 AM
  5. [noob]Problem with TOS .bat
    By fred33 in forum Advanced Java
    Replies: 0
    Last Post: 03-19-2008, 02:04 PM

Posting Permissions

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