Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.gui > #1355
| From | "Bart Cremers" <bart.cremers@THRWHITE.remove-dii-this> |
|---|---|
| Subject | Re: Another program using |
| Message-ID | <1175417291.534115.35820@p77g2000hsh.googlegroups.com> (permalink) |
| Newsgroups | comp.lang.java.gui |
| References | <1175397062.587666.184780@q75g2000hsh.googlegroups.com> |
| Date | 2011-04-27 15:32 +0000 |
| Organization | TDS.net |
To: comp.lang.java.gui On 1 apr, 05:11, "nish" <nishant.fri...@gmail.com> wrote: > Hello friends, > I am new to Java and I need help in doing this > another frames program. > > Q An application 'frame' shows the following: > ________ > name !________! > ________ > age !________! > > ________ > !_Submit_! > > Clicking on 'submit' hides this frame and opens new one: > > ________ > name !________! // box > ________ > age !________! // box > > ________ > !_OK_! > > This fram shows the values entered in the above frame. Clicking on > "OK" destroys the second frame and the first re-appears with text > fields. While pressing the 'submit' button, it displays an error > message if all text feilds are not filled. The message can be shown on > a new frame. > > Please let me know the how to code for this program in a simple way. > > Looking for your suggestions. > > Thanks, > > Nish Just asking for code isn't going to help you learn Java. Try for yourself to fix up some code and ask whenever you're having problems with some aspect. So, start with writing the code for displaying the frame. After that you can write the code for handling the button press and write the code for the new frame. Regards, Bart --- * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet! --- Synchronet 3.15a-Win32 NewsLink 1.92 Time Warp of the Future BBS - telnet://time.synchro.net:24
Back to comp.lang.java.gui | Previous | Next — Previous in thread | Find similar | Unroll thread
Another program using fra "nish" <nish@THRWHITE.remove-dii-this> - 2011-04-27 15:32 +0000 Re: Another program using "Bart Cremers" <bart.cremers@THRWHITE.remove-dii-this> - 2011-04-27 15:32 +0000
csiph-web