• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Junilu Lacar
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Ganesh Patekar
  • Tim Moores
  • Pete Letkeman
  • Stephan van Hulst
Bartenders:
  • Carey Brown
  • Tim Holloway
  • Joe Ess

JQPlus - event question  RSS feed

 
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Question ID :952974499190
What (if any) are the events that can only be handled using low-level event processing and cannot be handled by using the event listener model?
Container Events
Paint Event
No such events
This is a question from JQ+ ,and the answer given is Paint Event.
I had marked it No Such event .Because I had read in mugal that all the events that can be handled by low level event processing(and here by low-level event processing I assume we are talking of programming events with processEvent() / enableEvent(mask) )
I checked the API ,there is neither a AWT_PAINT_MASK nor a processPaintEvent() method.
I know paint events are handled by the AWT itself ,and the programmer can use paint () ,update() or repaint() methods ,but can a programmer specifically process the paint event ???
Can you help me realize where I am missing something(If I am )
Thanks
Mousami
 
mousami bhattacharya
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Any takers ??? Paul ???
 
mousami bhattacharya
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ,Any takers ??? Paul ???

Originally posted by mousami bhattacharya:
Question ID :952974499190
What (if any) are the events that can only be handled using low-level event processing and cannot be handled by using the event listener model?
Container Events
Paint Event
No such events
This is a question from JQ+ ,and the answer given is Paint Event.
I had marked it No Such event .Because I had read in mugal that all the events that can be handled by low level event processing(and here by low-level event processing I assume we are talking of programming events with processEvent() / enableEvent(mask) )
I checked the API ,there is neither a AWT_PAINT_MASK nor a processPaintEvent() method.
I know paint events are handled by the AWT itself ,and the programmer can use paint () ,update() or repaint() methods ,but can a programmer specifically process the paint event ???
Can you help me realize where I am missing something(If I am )
Thanks
Mousami


 
Ranch Hand
Posts: 110
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's difficult to handle paint event since java doesn't provide a PaintListener interface to receive the event.
If it's to be handled it'll not be through the way we are familiar with.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!