Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2004

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Bug in 5.1,Linux, GUIKit?

  • To: mathgroup at
  • Subject: [mg52793] Re: [mg52746] Bug in 5.1,Linux, GUIKit?
  • From: Jeff Adams <jeffa at>
  • Date: Mon, 13 Dec 2004 04:23:03 -0500 (EST)
  • References: <>
  • Sender: owner-wri-mathgroup at

At 04:22 AM 12/11/2004, Steven T. Hatton wrote:
>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
>      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


It is possible this is related to a problem with GUIKit in 5.1 running on 
some Linux/Unix platforms.
If no GUIRun or GUIRunModal examples work you may want to consider 
installing the patch
provided here:

Jeff Adams
Wolfram Research

  • Prev by Date: Re: Suse 9.2 + mathematica 5.0 problem
  • Next by Date: Re: multiple outputs from a function
  • Previous by thread: Bug in 5.1,Linux, GUIKit?
  • Next by thread: Re: Bug in 5.1,Linux, GUIKit?