[Bug awt/23931] ToolKit.createImage() throws unexpected IllegalArgumentException
--- Comment #12 from mark at gcc dot gnu dot org 2006-03-28 09:14 --- *** Bug 26871 has been marked as a duplicate of this bug. *** -- mark at gcc dot gnu dot org changed: What|Removed |Added CC||avi at argo dot co dot il http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23931 ___ Bug-classpath mailing list Bug-classpath@gnu.org http://lists.gnu.org/mailman/listinfo/bug-classpath
[Bug awt/23931] ToolKit.createImage() throws unexpected IllegalArgumentException
--- Comment #7 from multix at gmail dot com 2006-02-02 16:11 --- Created an attachment (id=10772) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10772&action=view) gtk image patch this is a slightly revised version of the patch Mark proposed. It seems to well for me, a great improvemt both compared to the existing code and mark's version. (although the change is just one line, as described in a prior comment, on the original code after the patch form mark was applied). This suggestion is from roman. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23931 ___ Bug-classpath mailing list Bug-classpath@gnu.org http://lists.gnu.org/mailman/listinfo/bug-classpath
[Bug awt/23931] ToolKit.createImage() throws unexpected IllegalArgumentException
--- Comment #6 from fitzsim at redhat dot com 2006-01-26 13:24 --- Please post a patch for what you describe to classpath-patches and I'll have a look at it. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23931 ___ Bug-classpath mailing list Bug-classpath@gnu.org http://lists.gnu.org/mailman/listinfo/bug-classpath
[Bug awt/23931] ToolKit.createImage() throws unexpected IllegalArgumentException
--- Comment #3 from multix at gmail dot com 2006-01-25 16:58 --- roman kennke suggestet to subsitute GtkImage to GtkErrorImage and this improved things a lot! Seems to work finw for me that way. - private Image bufferedImageOrError(BufferedImage b) + private Image imageOrError(Image b) { if (b == null) return new GtkErrorImage(); @@ -249,47 +248,82 @@ return b; } -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23931 ___ Bug-classpath mailing list Bug-classpath@gnu.org http://lists.gnu.org/mailman/listinfo/bug-classpath
[Bug awt/23931] ToolKit.createImage() throws unexpected IllegalArgumentException
--- Comment #2 from multix at gmail dot com 2006-01-24 10:28 --- I find this bug very inconvenient and it makes some programs fail or behave incorrectly. mark's patch improves the situation a tiny but, but causes other problems. It causes me this exception: Exception during event dispatch: java.util.ConcurrentModificationException at java.util.HashMap$HashIterator.hasNext (HashMap.java:857) at gnu.java.awt.peer.gtk.GtkToolkit$GtkErrorImage$1.startProduction (GtkToolkit.java:206) at gnu.java.awt.peer.gtk.GtkImage. (GtkImage.java:193) at gnu.java.awt.peer.gtk.GdkGraphics.drawImage (GdkGraphics.java:237) at gnu.java.awt.peer.gtk.GdkGraphics.drawImage (GdkGraphics.java:221) at gnu.java.awt.peer.gtk.GdkGraphics.drawImage (GdkGraphics.java:227) at javax.swing.ImageIcon.paintIcon (ImageIcon.java:407) at javax.swing.plaf.basic.BasicLabelUI.paint (BasicLabelUI.java:169) at javax.swing.plaf.ComponentUI.update (ComponentUI.java:193) at javax.swing.JComponent.paintComponent (JComponent.java:1830) at javax.swing.JComponent.paint (JComponent.java:1700) at javax.swing.JViewport.paintSimple (JViewport.java:799) at javax.swing.JViewport.paintBackingStore (JViewport.java:827) at javax.swing.JViewport.paintBlit (JViewport.java:897) at javax.swing.JViewport.paint (JViewport.java:507) at javax.swing.JComponent.paintChildren (JComponent.java:1798) at javax.swing.JComponent.paint (JComponent.java:1702) at javax.swing.JComponent.paintChildren (JComponent.java:1798) at javax.swing.JComponent.paint (JComponent.java:1702) at javax.swing.JComponent.paintChildren (JComponent.java:1798) at javax.swing.JComponent.paint (JComponent.java:1702) at javax.swing.JComponent.paintChildren (JComponent.java:1798) at javax.swing.JComponent.paint (JComponent.java:1702) at javax.swing.JComponent.paintDoubleBuffered (JComponent.java:1925) at javax.swing.JComponent.paintImmediately2 (JComponent.java:1898) at javax.swing.JComponent.paintImmediately (JComponent.java:1882) at javax.swing.RepaintManager.paintDirtyRegions (RepaintManager.java:579) at javax.swing.RepaintManager$RepaintWorker.run (RepaintManager.java:115) at java.awt.event.InvocationEvent.dispatch (InvocationEvent.java:200) at java.awt.EventQueue.dispatchEvent (EventQueue.java:465) at java.awt.EventDispatchThread.run (EventDispatchThread.java:75) at java.lang.VMThread.run (VMThread.java:123) -- multix at gmail dot com changed: What|Removed |Added CC||multix at gmail dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23931 ___ Bug-classpath mailing list Bug-classpath@gnu.org http://lists.gnu.org/mailman/listinfo/bug-classpath