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

event sequence

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have a requirement to open another window as soon as the user closes the current window.
We are using a framework and extending a framework class(Abstract Frane) to create new frames. The abstract frame adds defautl internal frame listerner to the created window. And also there is a toolbar in desktop pane.
As per my requirement, i have added a new internal frame listener and has code to invoke a new screen in the internal frame closed event.Now there two internal frame listeners 1) Added by frame work 2) Explicitly added by me.
When the window is closed, the code that i wrote in internalframeclosed event is getting executed and the next scteen is invoked, Now the problem is here. Next, the listener added by framework fires and it has code to disable the tool bar . so the tool bar is getting disabled. But actually the bar always point to current frame. so, it's setting should confrom to newly opened frame. As the infterframe closed event is firing after the new window is created, tool bar is becoming non funtional. As per my knowledge there is noway impose sequence on the events. I have some functionality in the listerner added by framework and as far as possible don't want it to be removed.
Is there any way to control this.
[ March 03, 2005: Message edited by: ps prasad ]
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic