#11 phase plot breaks with multiple layouts

v1.1.3
open
nobody
5
2013-01-10
2006-10-31
No

creating a new phaseplot on a second layout causes crash.

Exception in thread "AWT-EventQueue-0"
java.lang.ArrayIndexOutOfBoundsException:
10
at
sonia.PhasePlot$PhasePlotPanel.paintComponent(PhasePlot.java:230)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown
Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown
Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JLayeredPane.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown
Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown
Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown
Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JLayeredPane.paint(Unknown Source)
at
javax.swing.JComponent.paintWithOffscreenBuffer(Unknown
Source)
at
javax.swing.JComponent.paintDoubleBuffered(Unknown Source)
at
javax.swing.JComponent._paintImmediately(Unknown Source)
at
javax.swing.JComponent.paintImmediately(Unknown Source)
at
javax.swing.JComponent.paintImmediately(Unknown Source)
at
javax.swing.DefaultDesktopManager.dragFrameFaster(Unknown
Source)
at
javax.swing.DefaultDesktopManager.dragFrame(Unknown Source)
at
javax.swing.plaf.basic.BasicInternalFrameUI$BorderListener.mouseDragg
ed(Unknown Source)
at
java.awt.Component.processMouseMotionEvent(Unknown Source)
at
javax.swing.JComponent.processMouseMotionEvent(Unknown
Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown
Source)
at java.awt.Container.dispatchEventImpl(Unknown
Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at
java.awt.LightweightDispatcher.retargetMouseEvent(Unknown
Source)
at
java.awt.LightweightDispatcher.processMouseEvent(Unknown
Source)
at
java.awt.LightweightDispatcher.dispatchEvent(Unknown
Source)
at java.awt.Container.dispatchEventImpl(Unknown
Source)
at java.awt.Window.dispatchEventImpl(Unknown
Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown
Source)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown
Source)

at
java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
Source)
at
java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at
java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)

Discussion