Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #18313

Re: How to make a modal window

Path csiph.com!usenet.pasdenom.info!news.albasani.net!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail
From Eric Sosman <esosman@ieee-dot-org.invalid>
Newsgroups comp.lang.java.programmer
Subject Re: How to make a modal window
Date Fri, 24 Aug 2012 17:37:21 -0400
Organization A noiseless patient Spider
Lines 17
Message-ID <k18s6k$adc$1@dont-email.me> (permalink)
References <5472d74e-8c76-4956-b139-a70fb4caf3ab@googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
Injection-Date Fri, 24 Aug 2012 21:37:24 +0000 (UTC)
Injection-Info mx04.eternal-september.org; posting-host="ffb8f7085759b339c1002252b48331a4"; logging-data="10668"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18A85r4wGHX3OoamGBDlJnh"
User-Agent Mozilla/5.0 (Windows NT 5.1; rv:14.0) Gecko/20120713 Thunderbird/14.0
In-Reply-To <5472d74e-8c76-4956-b139-a70fb4caf3ab@googlegroups.com>
Cancel-Lock sha1:VgKDYpYkmW79xbQgjreWtEMsooQ=
Xref csiph.com comp.lang.java.programmer:18313

Show key headers only | View raw


On 8/24/2012 5:19 PM, clusardi2k@aol.com wrote:
> I have a LARGE project that creates a JFrame inside another one. How do I make the second one that comes up a modal window. I.E.: You I don't want to do anything without first doing what the second JFrames requests you to do (click button).
>
> I created this project using NetBeans and right clicking on the project and creating two new JFrame forms.
>
> I put a button on both JFrames.
>
> In Design View, I see the two frames. When I run the project, the first creates the second JFrame.
>
> A little code would also be nice to see.

http://docs.oracle.com/javase/tutorial/uiswing/components/dialog.html


-- 
Eric Sosman
esosman@ieee-dot-org.invalid

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

How to make a modal window clusardi2k@aol.com - 2012-08-24 14:19 -0700
  Re: How to make a modal window Eric Sosman <esosman@ieee-dot-org.invalid> - 2012-08-24 17:37 -0400
  Re: How to make a modal window Roedy Green <see_website@mindprod.com.invalid> - 2012-08-24 15:43 -0700

csiph-web