title: Central hub that subscribes, receives and sends messages?
body: <p>My application (Java swing) is becoming quite big and I'm now busy to decouple a few components. In the current situation all my components have references to one or more other components, this works well if the tree of components is small, but becomes difficult to manage when the tree becomes larger (large constructors)</p>
  
  <p>Is it possible to let a sub view send a message of type x that is received by views that registered (at a central hub) that they want to receive message of this type?</p>
  
  <p>Of course this is possible and i can implement it, but it feels a bit like reinventing the wheel.</p>
  
  <p>Are there any libraries / products that might act as a central hub where views can subscribe for message types and where views can also send the messages to?</p>
  
  <p>(please note i did a search on this, but i suspect i don't know the right English word for this central hub structure/pattern) ( so the correct English word is also OK ;) )</p>