Cannot editing plots in Linux system with two monitors
Mostra commenti meno recenti
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 Commenti
Daniel Shub
il 23 Nov 2011
Can you edit the plot if you disable/mirror the second monitor?
Chunling
il 25 Nov 2011
Daniel Shub
il 25 Nov 2011
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.
Risposte (1)
Soner Ulun
il 26 Dic 2012
0 voti
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.
Categorie
Scopri di più su Environment and Settings in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!