🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #8414

Re: JFrame and JDialog (Very Difficult Question)

#8414
From: Betty
Date: Wed, 20 Sep 2000 00:00
30 lines
2020 bytes
Hi,

> Our end-users like a new concept of windowing system. They don't want to use
> a traditional MDI approach anymore.
> Several ERPs are doing the same way, they do not not create internal MDI
> frames, but always open a top-level window for each frame. It is very easy
> to switch windows only by clicking the button at taskbar.
>
I do agree.

> I suggest you to create similar Java application as it tends to work better,
> and of cource Swing alternatives for frames and dialogs. Use JFrame for
> frames and JDialog for modal dialogs.
> Application's main window looks clumsy if you use pull-down menu. It has
> nothing else, but empty window body and menu at the top of it. This was my
> first implementation, but I modified it to have a tree component. Tree
> represents menu hierarchy, so window body is in real use. This approach does
> not necessary require any pull-down menus.
>
Honestly, in my previous company, I use a vertical JSplitPane, the left
hand side is a JTree and right hand side is JPanel.  Tree represents menu
hierarchy.  I will try my best to courage my colleagues to use such
approach.  Thanks for your guidance!

> Let me know if you need an example code for main window's tree handling.
> Menu entries can be loaded from textfile at startup.

It's okay. I think I can handle it. ^_^ Many thanks!

Betty
Technical Details
Message-ID: <39C86076.99DE786E@net.polyu.edu.hk>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <39BD8DC4.15B1257E@net.polyu.edu.hk> <39bf981a$1_2@dnews> <39C03CE0.FB8862A0@net.polyu.edu.hk> <39c608a0_1@dnews>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,bf46e48d4e441390
X-Google-Attributes: gid111d45,public
From: Betty <cutepang@net.polyu.edu.hk>
Subject: Re: JFrame and JDialog (Very Difficult Question)
Date: 2000/09/20
Message-ID: <39C86076.99DE786E@net.polyu.edu.hk>
X-Deja-AN: 671934618
Content-Transfer-Encoding: 7bit
References: <39BD8DC4.15B1257E@net.polyu.edu.hk> <39bf981a$1_2@dnews> <39C03CE0.FB8862A0@net.polyu.edu.hk> <39c608a0_1@dnews>
X-Accept-Language: en
Content-Type: text/plain; charset=big5
X-Trace: 19 Sep 2000 23:50:19 -0800, 202.77.183.3
MIME-Version: 1.0
Newsgroups: borland.public.jbuilder.java.swing