fun addPaintListener(pl: PaintListener?) { if (m_painters == null) { m_painters = CopyOnWriteArrayList() } m_painters.add(pl) }
Add a PaintListener to this Display to receive notifications about paint events .