Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #18312 > unrolled thread
| Started by | clusardi2k@aol.com |
|---|---|
| First post | 2012-08-24 14:19 -0700 |
| Last post | 2012-08-24 15:43 -0700 |
| Articles | 3 — 3 participants |
Back to article view | Back to comp.lang.java.programmer
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
| From | clusardi2k@aol.com |
|---|---|
| Date | 2012-08-24 14:19 -0700 |
| Subject | How to make a modal window |
| Message-ID | <5472d74e-8c76-4956-b139-a70fb4caf3ab@googlegroups.com> |
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,
[toc] | [next] | [standalone]
| From | Eric Sosman <esosman@ieee-dot-org.invalid> |
|---|---|
| Date | 2012-08-24 17:37 -0400 |
| Message-ID | <k18s6k$adc$1@dont-email.me> |
| In reply to | #18312 |
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
[toc] | [prev] | [next] | [standalone]
| From | Roedy Green <see_website@mindprod.com.invalid> |
|---|---|
| Date | 2012-08-24 15:43 -0700 |
| Message-ID | <mr0g38h8d0nusckn5aelo944eqk45r9paq@4ax.com> |
| In reply to | #18312 |
On Fri, 24 Aug 2012 14:19:50 -0700 (PDT), clusardi2k@aol.com wrote, quoted or indirectly quoted someone who said : >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). Modal Windows are called JDialogs. See http://mindprod.com/jgloss/jdialog.html -- Roedy Green Canadian Mind Products http://mindprod.com A new scientific truth does not triumph by convincing its opponents and making them see the light, but rather because its opponents eventually die, and a new generation grows up that is familiar with it. ~ Max Planck 1858-04-23 1947-10-04
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.java.programmer
csiph-web