[Scilab-users] Java exception error

classic Classic list List threaded Threaded
1 message Options
VTX1801 VTX1801
Reply | Threaded
Open this post in threaded view
|

[Scilab-users] Java exception error

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
_______________________________________________
users mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/users