Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2004
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*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 smc.vnet.net
  • Subject: [mg52809] Re: [mg52746] Bug in 5.1,Linux, GUIKit?
  • From: Yasvir Tesiram <tesiramy at omrf.ouhsc.edu>
  • Date: Mon, 13 Dec 2004 04:23:47 -0500 (EST)
  • References: <200412111022.FAA06528@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

G'day,
Just sent off an email to mathgroup on GUIKit and then found your message.
I've had some trouble getting the thing to even start. I think the fault
lies in the newer java bundle shipped with version 5.1. The old one from
5.0 seems to work fine.

Cheers
Yas


E: yat at omrf.ouhsc.edu


On Sat, 11 Dec 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
> 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
>


  • Prev by Date: Re: problem getting the area under a parmetric curve
  • Next by Date: Factor 2 error in Inverse Laplace Transform
  • Previous by thread: Re: Bug in 5.1,Linux, GUIKit?
  • Next by thread: Re: Bug in 5.1,Linux, GUIKit?