Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.gui > #1539
| From | "Fred Kleinschmidt" <fred.kleinschmidt@THRWHITE.remove-dii-this> |
|---|---|
| Subject | Re: Combinig 2 GUI's to c |
| Message-ID | <JH2oyK.3yA@news.boeing.com> (permalink) |
| Newsgroups | comp.lang.java.gui |
| References | <713e985c577fe@uwe> |
| Date | 2011-04-27 15:33 +0000 |
| Organization | TDS.net |
To: comp.lang.java.gui
"Willliwill" <u33694@uwe> wrote in message news:713e985c577fe@uwe...
> Yes this is homework, having cleared that up what I want to do is compile,
> and run these 2 programs simultaneously. Any help would be appreciated.
>
> */
> import java.awt.*; /* Import statements */
> import javax.swing.*;
> import java.awt.event.*;
> class Assignmentweek2
>
> {
> public static void main(String args[])
>
> {
> Interest i=new Interest();
> i.init();
> i.setVisible(true);
> }
> }
> class Interest extends JFrame implements ActionListener
> {
> <snip>
> }
>
> public static void main(String[] args)
> {
> new Week3();
> }
>
> public Week3()
> {
> <snip>
> }
New class Both.java:
public static void main(String[] args)
{
Week3 w3 = new Week3();
Interest i=new Interest();
i.init();
i.setVisible(true);
}
--
Fred L. Kleinschmidt
---
* 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 | Unroll thread
Combinig 2 GUI's to compi "Willliwill" <willliwill@THRWHITE.remove-dii-this> - 2011-04-27 15:33 +0000
Re: Combinig 2 GUI's to c "Fred Kleinschmidt" <fred.kleinschmidt@THRWHITE.remove-dii-this> - 2011-04-27 15:33 +0000
Re: Combinig 2 GUI's to c "Willliwill" <willliwill@THRWHITE.remove-dii-this> - 2011-04-27 15:33 +0000
Re: Combinig 2 GUI's to c "tar" <tar@THRWHITE.remove-dii-this> - 2011-04-27 15:33 +0000
Re: Combinig 2 GUI's to c "Willliwill" <willliwill@THRWHITE.remove-dii-this> - 2011-04-27 15:33 +0000
csiph-web