Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.gui > #659
| From | printdude1968@gmail.com.remove-dii-this |
|---|---|
| Subject | Re: silly newbie GUI ques |
| Message-ID | <1168656020.536592.59970@s34g2000cwa.googlegroups.com> (permalink) |
| Newsgroups | comp.lang.java.gui |
| References | <6t-dnYb_n6oftDXYnZ2dnUVZ8s-qnZ2d@bt.com> |
| Date | 2011-04-27 15:28 +0000 |
| Organization | TDS.net |
To: comp.lang.java.gui RedGrittyBrick wrote: > printdude1968@gmail.com wrote: > You missed Runtime.getRuntime().exec(). > Yup.. but if you don't know what you are looking for, there are way too many API classes and methods to go through trying to find the one thing that you need.... I think that the API docs should offer another way of grouping their classes by.... one that is more oriented towards the application of the class/method rather than/in addition to by package. > I think so. Yup... hence the reason I am asking for some guidance > > > I think I can write the code > > for each program, but getting control to pass from one to the other is > > a bottle-neck for me. > > > > if add-button.pressed > instantiate another JDialog* for Class add > fi > > * or JFrame or JInternalFrame or TabbedPane panel ** > ** Basing your GUIs on JPanel makes it easier to change your mind about > whether they are going to be in a JDialog, a JFrame or other container. So from what you are saying, if I understand you (and thanks for the great suggestions)...I would have one class file which would have a bunch of inner classes that operate with JFrame or JInternalFrame or TabbedPane panel ... but doesn't that go against the rule about reusability? If I have the sub functions in their own class files, then they can be used and extended by other classes.. (is that what they call polymorphism?) whereas if all the functions I need to write code for are in same class file, then they are private to that class. Not that it really matters in this case, but if I start breaking the rules this early ..... Anyway... thanks for your help... I wish there was one place where I could go online to find out what I need to know about all the aspects of java that I am interested in.. but it seems I always have to look in 20-30 locations and by then if I haven't found what I'm looking for I consult a book I have both of Cay Horstmann's books, Eckel, Java in a Nutshell, Head First Java and a few others but none of them have decent examples of what I need to do so I searched this ng and others and struck out... --- * 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 | Next in thread | Find similar
silly newbie GUI question printdude1968@gmail.com.remove-dii-this - 2011-04-27 15:28 +0000
Re: silly newbie GUI ques "Knute Johnson" <knute.johnson@THRWHITE.remove-dii-this> - 2011-04-27 15:28 +0000
Re: silly newbie GUI ques printdude1968@gmail.com.remove-dii-this - 2011-04-27 15:28 +0000
Re: silly newbie GUI ques "Knute Johnson" <knute.johnson@THRWHITE.remove-dii-this> - 2011-04-27 15:28 +0000
Re: silly newbie GUI ques "RedGrittyBrick" <redgrittybrick@THRWHITE.remove-dii-this> - 2011-04-27 15:28 +0000
Re: silly newbie GUI ques printdude1968@gmail.com.remove-dii-this - 2011-04-27 15:28 +0000
Re: silly newbie GUI ques "RedGrittyBrick" <redgrittybrick@THRWHITE.remove-dii-this> - 2011-04-27 15:28 +0000
Re: silly newbie GUI ques "RedGrittyBrick" <redgrittybrick@THRWHITE.remove-dii-this> - 2011-04-27 15:28 +0000
Re: silly newbie GUI ques printdude1968@gmail.com.remove-dii-this - 2011-04-27 15:28 +0000
Re: silly newbie GUI ques "RedGrittyBrick" <redgrittybrick@THRWHITE.remove-dii-this> - 2011-04-27 15:28 +0000
Re: silly newbie GUI ques printdude1968@gmail.com.remove-dii-this - 2011-04-27 15:28 +0000
Re: silly newbie GUI ques "RedGrittyBrick" <redgrittybrick@THRWHITE.remove-dii-this> - 2011-04-27 15:28 +0000
Re: silly newbie GUI ques printdude1968@gmail.com.remove-dii-this - 2011-04-27 15:28 +0000
Re: silly newbie GUI ques "RedGrittyBrick" <redgrittybrick@THRWHITE.remove-dii-this> - 2011-04-27 15:28 +0000
Re: silly newbie GUI ques "Andrew Thompson" <andrew.thompson@THRWHITE.remove-dii-this> - 2011-04-27 15:28 +0000
csiph-web