Open qiemem opened 9 years ago
@stevebhall reports that, with the 6.0.2 version:
The xw ‘buttons', which use to have, by default, this beautiful gray shading on them, now appear solid white. And I can’t seem to set them to any other color even when I explicitly ‘set’ the color. (my other xw widgets seem to be colored fine).
He doesn't confirm being on OS X, but I think that's the only platform where buttons have a "beautiful gray shading", so I'm just going to assume. :-) I also suspect that the change from "no color" to "no shading at all" might be a consequence of the switch to the Glass L&F in NetLogo 6.x (https://github.com/NetLogo/NetLogo/pull/1034).
It seems possible that calling setBorderPainted(false)
could help. The problem for me, as always, is that I don't have a Mac handy to try it on, so I'll need testers when I get around to it.
Yes Nicola I am describing an issue that occurs on OS X. I'm happy to test out on possible fix and report back here with the results. (Btw, with my model, the xw buttons 'do' display gray on my Windows machine.)
It's a shot in the dark, but I'm trying setBorderPainted(false)
in 77e9c5afab30490abba190f9006e47a46ea37565. I uploaded a release if anyone (@stevebhall, @qiemem) want to give it a spin:
https://github.com/CRESS-Surrey/eXtraWidgets/releases/tag/v2.0.0-BETA3
Nicolas,
The attempted fix did not rectify the problem.
In fact what it does is simply eliminate the simple border around the buttons.
Below is a screen shot example of how the new xw displays. The three buttons on the right have a simple border around them in the old version but now they all have the text.
Steve
[cid:21ED3112-FA4D-41F6-BCC6-A5E843082BB7@ern.nps.edu]
On Dec 17, 2017, at 10:05 AM, Nicolas Payette notifications@github.com<mailto:notifications@github.com> wrote:
It's a shot in the dark, but I'm trying setBorderPainted(false) in 77e9c5ahttps://github.com/CRESS-Surrey/eXtraWidgets/commit/77e9c5afab30490abba190f9006e47a46ea37565. I uploaded a release if anyone (@stevebhallhttps://github.com/stevebhall, @qiememhttps://github.com/qiemem) want to give it a spin:
https://github.com/CRESS-Surrey/eXtraWidgets/releases/tag/v2.0.0-BETA3
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/CRESS-Surrey/eXtraWidgets/issues/144#issuecomment-352273949, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ABn8us3uFVMSo0GFzWrH_0-5H3D2wFyfks5tBVfsgaJpZM4DfG-o.
Steven B. Hall, Ph.D. Research Professor Watkins Hall, Rm 266, 700 Dyer Rd. MOVES Institute Naval Postgraduate School Monterey, CA 93943
sbhall@nps.edumailto:sbhall@nps.edu 831-656-1073
Hi Nicholas,
I’m returning to work on the application I was working on at the end of last year which used your eXtraWidgets.
We got it working fine in NetLogo 6.0.2 but it’s having problems with the current 6.0.4 release.
Below you’ll find a copy of the error messaging I’m getting.
I’m wondering/hoping there’s some magic you can do to make it work again.
Steve
Steven B. Hall, Ph.D. Research Professor Watkins Hall, Rm 266, 700 Dyer Rd. MOVES Institute Naval Postgraduate School Monterey, CA 93943
sbhall@nps.edumailto:sbhall@nps.edu 831-656-1073
NetLogo is unable to supply you with more details about this error. Please report the problem at https://github.com/NetLogo/NetLogo/issues, or to bugs@ccl.northwestern.edu, and paste the contents of this window into your report.
java.lang.NoSuchMethodError: org.nlogo.swing.Utils.createWidgetBorder()Ljavax/swing/border/Border;
at uk.ac.surrey.xw.api.JComponentWidget.$init$(JComponentWidget.scala:23)
at uk.ac.surrey.xw.multichooser.MultiChooser.
NetLogo 6.0.4 main: org.nlogo.app.AppFrame thread: AWT-EventQueue-0 Java HotSpot(TM) 64-Bit Server VM 1.8.0_152 (Oracle Corporation; 1.8.0_152-b16) operating system: Mac OS X 10.13.5 (x86_64 processor) Scala version 2.12.4 JOGL: (3D View not initialized) OpenGL Graphics: (3D View not initialized) model: WRENCH_2.3.0
10:30:08.371 RemoveJobEvent (org.nlogo.window.MonitorWidget) AWT-EventQueue-0 10:30:08.371 RuntimeErrorEvent (org.nlogo.app.App$$anon$1 (org.nlogo.window.GUIWorkspace)) AWT-EventQueue-0 10:30:08.371 InterfaceGlobalEvent (org.nlogo.widget.SwitchWidget) AWT-EventQueue-0 10:30:08.370 InterfaceGlobalEvent (org.nlogo.widget.SwitchWidget) AWT-EventQueue-0 10:30:08.370 InterfaceGlobalEvent (org.nlogo.widget.SwitchWidget) AWT-EventQueue-0 10:30:08.370 InterfaceGlobalEvent (org.nlogo.app.interfacetab.InterfacePanel$$anon$1 (org.nlogo.window.SliderWidget)) AWT-EventQueue-0 10:30:08.370 InterfaceGlobalEvent (org.nlogo.window.ChooserWidget) AWT-EventQueue-0 10:30:08.369 InterfaceGlobalEvent (org.nlogo.app.interfacetab.InterfacePanel$$anon$1 (org.nlogo.window.SliderWidget)) AWT-EventQueue-0 10:30:08.369 InterfaceGlobalEvent (org.nlogo.window.ChooserWidget) AWT-EventQueue-0 10:30:08.369 InterfaceGlobalEvent (org.nlogo.widget.SwitchWidget) AWT-EventQueue-0
Hi Steve! Glad to learn that you are back at it! I'll try to take a look at the error shortly.
When you say:
We got it working fine in NetLogo 6.0.2
Did you mean that you somehow got the button styling to work, or just that xw
was working OK in general?
Hi Nicholas,
The current 6.0.2 version generates simple button borders.
I’ve enclosed a snapshot of one of the panels where the xw widgets are doing their magic. It nicely stores and recovers its data and can be reconfigured to support more or fewer user specified ‘rule’s. Works great!
I didn’t get the buttons to fill in with color but the outlining does the basic job. As far as I can remember its only the button fill option I had trouble with.
Steve
[cid:5F184B97-7BE5-4C1C-B181-40157E2D38F6]
Steven B. Hall, Ph.D. Research Professor Watkins Hall, Rm 266, 700 Dyer Rd. MOVES Institute Naval Postgraduate School Monterey, CA 93943
sbhall@nps.edumailto:sbhall@nps.edu 831-656-1073
On Sep 13, 2018, at 1:41 AM, Nicolas Payette notifications@github.com<mailto:notifications@github.com> wrote:
Hi Steve! Glad to learn that you are back at it! I'll try to take a look at the error shortly.
When you say:
We got it working fine in NetLogo 6.0.2
Did you mean that you somehow got the button styling to work, or just that xw was working OK in general?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/CRESS-Surrey/eXtraWidgets/issues/144#issuecomment-420930122, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ABn8ut__j5yIMWNnAAEEfOiQ4oGuG_kMks5uahocgaJpZM4DfG-o.
Hi Nicolas,
A while back we exchanged emails regarding whether we (/you) could get xw working on again on NetLogo 6.0.4.
I wonder if you’ve had a chance to look at it and if so what the prognosis is?
Respectfully,
Steve
Steven B. Hall, Ph.D. Research Professor Root Hall, Rm 201A, 589 Dyer Rd. Department of Defense Analysis Naval Postgraduate School Monterey, CA 93943
sbhall@nps.edumailto:sbhall@nps.edu 831-656-2250
NetLogo is unable to supply you with more details about this error. Please report the problem at https://github.com/NetLogo/NetLogo/issues, or to bugs@ccl.northwestern.edumailto:bugs@ccl.northwestern.edu, and paste the contents of this window into your report.
java.lang.NoSuchMethodError: org.nlogo.swing.Utils.createWidgetBorder()Ljavax/swing/border/Border;
at uk.ac.surrey.xw.api.JComponentWidget.$init$(JComponentWidget.scala:23)
at uk.ac.surrey.xw.chooser.Chooser.
NetLogo 6.0.4 main: org.nlogo.app.AppFrame thread: AWT-EventQueue-0 Java HotSpot(TM) 64-Bit Server VM 1.8.0_152 (Oracle Corporation; 1.8.0_152-b16) operating system: Mac OS X 10.14 (x86_64 processor) Scala version 2.12.4 JOGL: (3D View not initialized) OpenGL Graphics: (3D View not initialized) model: WRENCH_2.3.1
11:24:53.863 InterfaceGlobalEvent (org.nlogo.widget.SwitchWidget) AWT-EventQueue-0 11:24:53.863 InterfaceGlobalEvent (org.nlogo.widget.SwitchWidget) AWT-EventQueue-0 11:24:53.863 InterfaceGlobalEvent (org.nlogo.widget.SwitchWidget) AWT-EventQueue-0 11:24:53.862 InterfaceGlobalEvent (org.nlogo.app.interfacetab.InterfacePanel$$anon$1 (org.nlogo.window.SliderWidget)) AWT-EventQueue-0 11:24:53.862 InterfaceGlobalEvent (org.nlogo.window.ChooserWidget) AWT-EventQueue-0 11:24:53.862 InterfaceGlobalEvent (org.nlogo.app.interfacetab.InterfacePanel$$anon$1 (org.nlogo.window.SliderWidget)) AWT-EventQueue-0 11:24:53.862 InterfaceGlobalEvent (org.nlogo.window.ChooserWidget) AWT-EventQueue-0 11:24:53.862 AddJobEvent (org.nlogo.window.MonitorWidget) AWT-EventQueue-0 11:24:53.862 InterfaceGlobalEvent (org.nlogo.widget.SwitchWidget) AWT-EventQueue-0 11:24:53.862 InterfaceGlobalEvent (org.nlogo.widget.SwitchWidget) AWT-EventQueue-0
On Sep 13, 2018, at 10:57 AM, Hall, Steven (CIV) sbhall@nps.edu<mailto:sbhall@nps.edu> wrote:
Hi Nicholas,
The current 6.0.2 version generates simple button borders.
I’ve enclosed a snapshot of one of the panels where the xw widgets are doing their magic. It nicely stores and recovers its data and can be reconfigured to support more or fewer user specified ‘rule’s. Works great!
I didn’t get the buttons to fill in with color but the outlining does the basic job. As far as I can remember its only the button fill option I had trouble with.
Steve
<Screenshot 2018-09-13 10.33.56.png>
Steven B. Hall, Ph.D. Research Professor Watkins Hall, Rm 266, 700 Dyer Rd. MOVES Institute Naval Postgraduate School Monterey, CA 93943
sbhall@nps.edumailto:sbhall@nps.edu 831-656-1073
On Sep 13, 2018, at 1:41 AM, Nicolas Payette notifications@github.com<mailto:notifications@github.com> wrote:
Hi Steve! Glad to learn that you are back at it! I'll try to take a look at the error shortly.
When you say:
We got it working fine in NetLogo 6.0.2
Did you mean that you somehow got the button styling to work, or just that xw was working OK in general?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/CRESS-Surrey/eXtraWidgets/issues/144#issuecomment-420930122, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ABn8ut__j5yIMWNnAAEEfOiQ4oGuG_kMks5uahocgaJpZM4DfG-o.
Hey Steve, sorry for not following up earlier; the past month has been quite eventful for me. I might have time to take a look early next week though.
-- Nicolas (mobile)
On Tue, 23 Oct 2018, 20:30 Steve Hall, notifications@github.com wrote:
Hi Nicolas,
A while back we exchanged emails regarding whether we (/you) could get xw working on again on NetLogo 6.0.4.
I wonder if you’ve had a chance to look at it and if so what the prognosis is?
Respectfully,
Steve
Steven B. Hall, Ph.D. Research Professor Root Hall, Rm 201A, 589 Dyer Rd. Department of Defense Analysis Naval Postgraduate School Monterey, CA 93943
sbhall@nps.edumailto:sbhall@nps.edu 831-656-2250
NetLogo is unable to supply you with more details about this error. Please report the problem at https://github.com/NetLogo/NetLogo/issues, or to bugs@ccl.northwestern.edumailto:bugs@ccl.northwestern.edu, and paste the contents of this window into your report.
java.lang.NoSuchMethodError: org.nlogo.swing.Utils.createWidgetBorder()Ljavax/swing/border/Border; at uk.ac.surrey.xw.api.JComponentWidget.$init$(JComponentWidget.scala:23) at uk.ac.surrey.xw.chooser.Chooser.
(Chooser.scala:53) at uk.ac.surrey.xw.chooser.ChooserKind.$anonfun$newWidget$1(Chooser.scala:24) at uk.ac.surrey.xw.gui.GUI.$anonfun$addWidget$3(GUI.scala:69) at uk.ac.surrey.xw.gui.GUI.$anonfun$addWidget$3$adapted(GUI.scala:67) at scala.util.Either$RightProjection.foreach(Either.scala:653) at uk.ac.surrey.xw.gui.GUI.$anonfun$addWidget$2(GUI.scala:67) at uk.ac.surrey.xw.gui.GUI.$anonfun$addWidget$2$adapted(GUI.scala:65) at scala.util.Either$RightProjection.foreach(Either.scala:653) at uk.ac.surrey.xw.gui.GUI.addWidget(GUI.scala:65) at uk.ac.surrey.xw.gui.GUI.$anonfun$notify$1(GUI.scala:47) at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:12) at uk.ac.surrey.xw.api.package$$anon$1.run(package.scala:33) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756) at java.awt.EventQueue.access$500(EventQueue.java:97) at java.awt.EventQueue$3.run(EventQueue.java:709) at java.awt.EventQueue$3.run(EventQueue.java:703) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80) at java.awt.EventQueue.dispatchEvent(EventQueue.java:726) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
NetLogo 6.0.4 main: org.nlogo.app.AppFrame thread: AWT-EventQueue-0 Java HotSpot(TM) 64-Bit Server VM 1.8.0_152 (Oracle Corporation; 1.8.0_152-b16) operating system: Mac OS X 10.14 (x86_64 processor) Scala version 2.12.4 JOGL: (3D View not initialized) OpenGL Graphics: (3D View not initialized) model: WRENCH_2.3.1
11:24:53.863 InterfaceGlobalEvent (org.nlogo.widget.SwitchWidget) AWT-EventQueue-0 11:24:53.863 InterfaceGlobalEvent (org.nlogo.widget.SwitchWidget) AWT-EventQueue-0 11:24:53.863 InterfaceGlobalEvent (org.nlogo.widget.SwitchWidget) AWT-EventQueue-0 11:24:53.862 InterfaceGlobalEvent (org.nlogo.app.interfacetab.InterfacePanel$$anon$1 (org.nlogo.window.SliderWidget)) AWT-EventQueue-0 11:24:53.862 InterfaceGlobalEvent (org.nlogo.window.ChooserWidget) AWT-EventQueue-0 11:24:53.862 InterfaceGlobalEvent (org.nlogo.app.interfacetab.InterfacePanel$$anon$1 (org.nlogo.window.SliderWidget)) AWT-EventQueue-0 11:24:53.862 InterfaceGlobalEvent (org.nlogo.window.ChooserWidget) AWT-EventQueue-0 11:24:53.862 AddJobEvent (org.nlogo.window.MonitorWidget) AWT-EventQueue-0 11:24:53.862 InterfaceGlobalEvent (org.nlogo.widget.SwitchWidget) AWT-EventQueue-0 11:24:53.862 InterfaceGlobalEvent (org.nlogo.widget.SwitchWidget) AWT-EventQueue-0
On Sep 13, 2018, at 10:57 AM, Hall, Steven (CIV) <sbhall@nps.edu<mailto: sbhall@nps.edu>> wrote:
Hi Nicholas,
The current 6.0.2 version generates simple button borders.
I’ve enclosed a snapshot of one of the panels where the xw widgets are doing their magic. It nicely stores and recovers its data and can be reconfigured to support more or fewer user specified ‘rule’s. Works great!
I didn’t get the buttons to fill in with color but the outlining does the basic job. As far as I can remember its only the button fill option I had trouble with.
Steve
<Screenshot 2018-09-13 10.33.56.png>
Steven B. Hall, Ph.D. Research Professor Watkins Hall, Rm 266, 700 Dyer Rd. MOVES Institute Naval Postgraduate School Monterey, CA 93943
sbhall@nps.edumailto:sbhall@nps.edu 831-656-1073
On Sep 13, 2018, at 1:41 AM, Nicolas Payette <notifications@github.com mailto:notifications@github.com> wrote:
Hi Steve! Glad to learn that you are back at it! I'll try to take a look at the error shortly.
When you say:
We got it working fine in NetLogo 6.0.2
Did you mean that you somehow got the button styling to work, or just that xw was working OK in general?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub< https://github.com/CRESS-Surrey/eXtraWidgets/issues/144#issuecomment-420930122>, or mute the thread< https://github.com/notifications/unsubscribe-auth/ABn8ut__j5yIMWNnAAEEfOiQ4oGuG_kMks5uahocgaJpZM4DfG-o>.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/CRESS-Surrey/eXtraWidgets/issues/144#issuecomment-432365441, or mute the thread https://github.com/notifications/unsubscribe-auth/AA3d0iStebJjW9VlhWj51CpZUDl35VRWks5un2AwgaJpZM4DfG-o .
Great.
Don’t hesitate if you need help testing.
Sent from my iPad
On Oct 24, 2018, at 3:49 AM, Nicolas Payette notifications@github.com<mailto:notifications@github.com> wrote:
Hey Steve, sorry for not following up earlier; the past month has been quite eventful for me. I might have time to take a look early next week though.
-- Nicolas (mobile)
On Tue, 23 Oct 2018, 20:30 Steve Hall, notifications@github.com<mailto:notifications@github.com> wrote:
Hi Nicolas,
A while back we exchanged emails regarding whether we (/you) could get xw working on again on NetLogo 6.0.4.
I wonder if you’ve had a chance to look at it and if so what the prognosis is?
Respectfully,
Steve
Steven B. Hall, Ph.D. Research Professor Root Hall, Rm 201A, 589 Dyer Rd. Department of Defense Analysis Naval Postgraduate School Monterey, CA 93943
sbhall@nps.edumailto:sbhall@nps.edumailto:sbhall@nps.edu 831-656-2250
NetLogo is unable to supply you with more details about this error. Please report the problem at https://github.com/NetLogo/NetLogo/issues, or to bugs@ccl.northwestern.edumailto:bugs@ccl.northwestern.edumailto:bugs@ccl.northwestern.edu, and paste the contents of this window into your report.
java.lang.NoSuchMethodError: org.nlogo.swing.Utils.createWidgetBorder()Ljavax/swing/border/Border; at uk.ac.surrey.xw.api.JComponentWidget.$init$(JComponentWidget.scala:23) at uk.ac.surrey.xw.chooser.Chooser.
(Chooser.scala:53) at uk.ac.surrey.xw.chooser.ChooserKind.$anonfun$newWidget$1(Chooser.scala:24) at uk.ac.surrey.xw.gui.GUI.$anonfun$addWidget$3(GUI.scala:69) at uk.ac.surrey.xw.gui.GUI.$anonfun$addWidget$3$adapted(GUI.scala:67) at scala.util.Either$RightProjection.foreach(Either.scala:653) at uk.ac.surrey.xw.gui.GUI.$anonfun$addWidget$2(GUI.scala:67) at uk.ac.surrey.xw.gui.GUI.$anonfun$addWidget$2$adapted(GUI.scala:65) at scala.util.Either$RightProjection.foreach(Either.scala:653) at uk.ac.surrey.xw.gui.GUI.addWidget(GUI.scala:65) at uk.ac.surrey.xw.gui.GUI.$anonfun$notify$1(GUI.scala:47) at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:12) at uk.ac.surrey.xw.api.package$$anon$1.run(package.scala:33) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756) at java.awt.EventQueue.access$500(EventQueue.java:97) at java.awt.EventQueue$3.run(EventQueue.java:709) at java.awt.EventQueue$3.run(EventQueue.java:703) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80) at java.awt.EventQueue.dispatchEvent(EventQueue.java:726) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
NetLogo 6.0.4 main: org.nlogo.app.AppFrame thread: AWT-EventQueue-0 Java HotSpot(TM) 64-Bit Server VM 1.8.0_152 (Oracle Corporation; 1.8.0_152-b16) operating system: Mac OS X 10.14 (x86_64 processor) Scala version 2.12.4 JOGL: (3D View not initialized) OpenGL Graphics: (3D View not initialized) model: WRENCH_2.3.1
11:24:53.863 InterfaceGlobalEvent (org.nlogo.widget.SwitchWidget) AWT-EventQueue-0 11:24:53.863 InterfaceGlobalEvent (org.nlogo.widget.SwitchWidget) AWT-EventQueue-0 11:24:53.863 InterfaceGlobalEvent (org.nlogo.widget.SwitchWidget) AWT-EventQueue-0 11:24:53.862 InterfaceGlobalEvent (org.nlogo.app.interfacetab.InterfacePanel$$anon$1 (org.nlogo.window.SliderWidget)) AWT-EventQueue-0 11:24:53.862 InterfaceGlobalEvent (org.nlogo.window.ChooserWidget) AWT-EventQueue-0 11:24:53.862 InterfaceGlobalEvent (org.nlogo.app.interfacetab.InterfacePanel$$anon$1 (org.nlogo.window.SliderWidget)) AWT-EventQueue-0 11:24:53.862 InterfaceGlobalEvent (org.nlogo.window.ChooserWidget) AWT-EventQueue-0 11:24:53.862 AddJobEvent (org.nlogo.window.MonitorWidget) AWT-EventQueue-0 11:24:53.862 InterfaceGlobalEvent (org.nlogo.widget.SwitchWidget) AWT-EventQueue-0 11:24:53.862 InterfaceGlobalEvent (org.nlogo.widget.SwitchWidget) AWT-EventQueue-0
On Sep 13, 2018, at 10:57 AM, Hall, Steven (CIV) sbhall@nps.edu<mailto:sbhall@nps.edu<mailto: sbhall@nps.edumailto:sbhall@nps.edu>> wrote:
Hi Nicholas,
The current 6.0.2 version generates simple button borders.
I’ve enclosed a snapshot of one of the panels where the xw widgets are doing their magic. It nicely stores and recovers its data and can be reconfigured to support more or fewer user specified ‘rule’s. Works great!
I didn’t get the buttons to fill in with color but the outlining does the basic job. As far as I can remember its only the button fill option I had trouble with.
Steve
<Screenshot 2018-09-13 10.33.56.png>
Steven B. Hall, Ph.D. Research Professor Watkins Hall, Rm 266, 700 Dyer Rd. MOVES Institute Naval Postgraduate School Monterey, CA 93943
sbhall@nps.edumailto:sbhall@nps.edumailto:sbhall@nps.edu 831-656-1073
On Sep 13, 2018, at 1:41 AM, Nicolas Payette notifications@github.com<mailto:notifications@github.com mailto:notifications@github.com> wrote:
Hi Steve! Glad to learn that you are back at it! I'll try to take a look at the error shortly.
When you say:
We got it working fine in NetLogo 6.0.2
Did you mean that you somehow got the button styling to work, or just that xw was working OK in general?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub< https://github.com/CRESS-Surrey/eXtraWidgets/issues/144#issuecomment-420930122>, or mute the thread< https://github.com/notifications/unsubscribe-auth/ABn8ut__j5yIMWNnAAEEfOiQ4oGuG_kMks5uahocgaJpZM4DfG-o>.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/CRESS-Surrey/eXtraWidgets/issues/144#issuecomment-432365441, or mute the thread https://github.com/notifications/unsubscribe-auth/AA3d0iStebJjW9VlhWj51CpZUDl35VRWks5un2AwgaJpZM4DfG-o .
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/CRESS-Surrey/eXtraWidgets/issues/144#issuecomment-432608321, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ABn8uqMDeKwbxSX-CIMRKJSyX4_G7pT8ks5uoEWngaJpZM4DfG-o.
@stevebhall, I have pushed a new release that should solve the java.lang.NoSuchMethodError
exception:
https://github.com/CRESS-Surrey/eXtraWidgets/releases/tag/2.0.0-BETA4
Let me know if it does the trick for you.
Thanks Nick … will do.
From: Nicolas Payette [mailto:notifications@github.com] Sent: Monday, October 29, 2018 5:29 AM To: CRESS-Surrey/eXtraWidgets Cc: Hall, Steven (CIV); Mention Subject: Re: [CRESS-Surrey/eXtraWidgets] Button styling doesn't work on OS X (#144)
@stevebhall https://github.com/stevebhall , I have pushed a new release that should solve the java.lang.NoSuchMethodError exception:
https://github.com/CRESS-Surrey/eXtraWidgets/releases/tag/2.0.0-BETA4
Let me know if it does the trick for you.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/CRESS-Surrey/eXtraWidgets/issues/144#issuecomment-433891707 , or mute the thread https://github.com/notifications/unsubscribe-auth/ABn8umJLtPPj4gGRSzhPt6pFLb9BDxhRks5upvR1gaJpZM4DfG-o . https://github.com/notifications/beacon/ABn8un7g7aEVPBzE_dUftqjcg659SvZ2ks5upvR1gaJpZM4DfG-o.gif
Hi Nick,
My mac is in the shop for the moment but I tried it on a Windows machine and its looks/works great!
[Will let you know if the Mac outcome is any different.]
Thanks!
Steve
From: Nicolas Payette [mailto:notifications@github.com] Sent: Monday, October 29, 2018 5:29 AM To: CRESS-Surrey/eXtraWidgets Cc: Hall, Steven (CIV); Mention Subject: Re: [CRESS-Surrey/eXtraWidgets] Button styling doesn't work on OS X (#144)
@stevebhall https://github.com/stevebhall , I have pushed a new release that should solve the java.lang.NoSuchMethodError exception:
https://github.com/CRESS-Surrey/eXtraWidgets/releases/tag/2.0.0-BETA4
Let me know if it does the trick for you.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/CRESS-Surrey/eXtraWidgets/issues/144#issuecomment-433891707 , or mute the thread https://github.com/notifications/unsubscribe-auth/ABn8umJLtPPj4gGRSzhPt6pFLb9BDxhRks5upvR1gaJpZM4DfG-o . https://github.com/notifications/beacon/ABn8un7g7aEVPBzE_dUftqjcg659SvZ2ks5upvR1gaJpZM4DfG-o.gif
Hi Nicholas,
I tried the new XW on my Mac this evening and unfortunately the results are not as pretty as they are on the PC/WIndows.
NetLogo now does load all the XW windows but the ‘buttons’ are neither outlined or filled in … as they are on the PC.
See image below: Notice the ‘buttons’ under the ‘User Specification of …’ label.
The first time I loaded the program I got some sort of error and then couldn’t get the buttons to function at all … but I can’t reproduce that error, so maybe that’s unrelated.
It seems we encountered this lack of outlining problem before (and solved it) but I don’t remember exactly what it was except that it seemed sort of counter-intuitive.
Steve
On Oct 29, 2018, at 5:28 AM, Nicolas Payette notifications@github.com wrote:
@stevebhall https://github.com/stevebhall, I have pushed a new release that should solve the java.lang.NoSuchMethodError exception:
https://github.com/CRESS-Surrey/eXtraWidgets/releases/tag/2.0.0-BETA4 https://github.com/CRESS-Surrey/eXtraWidgets/releases/tag/2.0.0-BETA4 Let me know if it does the trick for you.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/CRESS-Surrey/eXtraWidgets/issues/144#issuecomment-433891707, or mute the thread https://github.com/notifications/unsubscribe-auth/ABn8umJLtPPj4gGRSzhPt6pFLb9BDxhRks5upvR1gaJpZM4DfG-o.
See image below: Notice the ‘buttons’ under the ‘User Specification of …’ label.
I see no image. It could be because you're sending it through email instead of using the GitHub web interface. Do you think you could log in to GitHub and post it here directly? I wouldn't mind also seeing an image where the button outline was working if you still have one around.
I'd really like to get this fixed but my problem, as ever, is that I don't have a Mac to test it on. As much I appreciate your help in testing, the turn around time makes this somewhat laborious.
I'm actually starting a new job tomorrow. It means that xw
won't be at the top of my priority list in the immediate future, but it could also mean that there might be a Mac lying around for me to test on. I'll keep you updated, in any case...
Hi Nicolas,
Here's what these buttons look like in the current Mac 6.04 version.
And best of fortunes with the new job! Steve
Buttons look like this no matter what:
xw:set-color
does not appear to have an effect.