Cannot editing plots in Linux system with two monitors
조회 수: 8 (최근 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에서 Environment and Settings에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!