[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: R: Best way to create interactive GUI apps with octave?
From: |
schnumbl |
Subject: |
Re: R: Best way to create interactive GUI apps with octave? |
Date: |
Mon, 1 Nov 2010 06:45:48 -0700 (PDT) |
Hi Michael,
I refer to the example from Martin Helm (see above, Apr 22, 2010; 07:37pm,
http://octave.1599824.n4.nabble.com/Best-way-to-create-interactive-GUI-apps-with-octave-td2019418.html).
Are you able to run his callback example (test_java.m, callback.m,
OctSlider.java, ExtensionFileFilter.java) ?
(I deleted the line "vtk_surf(rand(10));" in test_java.m because my octave
does not know the command.)
Maybe the problem is that the "OctSlider.java" needs something like
static {
System.loadLibrary("LibraryWithTheCallFunction");
}
??
The error message is:
==================================
Exception occurred during event dispatching:
java.lang.UnsatisfiedLinkError:
org.octave.Octave.call(Ljava/lang/String;[Ljava
/lang/Object;[Ljava/lang/Object;)Z
at org.octave.Octave.call(Native Method)
at OctSlider.stateChanged(OctSlider.java:24)
at javax.swing.JSlider.fireStateChanged(Unknown Source)
at javax.swing.JSlider$ModelListener.stateChanged(Unknown Source)
at javax.swing.DefaultBoundedRangeModel.fireStateChanged(Unknown Source)
at javax.swing.DefaultBoundedRangeModel.setRangeProperties(Unknown
Source)
at javax.swing.DefaultBoundedRangeModel.setValueIsAdjusting(Unknown
Source)
at javax.swing.JSlider.setValueIsAdjusting(Unknown Source)
at
javax.swing.plaf.basic.BasicSliderUI$TrackListener.mousePressed(Unknown
Sou
rce)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(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.pumpEventsForFilter(Unknown Source)
at java.awt.Dialog$1.run(Unknown Source)
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)
===============================================================
--
View this message in context:
http://octave.1599824.n4.nabble.com/Best-way-to-create-interactive-GUI-apps-with-octave-tp2019418p3022175.html
Sent from the Octave - General mailing list archive at Nabble.com.
- Re: R: Best way to create interactive GUI apps with octave?, schnumbl, 2010/11/01
- Re: R: Best way to create interactive GUI apps with octave?, Michael Goffioul, 2010/11/01
- Re: R: Best way to create interactive GUI apps with octave?,
schnumbl <=
- Re: R: Best way to create interactive GUI apps with octave?, Martin Helm, 2010/11/01
- Re: R: Best way to create interactive GUI apps with octave?, schnumbl, 2010/11/01
- Re: R: Best way to create interactive GUI apps with octave?, schnumbl, 2010/11/04
- Re: R: Best way to create interactive GUI apps with octave?, schnumbl, 2010/11/04
- Re: R: Best way to create interactive GUI apps with octave?, Martin Helm, 2010/11/07
- Re: R: Best way to create interactive GUI apps with octave?, schnumbl, 2010/11/19
- Re: R: Best way to create interactive GUI apps with octave?, Martin Helm, 2010/11/04
- Re: R: Best way to create interactive GUI apps with octave?, Martin Helm, 2010/11/07