title: Using the same JComponent in multiple panels
body: <p>I have 3 classes that each extend <code>JPanel</code> - <code>ShopArmorView</code>, <code>ShopWeaponView</code> and <code>StatView</code>.</p>
  
  <p>I am trying to add the <code>StatView</code> to both <code>ShopArmorView</code> and <code>ShopWeaponView</code>, however when stats are changed I need the <code>StatView</code> components to update in both <code>ShopArmorView</code> and <code>ShopWeaponView</code>.</p>
  
  <p>As of right now only the last class to have stat view added to it will update, and I know this is due to <code>JComponent</code> containers only being able to be held in one container.</p>
  
  <p>How can I make it when I update a value in the <code>StatView</code>, that this update will be shown in all classes that have <code>StatView</code> added to them?</p>
  
  <p>What I have tried:</p>
  
  <p>I have tried removing, then adding the <code>StatView</code>, then validating the panel, whenever I switch view. However this did not work.</p>