Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.gui > #1539

Re: Combinig 2 GUI's to c

Path csiph.com!x330-a1.tempe.blueboxinc.net!feeder1.hal-mli.net!news.alt.net!news-in-01.newsfeed.easynews.com!easynews.com!easynews!news-out.news.tds.net!newsreading01.news.tds.net!86597e80!not-for-mail
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)
X-Comment-To comp.lang.java.gui
Newsgroups comp.lang.java.gui
In-Reply-To <713e985c577fe@uwe>
References <713e985c577fe@uwe>
Content-Type text/plain; charset=IBM437
Content-Transfer-Encoding 8bit
X-Gateway time.synchro.net [Synchronet 3.15a-Win32 NewsLink 1.92]
Lines 53
Date Wed, 27 Apr 2011 15:33:54 GMT
NNTP-Posting-Host 96.60.20.240
X-Complaints-To news@tds.net
X-Trace newsreading01.news.tds.net 1303918434 96.60.20.240 (Wed, 27 Apr 2011 10:33:54 CDT)
NNTP-Posting-Date Wed, 27 Apr 2011 10:33:54 CDT
Organization TDS.net
Xref x330-a1.tempe.blueboxinc.net comp.lang.java.gui:1539

Show key headers only | View raw


  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 | NextPrevious in thread | Next in thread | Find similar | Unroll thread


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