How to generate exceptions from RepaintManager

If it helps, the example below throws prints multiple variations of the following Exception, mostly for each phase of the frame’s UI delegate initialization. I used CheckThreadViolationRepaintManager, but the AspectJ variation looks interesting, too. java.lang.Exception at EDTViolation$CheckThreadViolationRepaintManager.checkThreadViolations(EDTViolation.java:43) at EDTViolation$CheckThreadViolationRepaintManager.addDirtyRegion(EDTViolation.java:37) at javax.swing.JComponent.repaint(JComponent.java:4734) at java.awt.Component.repaint(Component.java:3168) at javax.swing.JComponent.setFont(JComponent.java:2727) at javax.swing.LookAndFeel.installColorsAndFont(LookAndFeel.java:191) at javax.swing.plaf.basic.BasicPanelUI.installDefaults(BasicPanelUI.java:49) at javax.swing.plaf.basic.BasicPanelUI.installUI(BasicPanelUI.java:39) at javax.swing.JComponent.setUI(JComponent.java:662) at javax.swing.JPanel.setUI(JPanel.java:136) … Read more