Windows Programmer is confused?

From: John Fabiani (jfabiani_at_yolo.com)
Date: 11/30/03


Date: Sun, 30 Nov 2003 17:42:50 GMT

First let me say I'm used to programming in the windows environment with
Visual Foxpro. So moving to Java has me more than a little confused. My
biggest confusion at the moment has to do with frames. In my old world I
created forms (frames/windows) that display controls (widgets) and the
forms are called from a menu. I can make either SDI or MDI programs. MDI
programs allow the same form to open many times and they are independent of
each other.

For Java I find that I need to create a JDesktop and use JInternalFrame's to
emulate the windows programs I have created in the past. But I soon
discovered that my JBuilder IDE does not directly support creating Java MDI
programs. I'm new to the JBuilder IDE and may not know how to create the
required classes. Then I read in O'Reilly's Java Swing book the following:
?To be honest, in practice, standalone frames are often more useful than
internal frames.?.

That statement implies that I should change my thinking. But I can't figure
out how to emulate my windows programs without using JDesktop and
JInternalFrame. In fact, I have not figured out how to call a second
JFrame from a menu. The fact that JBuilder does not provide examples of
how to create JDesktop and JinternalFrame from the IDE tells me that
something is wrong.

So what is the correct way to construct a program that uses a menu to
display different windows? I.e. If your creating an invoicing program you
would need a customer screen, invoice screen, and a printing screen all
called from a menu. Would you use JDesktop?

I know this is long and thanks for reading it.

-- 
John Fabiani


Relevant Pages

  • Re: Windows Programmer is confused?
    ... What I need to know is how the different screens ... When I create a Windows type application, ... So moving to Java has me more than a little confused. ... > For Java I find that I need to create a JDesktop and use JInternalFrame's ...
    (comp.lang.java.programmer)
  • Re: In the Shallow End
    ... Yes, with Apple finally getting in there, technology is finally moving along nicely again. ... What they like to do is use the Windows desktop as data gathering frontends to these operations. ... They had other plans for Java, ... They make computers for the elite. ...
    (comp.sys.mac.advocacy)
  • Re: IE6 javascript & active x not working
    ... > I'm trying to fix a problem on a Windows XP SP1 Compaq computer. ... Where to get the JAVA VM ... Sun also offers an automatic download and install of the 1.4 Java plug-in ... ActiveX problems in IE ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: IE6 cannot access secured sites after SP2 install
    ... I installed Windows script 5.6 ... >To download Java VM for XP: ... >Windows Update/Enable the Windows Update Catalog. ... >Sun also offers an automatic download and install of the ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: field validation (was Re: COBOL/DB2 Date edit question)
    ... regular Windows application, and certainly not by a mainframe application ... (or mainframe OS does not support Java). ... one or two subroutines written in Standard (Fujitsu NetCOBOL) COBOL, and C#, ...
    (comp.lang.cobol)