help > RE: color of nodes and edges
Aug 19, 2019  04:08 PM | Edward Chou
RE: color of nodes and edges
Originally posted by Mingrui Xia:
Hi Heidi

Please right click the color square in the option panel to change color. 

Best,
Mingrui


Hi Mingrui,

I am encountering the same issue (I am trying to change the nodes to black). I tried to right click the color square but this I get the following error:

Error using matlab.ui.internal.dialog.WebColorChooser/show (line 72)
Java exception occurred:
com.mathworks.html.BrowserCreationException: com.mathworks.html.BrowserCreationException:
java.lang.NoClassDefFoundError: Could not initialize class com.teamdev.jxbrowser.chromium.BrowserContext
at
com.mathworks.mlwidgets.html.LightweightBrowserBuilder.buildBrowser(LightweightBrowserBuilder.java:87)
at
com.mathworks.mlwidgets.html.LightweightBrowserBuilder.buildDefaultBrowser(LightweightBrowserBuilder.java:52)
at
com.mathworks.mlwidgets.html.LightweightBrowserFactory.createLightweightBrowser(LightweightBrowserFactory.java:36)
Caused by: com.mathworks.html.BrowserCreationException: java.lang.NoClassDefFoundError: Could not
initialize class com.teamdev.jxbrowser.chromium.BrowserContext
at
com.mathworks.html.jxbrowser.chromium.LightweightChromiumBrowser.(LightweightChromiumBrowser.java:38)
at
com.mathworks.mlwidgets.html.LightweightBrowserBuilder.buildBrowser(LightweightBrowserBuilder.java:78)
... 2 more
Caused by: java.lang.NoClassDefFoundError: Could not initialize class
com.teamdev.jxbrowser.chromium.BrowserContext
at com.teamdev.jxbrowser.chromium.Browser.(Unknown Source)
at com.mathworks.html.jxbrowser.chromium.BrowserViewBuilder.buildBrowser(BrowserViewBuilder.java:77)
at com.mathworks.html.jxbrowser.chromium.BrowserViewBuilder.createBrowser(BrowserViewBuilder.java:32)
at
com.mathworks.html.jxbrowser.chromium.LightweightChromiumBrowser.(LightweightChromiumBrowser.java:36)
... 3 more

Error in uisetcolor_helper>showDialog (line 67)
ccDialog.show;
Error in uisetcolor_helper (line 12)
selectedColor = showDialog(ccDialog);
Error in uisetcolor (line 33)
selectedColor = uisetcolor_helper(varargin{:});
Error in BrainNet_Option>NodCS_pushbutton_ButtonDownFcn (line 2569)
c=uisetcolor('Select Color');
Error in gui_mainfcn (line 95)
feval(varargin{:});
Error in BrainNet_Option (line 54)
gui_mainfcn(gui_State, varargin{:});
Error in
matlab.graphics.internal.figfile.FigFile/read>@(hObject,eventdata)BrainNet_Option('NodCS_pushbutton_ButtonDownFcn',hObject,eventdata,guidata(hObject))
Error using uiwait (line 81)
Error while evaluating UIControl ButtonDownFcn.

I am using Matlab R2017b in Ubuntu Mate (Linux).

Any help would be appreciated, thanks.
Edward

Threaded View

TitleAuthorDate
Heidi Jacobs Jan 27, 2017
Mingrui Xia Jan 27, 2017
RE: color of nodes and edges
Edward Chou Aug 19, 2019
Mingrui Xia Sep 1, 2019
Edward Chou Sep 8, 2019
Edward Chou Sep 10, 2019