Re: Combinig 2 GUI's to compile and run at the same time.



Thanks I will give it a try, is there any way to make both programs open up
in their own respective windows as individual Java apps ?


Fred Kleinschmidt wrote:
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.
[quoted text clipped - 28 lines]
<snip>
}

New class Both.java:
public static void main(String[] args)
{
Week3 w3 = new Week3();
Interest i=new Interest();
i.init();
i.setVisible(true);
}


--
Message posted via JavaKB.com
http://www.javakb.com/Uwe/Forums.aspx/java-gui/200704/1

.



Relevant Pages

  • Re: Preventing A New Window From Grabbing Focus
    ... Can you try it on Windows? ... public static void main(Stringargs) { ... private void jButton1ActionPerformed ...
    (comp.lang.java.programmer)
  • Re: Security- access to Event Viewer- SOS
    ... my test.aspx works on IIS6 on Windows 2003 but not IIS5 on Windows ... >> new event log category is created, I convert the account to ASPNET ... >> public static void LogEventViewer(string ... >> Domain, string Password) ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: len(sys.argv) in (3,4)
    ... which is also supposed to be used as standalone program ... running a recent version of Windows. ... Python scripts get their args on Windows just like anywhere else. ... {blah; blah} and carry on regardless just as ...
    (comp.lang.python)
  • Re: getLoginName() getHomeDir() getHostName()
    ... > know I could probably use System.getenv, USER/LOGNAME, HOME, HOSTNAME, ... Various versions of Windows treat these values differently, ... public class SystemProperties { ... public static void main{ ...
    (comp.lang.java.programmer)
  • Re: JFrame called Ghost doesnt show
    ... public class Ghost extends javax.swing.JFrame { ... public static void main{ ... It seems only to happen on Windows -- at least, a quick test with a 1.4 JVM on ... The string "Ghost" does not appear in JVM.DLL. ...
    (comp.lang.java.programmer)