• 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
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

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
 
When evil is afoot and you don't have any arms you gotta be hip and do the legwork, but always kick some ... tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic