-
Bug
-
Resolution: Duplicate
-
P2
-
None
-
1.2.0
-
None
-
sparc
-
solaris_2.6
Making toolbar floatable for Windows L&F throws exceptions for JDK1.2beta4-G.
Happens on Win NT.
Steps to simulate the same,
1. Run SwingSet for JDK1.2beta4-G build.
2. Change the L&F to Windows by pressing Alt-1.
3. Click on Menus and toolbars tab.
4. Drag the toolbar out and leave the mouse. - Throws exceptions.
-- Exceptions 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 Cod
e)
at java.awt.Component.dispatchEventImpl(Compiled Code)
at java.awt.EventQueue.dispatchEvent(Compiled Code)
at java.awt.EventDispatchThread.run(Compiled Code)
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(Compiled Code)
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.paintChildren(Compiled Code)
at java.awt.swing.JComponent.paint(Compiled Code)
at java.awt.swing.JComponent.paintChildren(Compiled Code)
at java.awt.swing.JComponent.paint(Compiled Code)
at java.awt.swing.JComponent.paintChildren(Compiled Code)
at java.awt.swing.JComponent.paint(Compiled Code)
at java.awt.swing.JLayeredPane.paint(Compiled Code)
at java.awt.swing.JComponent.paintChildren(Compiled Code)
at java.awt.swing.JComponent.paint(Compiled Code)
at java.awt.Container.paint(Compiled Code)
at sun.awt.windows.WComponentPeer.handleEvent(Compiled Code)
at java.awt.Component.dispatchEventImpl(Compiled Code)
at java.awt.Container.dispatchEventImpl(Compiled Code)
at java.awt.Window.dispatchEventImpl(Compiled Code)
at java.awt.EventQueue.dispatchEvent(Compiled Code)
at java.awt.EventDispatchThread.run(Compiled Code)
-----------------------
Happens on Win NT.
Steps to simulate the same,
1. Run SwingSet for JDK1.2beta4-G build.
2. Change the L&F to Windows by pressing Alt-1.
3. Click on Menus and toolbars tab.
4. Drag the toolbar out and leave the mouse. - Throws exceptions.
-- Exceptions 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 Cod
e)
at java.awt.Component.dispatchEventImpl(Compiled Code)
at java.awt.EventQueue.dispatchEvent(Compiled Code)
at java.awt.EventDispatchThread.run(Compiled Code)
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(Compiled Code)
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.paintChildren(Compiled Code)
at java.awt.swing.JComponent.paint(Compiled Code)
at java.awt.swing.JComponent.paintChildren(Compiled Code)
at java.awt.swing.JComponent.paint(Compiled Code)
at java.awt.swing.JComponent.paintChildren(Compiled Code)
at java.awt.swing.JComponent.paint(Compiled Code)
at java.awt.swing.JLayeredPane.paint(Compiled Code)
at java.awt.swing.JComponent.paintChildren(Compiled Code)
at java.awt.swing.JComponent.paint(Compiled Code)
at java.awt.Container.paint(Compiled Code)
at sun.awt.windows.WComponentPeer.handleEvent(Compiled Code)
at java.awt.Component.dispatchEventImpl(Compiled Code)
at java.awt.Container.dispatchEventImpl(Compiled Code)
at java.awt.Window.dispatchEventImpl(Compiled Code)
at java.awt.EventQueue.dispatchEvent(Compiled Code)
at java.awt.EventDispatchThread.run(Compiled Code)
-----------------------
- duplicates
-
JDK-4139746 SwingSet as Applet dialogs don't work in Window L&F with JDK-1.2beta4-F
-
- Closed
-