From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 48393 invoked by alias); 31 Oct 2018 09:31:43 -0000 Mailing-List: contact kawa-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: kawa-owner@sourceware.org Received: (qmail 46131 invoked by uid 89); 31 Oct 2018 09:31:28 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.7 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=gently, H*c:alternative, click, wish X-HELO: mail-it1-f169.google.com Received: from mail-it1-f169.google.com (HELO mail-it1-f169.google.com) (209.85.166.169) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 31 Oct 2018 09:31:22 +0000 Received: by mail-it1-f169.google.com with SMTP id i191-v6so17345348iti.5 for ; Wed, 31 Oct 2018 02:31:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=9DGNcUvisSwMTc8rQ7AmRrsF/1TXdzJVmFyQzYxZQ5M=; b=cHVYHB+7NaFRfYvEdoeM48AZLPvEToCugHiojue9yPfaTbotkN4smi6Pob+G+EOTvL lbcp2+ygWmxmlym1uzqEcDGKfTyuEy/GHPgLKBNGRvbtzcRkpW97zW2+RF5ZhCpQCBVn s5dhgSagW1sbtK+aIqbfO5ZSW/el1PdG3sISyX50cVJ9T7I48Ux2i7caeE4fm3iAxnqO TZWCuBuiiG9pyof3mjWAMSkAS4ovlwx2l4VymB6dWu4+FpB3iHL20BpyyNRB6BovXcNy VIO77QnFsWBDbLUafn2/7JK6d6Xs+HuehDY2Fi5phlbtv5HdjcrZ2OeAK6Xzu9mtpDni f6bA== MIME-Version: 1.0 From: Arie van Wingerden Date: Wed, 31 Oct 2018 09:31:00 -0000 Message-ID: Subject: JavaFX unexpected warning To: kawa@sourceware.org Content-Type: text/plain; charset="UTF-8" X-IsSubscribed: yes X-SW-Source: 2018-q4/txt/msg00015.txt.bz2 OK. I have the code below to gently tap into javaFX possibilities. What I wish to accomplish is change the button color when button is clicked. It does work, however, I get this unexpected warning: .\test.scm:14:29: warning - no known slot 'setStyle' in java.lang.Object Any ideas why? (require 'javafx-defs) (javafx-application) > (define rect (Rectangle x: 25 y: 40 width: 100 height: 50 fill: Color:RED)) > (define button (Button text: "Click Me Three" layout-x: 25 layout-y: 100 on-action: (lambda (e) (button:setStyle "-fx-background-color: > #ff0000")))) > (javafx-scene title: "Hello Animation" width: 600 height: 450 fill: Color:LIGHTGREEN rect button)