Re: Combinig 2 GUI's to compile and run at the same time.
- From: "Fred Kleinschmidt" <fred.l.kleinmschmidt@xxxxxxxxxx>
- Date: Wed, 25 Apr 2007 21:27:56 GMT
"Willliwill" <u33694@uwe> wrote in message news:713e985c577fe@xxxxxx
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
.
- Follow-Ups:
- Re: Combinig 2 GUI's to compile and run at the same time.
- From: Willliwill
- Re: Combinig 2 GUI's to compile and run at the same time.
- References:
- Combinig 2 GUI's to compile and run at the same time.
- From: Willliwill
- Combinig 2 GUI's to compile and run at the same time.
- Prev by Date: Combinig 2 GUI's to compile and run at the same time.
- Next by Date: Re: Swing example app
- Previous by thread: Combinig 2 GUI's to compile and run at the same time.
- Next by thread: Re: Combinig 2 GUI's to compile and run at the same time.
- Index(es):
Relevant Pages
|