[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: R: Best way to create interactive GUI apps with octave?
From: |
Michael Goffioul |
Subject: |
Re: R: Best way to create interactive GUI apps with octave? |
Date: |
Fri, 29 Oct 2010 07:49:07 +0100 |
On Thu, Oct 28, 2010 at 3:54 PM, schnumbl <address@hidden> wrote:
>
> Hi,
>
> I tried to run the callback example (with octave 3.2.4_gcc-4.4.0), but the
> line
>
> Octave.call(callBack, new Object[]{val}, new Object[] {});
>
> produces an error:
>
> Exception occured during event dispatching: java.lang.UnsatisfiedLink Error:
> ...
>
> What *.jar files do I have to include to compile the *.java files?
The error above usually means a failure to find/load a shared library.
> In Matlab it is possible to add an action listener to a java object like
> this:
>
> import javax.swing.*;
>
> jb = javax.swing.JButton;
> jbh = handle(jb,'CallbackProperties');
> set(jbh, 'ActionPerformedCallback',@myMatlabFile)
>
> Is there something similiar in octave for the java package?
No, this is currently not supported.
Michael.