Return-Path: Delivered-To: apmail-pivot-user-archive@www.apache.org Received: (qmail 11209 invoked from network); 14 Dec 2010 15:11:40 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 14 Dec 2010 15:11:40 -0000 Received: (qmail 82136 invoked by uid 500); 14 Dec 2010 15:11:40 -0000 Delivered-To: apmail-pivot-user-archive@pivot.apache.org Received: (qmail 82021 invoked by uid 500); 14 Dec 2010 15:11:38 -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 82012 invoked by uid 99); 14 Dec 2010 15:11:38 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Dec 2010 15:11:38 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE,RFC_ABUSE_POST,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of gk_brown@verizon.net designates 206.46.173.7 as permitted sender) Received: from [206.46.173.7] (HELO vms173007pub.verizon.net) (206.46.173.7) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Dec 2010 15:11:29 +0000 Received: from [192.168.1.10] ([unknown] [98.110.173.176]) by vms173007.mailsrvcs.net (Sun Java(tm) System Messaging Server 7u2-7.02 32bit (built Apr 16 2009)) with ESMTPA id <0LDF009K2BI2YM71@vms173007.mailsrvcs.net> for user@pivot.apache.org; Tue, 14 Dec 2010 09:10:52 -0600 (CST) From: Greg Brown MIME-version: 1.0 (Apple Message framework v1082) Content-type: multipart/alternative; boundary=Apple-Mail-3-499638302 Subject: Re: AW: AW: request focus in my pivot applet on page load Date: Tue, 14 Dec 2010 10:10:50 -0500 In-reply-to: <7E55586C3DAB3345A31428CE628FFE150184F979@sfxchg1.starfinanz.de> To: user@pivot.apache.org References: <7E55586C3DAB3345A31428CE628FFE150184F973@sfxchg1.starfinanz.de> <0E781F55-AF10-4376-BF8C-C38DE5C1441A@verizon.net> <7E55586C3DAB3345A31428CE628FFE150184F978@sfxchg1.starfinanz.de> <848E6463-F975-4A01-BF4F-29C2B9AA0601@verizon.net> <7E55586C3DAB3345A31428CE628FFE150184F979@sfxchg1.starfinanz.de> Message-id: <509610A5-C6FD-43EA-977F-6AC6F42365CC@verizon.net> X-Mailer: Apple Mail (2.1082) X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail-3-499638302 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 I don't have such an example. :-) But this is more of a JDK issue than = something specific to Pivot. Maybe you can find an answer on oracle.com? On Dec 14, 2010, at 10:02 AM, Felix Eckhardt wrote: > Thanks for you quick help! I=92ve tried it on: > =20 > Chrome 8.0.522.215 > Firefox 3.6.13 > =20 > I would really appreciate, if you could send me a running html + pivot = applet, which gain=92s the focus automaticly on page load. > =20 > Felix > =20 > Von: Greg Brown [mailto:gk_brown@verizon.net]=20 > Gesendet: Dienstag, 14. Dezember 2010 15:52 > An: user@pivot.apache.org > Betreff: Re: AW: request focus in my pivot applet on page load > =20 > What web browser are you using? > =20 > On Dec 14, 2010, at 9:34 AM, Felix Eckhardt wrote: >=20 >=20 > I=92ve already done that. Here is my code: > =20 > > > id=3D"applet" > codebase=3D"http://localhost:8080/demo/test/lib" = width=3D"360" > height=3D"380"> > = value=3D"demoPivot.jar,pivot-core-1.5.1.jar,pivot-web-1.5.1.jar,pivot-wtk-= 1.5.1.jar,pivot-wtk-terra-1.5.1.jar" /> > value=3D"com.example.applet.demo.DemoPivot" /> > > > > =20 > I also tried to set the focus with a delay using a javascript timer. = But nothing works. The cursor is blinking inside the TextInput, but I = can=92t start typing without clicking on the applet. > =20 > =20 > Von: Greg Brown [mailto:gk_brown@verizon.net]=20 > Gesendet: Dienstag, 14. Dezember 2010 15:16 > An: user@pivot.apache.org > Betreff: Re: request focus in my pivot applet on page load > =20 > You may also need to request focus to the applet itself in the HTML = page, using JavaScript. I haven't tried it myself, but it should work. = Let me know how it goes. > =20 > On Dec 14, 2010, at 8:55 AM, Felix Eckhardt wrote: >=20 >=20 >=20 > How do I request focus for my applet after a page load, which is = inside a html page. The applet should be the first item which receives = the focus after a page reload. > =20 > I tried requestFocus() on my components inside my applet (even with a = timer delayed), but I always have to click on the applet with my mouse = to gain focus and be able to start typing in a TextInput. > =20 > What I am doing wrong? Thank you for your help! > =20 > Greetings > Felix > =20 > =20 --Apple-Mail-3-499638302 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=windows-1252 I don't have such an example.  :-)  But = this is more of a JDK issue than something specific to Pivot. Maybe you = can find an answer on oracle.com?

On Dec 14, = 2010, at 10:02 AM, Felix Eckhardt wrote:

Thanks for you quick = help! I=92ve tried it  on:
Firefox 3.6.13
I = would really appreciate, if you could send me a running html + pivot = applet, which gain=92s the focus automaticly on page = load.
Von: Greg Brown = [mailto:gk_brown@verizon.net] 
Gesendet: Dienstag, 14. Dezember 2010 = 15:52
An:  
Re: AW: request focus in my = pivot applet on page load

<= /div>= --Apple-Mail-3-499638302--