-
Bug
-
Resolution: Fixed
-
P2
-
1.2.0
-
1.2beta4
-
sparc
-
solaris_2.6
-
Verified
SwingSet when run as an applet dialogs don't work and throw exceptions in Window L&F with JDK-1.2beta4-F on Windows NT.
Steps to Reproduce:
0) Launch SwingSet with the appletviewer (use SwingSetApplet.html) with JDK-1.2beta4-F on Windows NT.
1) Switch to Windows Look and Feel.
2) Select Message Dialog from the Dialog menu.
RESULT: The following exceptions are thrown:
Exception occurred during event dispatching:
java.lang.IllegalArgumentException: null Color or Paint
at java.lang.Throwable.<init>(Compiled Code)
at sun.java2d.SunGraphics2D.setPaint(Compiled Code)
at sun.awt.image.BufferedImageGraphics2D.setPaint(Compiled Code)
at sun.awt.image.BufferedImageGraphics2D.setColor(Compiled Code)
at java.awt.swing.SwingGraphics2D.setColor(Compiled Code)
at java.awt.swing.plaf.windows.WindowsButtonUI.paintFocus(WindowsButtonUI.java:94)
at java.awt.swing.plaf.basic.BasicButtonUI.paint(Compiled Code)
at java.awt.swing.plaf.ComponentUI.update(Compiled Code)
at java.awt.swing.JComponent.paintComponent(Compiled Code)
at java.awt.swing.JComponent.paint(Compiled Code)
at java.awt.swing.JComponent.paintWithBuffer(Compiled Code)
at java.awt.swing.JComponent._paintImmediately(Compiled Code)
at java.awt.swing.JComponent.paintImmediately(Compiled Code)
at java.awt.swing.RepaintManager.paintDirtyRegions(Compiled Code)
at java.awt.swing.RepaintManager$WorkRequest.run(Compiled Code)
at java.awt.swing.SystemEventQueueUtilities.processRunnableEvent(Compiled Code)
at java.awt.swing.SystemEventQueueUtilities$RunnableTarget.processEvent(Compiled Code)
at java.awt.Component.dispatchEventImpl(Compiled Code)
at java.awt.EventQueue.dispatchEvent(Compiled Code)
at java.awt.EventDispatchThread.run(Compiled Code)
Steps to Reproduce:
0) Launch SwingSet with the appletviewer (use SwingSetApplet.html) with JDK-1.2beta4-F on Windows NT.
1) Switch to Windows Look and Feel.
2) Select Message Dialog from the Dialog menu.
RESULT: The following exceptions are thrown:
Exception occurred during event dispatching:
java.lang.IllegalArgumentException: null Color or Paint
at java.lang.Throwable.<init>(Compiled Code)
at sun.java2d.SunGraphics2D.setPaint(Compiled Code)
at sun.awt.image.BufferedImageGraphics2D.setPaint(Compiled Code)
at sun.awt.image.BufferedImageGraphics2D.setColor(Compiled Code)
at java.awt.swing.SwingGraphics2D.setColor(Compiled Code)
at java.awt.swing.plaf.windows.WindowsButtonUI.paintFocus(WindowsButtonUI.java:94)
at java.awt.swing.plaf.basic.BasicButtonUI.paint(Compiled Code)
at java.awt.swing.plaf.ComponentUI.update(Compiled Code)
at java.awt.swing.JComponent.paintComponent(Compiled Code)
at java.awt.swing.JComponent.paint(Compiled Code)
at java.awt.swing.JComponent.paintWithBuffer(Compiled Code)
at java.awt.swing.JComponent._paintImmediately(Compiled Code)
at java.awt.swing.JComponent.paintImmediately(Compiled Code)
at java.awt.swing.RepaintManager.paintDirtyRegions(Compiled Code)
at java.awt.swing.RepaintManager$WorkRequest.run(Compiled Code)
at java.awt.swing.SystemEventQueueUtilities.processRunnableEvent(Compiled Code)
at java.awt.swing.SystemEventQueueUtilities$RunnableTarget.processEvent(Compiled Code)
at java.awt.Component.dispatchEventImpl(Compiled Code)
at java.awt.EventQueue.dispatchEvent(Compiled Code)
at java.awt.EventDispatchThread.run(Compiled Code)
- duplicates
-
JDK-4140940 Windows L&F buttons throw exceptions for JDK1.2beta4-G
- Closed