timttate/wheel-encoder-generator

Help EDT Swing thread violation in help

Opened this issue · 0 comments

What steps will reproduce the problem?
1. click "help" menu item under "Help" menu

What is the expected output? What do you see instead?

The CheckThreadViolationRepaintManager catches a violation...

java.lang.Exception
CheckThreadViolationRepaintManager.java:54 
wheelencodergenerator.CheckThreadViolationRepaintManager.checkThreadViolations()
: Image Animator 1
        at wheelencodergenerator.CheckThreadViolationRepaintManager.checkThreadViolations(CheckThreadViolationRepaintManager.java:38)
        at wheelencodergenerator.CheckThreadViolationRepaintManager.addDirtyRegion(CheckThreadViolationRepaintManager.java:32)
        at javax.swing.JComponent.repaint(JComponent.java:4742)
        at javax.swing.text.html.ImageView.repaint(ImageView.java:585)
        at javax.swing.text.html.ImageView.access$300(ImageView.java:33)
        at javax.swing.text.html.ImageView$ImageHandler.imageUpdate(ImageView.java:906)
        at sun.awt.image.ImageWatched$WeakLink.newInfo(ImageWatched.java:112)
        at sun.awt.image.ImageWatched.newInfo(ImageWatched.java:150)
        at sun.awt.image.ImageRepresentation.imageComplete(ImageRepresentation.java:711)
        at sun.awt.image.ImageDecoder.imageComplete(ImageDecoder.java:135)
        at sun.awt.image.GifImageDecoder.produceImage(GifImageDecoder.java:247)
        at sun.awt.image.InputStreamImageSource.doFetch(InputStreamImageSource.java:246)
        at sun.awt.image.ImageFetcher.fetchloop(ImageFetcher.java:172)
        at sun.awt.image.ImageFetcher.run(ImageFetcher.java:136)


Please use labels and text to provide additional information.

Original issue reported on code.google.com by shimniok on 1 Nov 2012 at 5:17