Welcome to the Java Programming Forums

The professional, friendly Java community. 21,500 members and growing!

The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


Members have full access to the forums. Advertisements are removed for registered users.

View Poll Results: What is your favorite programming language

2. You may not vote on this poll
  • C++

    0 0%
  • C#

    0 0%
  • Java

    2 100.00%
  • Assembly

    0 0%
Results 1 to 2 of 2

Thread: Listeners not working!

  1. #1
    Junior Member
    Join Date
    Feb 2012
    Thanked 0 Times in 0 Posts

    Default DO NOT VIEW

    Sorry everyone, I am new to this and I was being stupid and asked a question about java here. My bad everyone do not view doesn't matter lol.
    Last edited by Alex-Green; February 20th, 2012 at 12:55 AM. Reason: was in wrong place

  2. #2
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    On vacation
    Thanked 2,425 Times in 2,378 Posts

    Default Re: Listeners not working!

    Your code does not follow java coding conventions and that makes it very hard to understand.
    Class names should start with Upper case letter.
    You should NOT use the names of Java SE classes for you classes. Button is a java SE class.

    Please Edit your post and wrap your code with[code=java]<YOUR CODE HERE>[/code] to get highlighting

Similar Threads

  1. Serializing Listeners
    By aussiemcgr in forum Java Theory & Questions
    Replies: 1
    Last Post: March 11th, 2011, 05:47 PM
  2. Mouse Listeners
    By newbie in forum AWT / Java Swing
    Replies: 2
    Last Post: November 27th, 2010, 11:08 PM
  3. Action Listeners and Key Listeners Help
    By xctive in forum What's Wrong With My Code?
    Replies: 3
    Last Post: November 18th, 2010, 09:27 AM
  4. Listeners, CopyOnWriteArrayList and removals
    By Richard in forum Collections and Generics
    Replies: 2
    Last Post: August 5th, 2010, 02:12 PM
  5. Menu Event Listeners
    By Gondee in forum What's Wrong With My Code?
    Replies: 4
    Last Post: June 16th, 2010, 03:08 PM

Tags for this Thread