public AttachmentsInspector(AttachmentContainer container) { super( "Attachments (" + container.getAttachmentCount() + ")", "Files attached to this message", true, AttachmentsInspectorFactory.INSPECTOR_ID); this.container = container; container.addAttachmentsChangeListener(this); }
public void propertyChange(PropertyChangeEvent evt) { setTitle("Attachments (" + container.getAttachmentCount() + ")"); }