洋葱浓汤 发表于 2012-3-29 21:57

新手的一个问题

在使用Matlab是,不知为何出现循环的大串文字,如下,不知道是怎么回事,请各位大侠们指教,谢谢。
文字如下:java.lang.IllegalArgumentException: Invalid substring range
        at java.text.AttributedString$AttributedStringIterator.<init>(Unknown Source)
        at java.text.AttributedString.getIterator(Unknown Source)
        at javax.swing.text.Utilities.drawComposedText(Unknown Source)
        at javax.swing.text.PlainView.drawElement(Unknown Source)
        at javax.swing.text.PlainView.drawLine(Unknown Source)
        at com.mathworks.mde.cmdwin.CmdWinSyntaxUI$SyntaxPlainView.drawLine(CmdWinSyntaxUI.java:509)
        at javax.swing.text.PlainView.paint(Unknown Source)
        at javax.swing.plaf.basic.BasicTextUI$RootView.paint(Unknown Source)
        at javax.swing.plaf.basic.BasicTextUI.paintSafely(Unknown Source)
        at javax.swing.plaf.basic.BasicTextUI.paint(Unknown Source)
        at javax.swing.plaf.basic.BasicTextUI.update(Unknown Source)
        at javax.swing.JComponent.paintComponent(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.JViewport.paint(Unknown Source)
        at javax.swing.JComponent.paintChildren(Unknown Source)
        at javax.swing.JComponent.paint(Unknown Source)
        at javax.swing.JComponent._paintImmediately(Unknown Source)
        at javax.swing.JComponent.paintImmediately(Unknown Source)
        at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
        at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknown Source)
        at java.awt.event.InvocationEvent.dispatch(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)

仰望’那片天 发表于 2012-4-2 14:48

这个问题我也想知道。。

む伈随风飞る 发表于 2012-4-3 10:07

还没遇到过
页: [1]
查看完整版本: 新手的一个问题