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


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

How to make a modal window

From clusardi2k@aol.com
Newsgroups comp.lang.java.programmer
Subject How to make a modal window
Date 2012-08-24 14:19 -0700
Organization http://groups.google.com
Message-ID <5472d74e-8c76-4956-b139-a70fb4caf3ab@googlegroups.com> (permalink)

Show all headers | View raw


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.

Thank you,

Back to comp.lang.java.programmer | Previous | NextNext 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