🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: chile.comp.programacion
Article #1800

Re: JAVA con NetBeans

#1800
From: Rodolfo Toledo
Date: Thu, 18 May 2006 19:46
21 lines
1694 bytes
SxD wrote:

> 
> bueno sobre mi primera pregunta onda lo que quiero es que de alguna 
> forma saber si la ventana ya esta abierta o no y si es as� que traiga al 
> frente. eso no mas ;)

Prueba con ventanita.isShowing() (que es lo mismo que isVisible para 
ventanas).

Quizas algo como esto es lo que necesitas:

if(ventanita.isShowing()){
    ventanita.toFront(true);
}
else {
    ventanita.setVisible(true);
}

Saludos,
Rodolfo Toledo.
Technical Details
Message-ID: <e4iiqh$po0$1@helcaraxe.dcc.uchile.cl>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news.glorb.com!nx01.iad01.newshosting.com!newshosting.com!meganewsservers.com!feeder2.on.meganewsservers.com!nntp-server.pubsub.com!news.nivel5.cl!news.cec.uchile.cl!helcaraxe.dcc.uchile.cl!not-for-mail
References: <446c6ddc$1_1@nova.entelchile.net> <e4hsoo$m3b$1@spawn.telmexchile.cl> <446c75ce_2@nova.entelchile.net>

Show Full Headers
Complete Article Headers
X-Google-Thread: 1593cb,a5b5e0458cef8521
X-Google-Attributes: gid1593cb,public
X-Google-Language: SPANISH,ASCII
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news.glorb.com!nx01.iad01.newshosting.com!newshosting.com!meganewsservers.com!feeder2.on.meganewsservers.com!nntp-server.pubsub.com!news.nivel5.cl!news.cec.uchile.cl!helcaraxe.dcc.uchile.cl!not-for-mail
From: Rodolfo Toledo <rtoledo@[dcc.uchile.cl|gmail.com]>
Newsgroups: chile.comp.programacion
Subject: Re: JAVA con NetBeans
Date: Thu, 18 May 2006 15:46:46 -0400
Organization: DCC - Universidad de Chile
Lines: 21
Message-ID: <e4iiqh$po0$1@helcaraxe.dcc.uchile.cl>
References: <446c6ddc$1_1@nova.entelchile.net> <e4hsoo$m3b$1@spawn.telmexchile.cl> <446c75ce_2@nova.entelchile.net>
NNTP-Posting-Host: dichato.dcc.uchile.cl
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: helcaraxe.dcc.uchile.cl 1147981457 26368 192.80.24.11 (18 May 2006 19:44:17 GMT)
X-Complaints-To: newsmaster@dcc.uchile.cl
NNTP-Posting-Date: Thu, 18 May 2006 19:44:17 +0000 (UTC)
User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)
X-Accept-Language: en-us, en
In-Reply-To: <446c75ce_2@nova.entelchile.net>