[Scilab-users] Java exception error
VTX1801
sl1800 at rochester.rr.com
Wed Jul 31 18:25:22 CEST 2019
Hello,
Submitted the following to bugzilla.scilab.org.
It was suggested I post to this mailing list.
Thanks in advance for effort to resolve this issue.
Ted
BUG DESCRIPTION:
Tried several methods to print the entire GUI window.
Get the following error in the console window:
printfigure: A Java exception arisen:
Exception when calling Java method :
org.scilab.modules.gui.bridge.tab.SwingScilabStaticPanel cannot be cast to
org.scilab.modules.gui.bridge.tab.SwingScilabDockablePanel
at org.scilab.modules.gui.bridge.CallScilabBridge.printFigure(Unknown
Source)
ERROR LOG:
----------
HOW TO REPRODUCE THE BUG:
Create a GUI window and add a push button to print GUI window from the
callback function.
OTHER INFORMATION:
Tried several methods to print with the following code samples:
function pb_print_callback(handles)
//Write your callback for pb_print here
//This function opens a dialog to select a printer, printing options... and
then prints the figure.
printfigure(get(gcf(), "figure_id"));
//scf(0); // Make graphic window 0 the current figure
//gcf() // Return the graphic handle of the current figure
//Print command.
//toprint(0,"pos");
------------------
--
Sent from: http://mailinglists.scilab.org/Scilab-users-Mailing-Lists-Archives-f2602246.html
More information about the users
mailing list