Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / GUI / May 2005

Tip: Looking for answers? Try searching our database.

Icon for JDialog.

Thread view: 
Serguei.Goumeniouk@cibc.ca - 12 May 2005 17:05 GMT
  Dear Experts,
We have a complicated GUI system which is using a JDialog as a logon
window without any JFrame created. As a result we have no icon at the
task bar at the bottom of the Windows desktop.
This behavior sometimes confuses our users. They like to have an icon
at the bottom of the screen to restore a dialog, if it is invisible.
Is there a simple solution for such a problem?
  Regards,
   Serguei.
Vova Reznik - 12 May 2005 17:40 GMT
>    Dear Experts,
> We have a complicated GUI system which is using a JDialog as a logon
[quoted text clipped - 5 lines]
>    Regards,
>     Serguei.

Just replace JDialog with JFrame
Steve W. Jackson - 12 May 2005 18:40 GMT
> >    Dear Experts,
> > We have a complicated GUI system which is using a JDialog as a logon
[quoted text clipped - 7 lines]
> >
> Just replace JDialog with JFrame

I'm reasonably sure that JDialog will never result in anything appearing
on the Windows task bar.  The reason is that it's not a top-level
window.  When you create one without specifying a top-level window as
its owner, it's automatically set so that a common shared frame (never
displayed) is its owner.

= Steve =
Signature

Steve W. Jackson
Montgomery, Alabama

Fred L. Kleinschmidt - 12 May 2005 17:43 GMT
>    Dear Experts,
> We have a complicated GUI system which is using a JDialog as a logon
[quoted text clipped - 5 lines]
>    Regards,
>     Serguei.

Sure - use a JFrame instead of a JDialog. The whole point of a JDialog
is to be dependent on a JFrame; What's the point of using a JDialog
without a JFrame?

Signature

Fred L. Kleinschmidt
Boeing Associate Technical Fellow
Technical Architect, Common User Interface Services
M/S 2R-94  (206)544-5225
#! rnews 2502
Xref: xyzzy sci.energy:130325 sci.energy.hydrogen:80440
Newsgroups: sci.energy.hydrogen,sci.energy
Path: xyzzy!nntp
From: "Fred McGalliard" <frederick.b.mcgalliard@boeing.com>
Subject: Re: The world's largest solar power station planned for Portugal
X-Nntp-Posting-Host: e056750.nw.nos.boeing.com
Message-ID: <IGDyH5.3zo@news.boeing.com>
X-Mimeole: Produced By Microsoft MimeOLE V6.00.2800.1409
X-Priority: 3
X-Msmail-Priority: Normal
Lines: 28
Sender: nntp@news.boeing.com (Boeing NNTP News Access)
Organization: The Boeing Company
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
References: <1115435246.196053.302440@o13g2000cwo.googlegroups.com> <5pq4811fkiorgvai1rer8h2k0oo5umss4n@4ax.com> <3ef97pF2rv5rU1@individual.net> <1115866356.073454.254480@g43g2000cwa.googlegroups.com> <1186rutj5cn7i5d@news.supernews.com>
Date: Thu, 12 May 2005 16:43:53 GMT

...
> No, it's shorthand for 'when ALL costs are counted'. The gist of the
> argument, and it is unfortunately true for all cells produced so far, is
> that the value of the electricity produced is less than the cost of
> building the cells, installing them, setting up the plant, and running it.
> So, solar energy to date has been a net energy sink.

Paul, "all costs" are not energy, and cannot be translated to energy. Most
of the costs associated with these systems are not energy costs at all but
manpower. The question is how can the manpower performing this action take
away enough of the energy to live better, and still have some left over for
the rest of us. The point, that it is possible for a power source to consume
more than it produces, is worth some thought. The electrical side of the
equation is pretty well established, I think. The PV cells do produce, in an
optimum environment, more energy than it takes to make em, and in a pretty
short time. The rest of the resources that have to be used up to make this
power however, are very substantial. Don persists in thinking that
collateral costs, as example a collateral cost for oil burning cars is some
areas where a few folk a year die of emphacema, can be amortized as KWH, or
even as dollars. The real problem is much more complex than this. In fact,
it is a big deal that we have no way to count "all the costs" for our oil
consumption, or even our oil nonconsumption, as in what happens in a few
years or when China gets it all and we become a third world country.
Larry Barowski - 12 May 2005 20:34 GMT
>    Dear Experts,
> We have a complicated GUI system which is using a JDialog as a logon
[quoted text clipped - 3 lines]
> at the bottom of the screen to restore a dialog, if it is invisible.
> Is there a simple solution for such a problem?

If you are using Java 1.4 or higher, you can use an undecorated
zero-size frame as the parent. I wouldn't leave such a thing up
permanently, but in your case you can close it after login.


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.