Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.gui > #3328
| From | "Roedy Green" <roedy.green@THRWHITE.remove-dii-this> |
|---|---|
| Subject | Re: Problem With RSA Inte |
| Message-ID | <tkthu31l8fof3knrokuq0fo13a6idg86uo@4ax.com> (permalink) |
| Newsgroups | comp.lang.java.gui |
| References | <76e6fe6c-eb5a-4268-8dfa-4f3ff5b7224b@a1g2000hsb.googlegroups.com> |
| Date | 2011-04-27 15:44 +0000 |
| Organization | TDS.net |
To: comp.lang.java.gui On Mon, 24 Mar 2008 23:47:39 -0700 (PDT), Soul Tech <carla.pinate@gmail.com> wrote, quoted or indirectly quoted someone who said : >Program complies and the interface shows up but there is no output >after pressing run button. How come this is happening? see http://mindprod.com/jgloss/jbutton.html for how to hook up a button. You did three things wrong. 1. failed to call addActionListener 2. failed to say "implements ActionListener". 3. put your action listener code on your Frame instead of an anonymous inner class. Theoretically you can do that, but it is not simply extensible to more than one button. -- Roedy Green Canadian Mind Products The Java Glossary http://mindprod.com --- * 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
Problem With RSA Interfac "Soul Tech" <soul.tech@THRWHITE.remove-dii-this> - 2011-04-27 15:44 +0000 Re: Problem With RSA Inte "Sabine Dinis Blochberger" <sabine.dinis.blochberger@THRWHITE.remove-dii-this> - 2011-04-27 15:44 +0000 Re: Problem With RSA Inte "Roedy Green" <roedy.green@THRWHITE.remove-dii-this> - 2011-04-27 15:44 +0000
csiph-web