Bug in 5.1,Linux, GUIKit?
- To: mathgroup at smc.vnet.net
- Subject: [mg52746] Bug in 5.1,Linux, GUIKit?
- From: "Steven T. Hatton" <hattons at globalsymmetry.com>
- Date: Sat, 11 Dec 2004 05:22:20 -0500 (EST)
- Sender: owner-wri-mathgroup at wolfram.com
This is a session demonstrating the problem: Mathematica 5.1 for Linux Copyright 1988-2004 Wolfram Research, Inc. -- Motif graphics initialized -- In[1]:= Needs["GUIKit`"]; In[2]:= HelloWorld[]:=GUIRunModal[Widget["Panel",{Widget["Label",{"text" -> "Hello World!"}]}]] In[3]:= HelloWorld[] Java::argx: Method named runModalContent defined in class com.wolfram.guikit.GUIKitDriver was called with an incorrect number or type of arguments. The arguments, shown here in a list, were {<widget src='Panel'> , 1}. <group root='true'> <widget src='Label'> <group root='true'> <property name='text' value='Hello World!'/> </group> </widget> </group> </widget> GUIRunModal::nvalid: The GUI definition contains invalid content. Out[3]= $Failed It looks to me that Java is expecting a boolean where it is getting `1': public boolean runModalContent(java.lang.String,boolean); public boolean runModalContent(java.lang.String,int,boolean); public boolean runModalContent(java.lang.String,int,java.lang.String,boolean); -- "Philosophy is written in this grand book, The Universe. ... But the book cannot be understood unless one first learns to comprehend the language... in which it is written. It is written in the language of mathematics, ...; without which wanders about in a dark labyrinth." The Lion of Gaul
- Follow-Ups:
- Re: Bug in 5.1,Linux, GUIKit?
- From: Yasvir Tesiram <tesiramy@omrf.ouhsc.edu>
- Re: Bug in 5.1,Linux, GUIKit?
- From: Jeff Adams <jeffa@wolfram.com>
- Re: Bug in 5.1,Linux, GUIKit?