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 233577F33 for ; Sun, 24 Jul 2011 03:17:37 +0000 (UTC) Received: (qmail 26408 invoked by uid 500); 24 Jul 2011 03:17:36 -0000 Delivered-To: apmail-pivot-user-archive@pivot.apache.org Received: (qmail 26227 invoked by uid 500); 24 Jul 2011 03:17:30 -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 26219 invoked by uid 99); 24 Jul 2011 03:17:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 24 Jul 2011 03:17:28 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of cbartlett.x@gmail.com designates 209.85.161.53 as permitted sender) Received: from [209.85.161.53] (HELO mail-fx0-f53.google.com) (209.85.161.53) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 24 Jul 2011 03:17:21 +0000 Received: by fxd23 with SMTP id 23so6195185fxd.40 for ; Sat, 23 Jul 2011 20:17:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=Ys4klCtrkj8X958bR29lla9cIF2fBXtiUpVHfj5yCP0=; b=jh5Epi9HW80C7ICwzvsViLTuDS9YL+eMGC/Hh7Q2vxifP12VolFMzLCmQJdV3YJckw 06GZwjOvJ4jFPCFuse7rVErOL2VJvIA8U3c5gSogg2+cZO0lNDjwNKUgpEfQMuDGl+ym qg35U+qmwlWovaRTAkeAkwa5ZPyqvhr9zVLY8= MIME-Version: 1.0 Received: by 10.223.100.89 with SMTP id x25mr4637630fan.81.1311477419913; Sat, 23 Jul 2011 20:16:59 -0700 (PDT) Received: by 10.223.95.196 with HTTP; Sat, 23 Jul 2011 20:16:59 -0700 (PDT) In-Reply-To: References: <4E29275F.3000104@gmail.com> Date: Sun, 24 Jul 2011 10:16:59 +0700 Message-ID: Subject: Re: Hard to implement ScalePane From: Chris Bartlett To: user@pivot.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Bill, I'd recommend first investigating which Components you are likely to want to embed in a ScalePane and seeing if they fail in some way. I am pretty sure that there are ways to work around the tooltip placement, but that won't count for much if the Components themselves aren't useable, so I don't want to waste your time digging into an example app from an old thread. The idea I had (and which I have not yet had time to check out) would take advantage of the fact that Pivot can scale entire Displays independently without any mouse input issues. (CTRL+SHIFT+PLUS/MINUS) I was wondering if it would be possible to make the ScalePane a simple placeholder which would reserve space within a Display, and then overlay a scaled DisplayHost (an internal class of ApplicationContext/DesktopApplicationContext) in the right place. (The Pivot Components placed in the ScalePane would be painted to the DisplayHost) Alternatively it might be possible to somehow wrap the DisplayHost to effectively turn it into a Pivot Component. That might get messy though, as it is an AWT component in reality (if I understand correctly) I'm not 100% sure that any of this would work even for a simple scenario where the ScalePanes are not nested, and there would certainly be some logistical issues if there was a need to support nesting. Is that a realistic requirement? Chris On 24 July 2011 09:32, Bill van Melle wrote: > Okay, I'll have a look. > > On Sat, Jul 23, 2011 at 7:15 PM, Chris Bartlett > wrote: >> >> Yes, I understand that you are just trying to place the tooltips in >> the correct location. =A0That app demonstrates positioning tooltips, but >> happens to take things further by creating them itself and place them >> in external windows. My intention was to show that it is possible to >> have some say over how a tooltip is displayed without having to modify >> =A0core Pivot classes.