Return-Path: X-Original-To: apmail-pivot-user-archive@www.apache.org Delivered-To: apmail-pivot-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DAC5B2799 for ; Tue, 3 May 2011 13:55:24 +0000 (UTC) Received: (qmail 33733 invoked by uid 500); 3 May 2011 13:55:24 -0000 Delivered-To: apmail-pivot-user-archive@pivot.apache.org Received: (qmail 33714 invoked by uid 500); 3 May 2011 13:55:24 -0000 Mailing-List: contact user-help@pivot.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@pivot.apache.org Delivered-To: mailing list user@pivot.apache.org Received: (qmail 33706 invoked by uid 99); 3 May 2011 13:55:24 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 May 2011 13:55:24 +0000 X-ASF-Spam-Status: No, hits=2.3 required=5.0 tests=SPF_SOFTFAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: softfail (nike.apache.org: transitioning domain of mdrioux@lakeheadu.ca does not designate 216.139.236.26 as permitted sender) Received: from [216.139.236.26] (HELO sam.nabble.com) (216.139.236.26) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 May 2011 13:55:18 +0000 Received: from ben.nabble.com ([192.168.236.152]) by sam.nabble.com with esmtp (Exim 4.69) (envelope-from ) id 1QHG41-0006JR-CY for user@pivot.apache.org; Tue, 03 May 2011 06:54:57 -0700 Date: Tue, 3 May 2011 06:54:57 -0700 (PDT) From: noobmike To: user@pivot.apache.org Message-ID: <1304430897373-2894336.post@n3.nabble.com> Subject: Application class name is required. MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hello all, I am extremely new to Apache Pivot(1 day), and have a decent base with Java(5,6 years). I am currently working through the tutorials on the pivot site, and have two major problems. The first being with the HelloWorld example, well really any example. I can get it to work as an application, but not in the browser. I understand that I need to use the tags, and understand all of the code just fine, but I'm not sure of what type of file to save it as (HTML?) or where to put it or how to load it. The second is with the Push Button example. I can get buttons to work(with out event handlers) simply by using the tag and loading the BXML file with : window = (Window)bxmlSerializer.readObject(HelloBXML.class, "hello.bxml"); but when I use the code provided from the website : public class PushButtons extends Window implements Bindable { private PushButton pushButton; @Override public void initialize(Map<String, Object> namespace, URL location, Resources resources) { pushButton = (PushButton)namespace.get("pushButton"); pushButton.getButtonPressListeners().add(new ButtonPressListener() { @Override public void buttonPressed(Button button) { Alert.alert(MessageType.INFO, "You clicked me!", PushButtons.this); } }); } } I don't understand how the BXML file is loaded and I get the error : Application class name is required. Any and all help would be greatly appreciated. I have been scouring the Internet and cant find any help. Many Thanks! Mike. -- View this message in context: http://apache-pivot-users.399431.n3.nabble.com/Application-class-name-is-required-tp2894336p2894336.html Sent from the Apache Pivot - Users mailing list archive at Nabble.com.