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

From Eric Sosman <esosman@ieee-dot-org.invalid>
Newsgroups comp.lang.java.programmer
Subject Re: How to make a modal window
Date 2012-08-24 17:37 -0400
Organization A noiseless patient Spider
Message-ID <k18s6k$adc$1@dont-email.me> (permalink)
References <5472d74e-8c76-4956-b139-a70fb4caf3ab@googlegroups.com>

Show all headers | 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