Cannot editing plots in Linux system with two monitors
3 ビュー (過去 30 日間)
古いコメントを表示
Hi, As the title says, I can not edit the plot in matlab, when I double click the plot to edit, the plot is killed with these error messages on the browser:
java.lang.IllegalArgumentException: adding a container to a container on a different GraphicsDevice
at java.awt.Component.checkGD(Unknown Source)
at java.awt.Container.checkGD(Unknown Source)
at java.awt.Container.checkGD(Unknown Source)
at java.awt.Container.checkGD(Unknown Source)
at java.awt.Container.checkGD(Unknown Source)
at java.awt.Container.checkGD(Unknown Source)
at java.awt.Container.checkGD(Unknown Source)
at java.awt.Container.addImpl(Unknown Source)
at java.awt.Container.add(Unknown Source)
at com.mathworks.mwswing.desk.DTMaximizedPane.add(DTMaximizedPane.java:50)
at com.mathworks.mwswing.desk.DTDocumentContainer.add(DTDocumentContainer.java:370)
at com.mathworks.mwswing.desk.DTGroupFrame.add(DTGroupFrame.java:198)
at com.mathworks.mwswing.desk.DTMultipleClientFrame.addClient(DTMultipleClientFrame.java:349)
at com.mathworks.mwswing.desk.Desktop.setClientShowing(Desktop.java:6144)
at com.mathworks.mwswing.desk.Desktop.setClientShowing(Desktop.java:5913)
at com.mathworks.mwswing.desk.Desktop.setClientDocked(Desktop.java:1527)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.mathworks.mwswing.desk.Desktop$DeferredFacadeProxy.invoke(Desktop.java:7234)
at $Proxy0.setClientDocked(Unknown Source)
at com.mathworks.mwswing.desk.Desktop.setClientDocked(Desktop.java:1434)
at com.mathworks.hg.peer.FigureClientProxy.setClientWindowStyle(FigureClientProxy.java:684)
at com.mathworks.hg.peer.FigureMediator.setClientWindowStyle(FigureMediator.java:305)
at com.mathworks.hg.peer.FigurePeer.doSetWindowStyle(FigurePeer.java:2648)
at com.mathworks.hg.peer.FigurePeer$3.run(FigurePeer.java:914)
at com.mathworks.hg.util.HGPeerQueue$HGPeerRunnablesRunner.runit(HGPeerQueue.java:228)
at com.mathworks.hg.util.HGPeerQueue$HGPeerRunnablesRunner.runNotThese(HGPeerQueue.java:260)
at com.mathworks.hg.util.HGPeerQueue$HGPeerRunnablesRunner.run(HGPeerQueue.java:276)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(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)|*
Does anyone have a solution? Thanks a lot
3 件のコメント
Daniel Shub
2011 年 11 月 25 日
What Linux distribution (e.g., Ubunutu and Fedora) are you using? What desktop environment are you using (e.g., Gnome and KDE)? What version of Java are you using?
You may want to post this the answers to these questions in your new thread. The problem, at this point, has nothing to do with dual monitors.
回答 (1 件)
Soner Ulun
2012 年 12 月 26 日
If you docked the figures to the figures to the desktop of matlab it might have created the issue, at least it did it for me.
You might use "set(0,'DefaultFigureWindowStyle','normal')" to set it back right.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Graphics Performance についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!