Path: csiph.com!news.mixmin.net!aioe.org!.POSTED!not-for-mail From: =?UTF-8?B?R3VscMKu?= Newsgroups: it.comp.java Subject: Re: da package a jframe Date: Fri, 16 Oct 2015 18:41:25 +0200 Organization: Aioe.org NNTP Server Lines: 10 Message-ID: References: NNTP-Posting-Host: 5tPekrDgiV1/HwS+G/cH6A.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15; format=flowed Content-Transfer-Encoding: 8bit X-Complaints-To: abuse@aioe.org User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 X-Notice: Filtered by postfilter v. 0.8.2 Xref: csiph.com it.comp.java:8624 Il 16/10/15 17:03, Dr.UgoGagliardelli ha scritto: > Frame f=SwingUtilities.getAncestorOfClass(Frame.class, evt.getSource()); evt.getSource() da come eccezione: incompatible types object cannot be converted to component -- Gulp® (forse mi sono perso qualcosa :))