Return-Path: Delivered-To: apmail-pivot-user-archive@www.apache.org Received: (qmail 59440 invoked from network); 8 Jan 2011 19:06:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 8 Jan 2011 19:06:15 -0000 Received: (qmail 89304 invoked by uid 500); 8 Jan 2011 19:06:15 -0000 Delivered-To: apmail-pivot-user-archive@pivot.apache.org Received: (qmail 89266 invoked by uid 500); 8 Jan 2011 19:06:15 -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 89257 invoked by uid 99); 8 Jan 2011 19:06:14 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 08 Jan 2011 19:06:14 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [212.27.42.1] (HELO smtp1-g21.free.fr) (212.27.42.1) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 08 Jan 2011 19:06:06 +0000 Received: from [192.168.1.4] (unknown [82.227.78.71]) by smtp1-g21.free.fr (Postfix) with ESMTP id 20BBA940049 for ; Sat, 8 Jan 2011 20:05:41 +0100 (CET) Message-ID: <4D28B584.606@free.fr> Date: Sat, 08 Jan 2011 20:05:40 +0100 From: anton dos santos User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13) Gecko/20101208 Lightning/1.0b2 Thunderbird/3.1.7 MIME-Version: 1.0 To: user@pivot.apache.org Subject: How to change skin Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi I need a calendar where only month and year can be selected. I choose to customize a regular Calendar with a simplified version of TerraCalendarSkin ( without the days table). But when I invoke setSkin() on it, I get an exception: java.lang.IllegalStateException: Skin is already installed. I also tried skin.install(), but then I still have the initial skin. Or should I do it differently, without skin? Regards Anton