Win a copy of Spring Boot in Practice this week in the Spring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Liutauras Vilda
  • Henry Wong
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Mikalai Zaikin
  • Himai Minh

label a. events

 
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i have just read your exam errta forum, who can tell me why Label does not generate any Events, i think Label is one of Component, it should generate at least KeyEvent, FocusEvent etc..., correct me please.

regds
zhewen
 
Ranch Hand
Posts: 277
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
As per my knowledge all component throws following five events
1. Component
2. Key
3. Focus
4. Mouse
5. Mouse motion
Component, canvas and label do not throw any event other than that.
Please feel free to correct me.

vivek

 
Ranch Hand
Posts: 93
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I guess Labels do not respond to user inputs and they do not send out events. So it will not generateany events;
Vivek:
1. Button----ActionEvent
2. Canvas ----MouseMotion,Key events
3. Checkbox---Item events,when they are selected
4. Choice ----Send Item events
5. List ----Selecting Item cause Item events ,but double clicking sends Action event
6. Text Field---Text events, Key events and Action event when 'Enter' key is pressed.
7. Text Area ----Text events ,Key events
etc ,there are others,but I guess these are very often used and familiar.
Hope this might helps.
Thanks
Nirmal
 
reply
    Bookmark Topic Watch Topic
  • New Topic