[brailleblaster] How do I get this notifyListeners addListener to work?

  • From: "John J. Boyer" <john.boyer@xxxxxxxxxxxxxxxxx>
  • To: brailleblaster@xxxxxxxxxxxxx
  • Date: Wed, 15 Jun 2011 17:47:54 -0500

In the design for the word processor that I have come up with, it is 
entered by a call to WPManager from somewhere, the main mehtod now. 
WPManager creates an instance of DocumentManager which creates instances 
of BrailleView, SaisyView, BBMenu BBToolbar and BstatusBar. 
DocumentManager handles everything relating to a single document. When 
the user choses the Open, New or Import items on the menu it calls 
notifyListeners on its Shell. WPmanager has previously registered a 
listener for the IpenDocument event on the display. The listener is 
supposed to call a method which creates a new document and adds it to an 
ArrayList of documents. However, the listener never hears anything. What 
is wrong?

Thanks,
John

-- 
John J. Boyer; President, Chief Software Developer
Abilitiessoft, Inc.
http://www.abilitiessoft.com
Madison, Wisconsin USA
Developing software for people with disabilities


Other related posts: