Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.gui > #2539

Re: Webstart windows warn

From "bcd" <bcd@THRWHITE.remove-dii-this>
Subject Re: Webstart windows warn
Message-ID <fddlai$92h$1@orkan.itea.ntnu.no> (permalink)
Newsgroups comp.lang.java.gui
References <1190811090.809577.270200@50g2000hsm.googlegroups.com>
Date 2011-04-27 15:39 +0000
Organization TDS.net

Show all headers | View raw


  To: comp.lang.java.gui
In article <1190811090.809577.270200@50g2000hsm.googlegroups.com>,
lemmi  <dlemmermann@gmail.com> wrote:
>Hi,
>
>can anyone tell me whether it is possible to get rid of the warning
>message at the bottom of webstart windows when the windows are
>children windows without decoration?

You can sign your webstart app, or else you can configure Java to
allow undecorated windows to everyone (I would recommend the former).

> My application window is a JFrame
>and it opens up several Window instances. The JFrame is the parent
>window and already shows a warning message to the user, why do all the
>children winodws have to do the same?

Because any one of them could be made to say "This is a friendly
notice from your bank. Please input your acct# and password" and be
made to look exactly like the real thing.

> Aren't popup menus also just
>windows without decoration? Why don't they show the warning message?

Possibly because Swing guarantees that they will never be so easily
coopted into confusing/misleading the user. I don't really remember if
this is actually the case or not. Or perhaps the popups aren't really
windows as such, but lightweight components painted entirely within
the bounds of the parent window. Try to provoke a popup to appear that
has bounds exceeding the window it lives in. This might cause Swing to
paint it using a heavyweight component, which might get decorated.

Cheers
	Bent D
-- 
Bent Dalager - bcd@pvv.org - http://www.pvv.org/~bcd
                                    powered by emacs

---
 * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet!
--- Synchronet 3.15a-Win32 NewsLink 1.92
Time Warp of the Future BBS - telnet://time.synchro.net:24

Back to comp.lang.java.gui | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Webstart windows warning "lemmi" <lemmi@THRWHITE.remove-dii-this> - 2011-04-27 15:39 +0000
  Re: Webstart windows warn "bcd" <bcd@THRWHITE.remove-dii-this> - 2011-04-27 15:39 +0000
    Re: Webstart windows warn "Andrew Thompson" <andrew.thompson@THRWHITE.remove-dii-this> - 2011-04-27 15:39 +0000
      Re: Webstart windows warn "bcd" <bcd@THRWHITE.remove-dii-this> - 2011-04-27 15:39 +0000
        Re: Webstart windows warn "Andrew Thompson" <andrew.thompson@THRWHITE.remove-dii-this> - 2011-04-27 15:39 +0000
          Re: Webstart windows warn "Roedy Green" <roedy.green@THRWHITE.remove-dii-this> - 2011-04-27 15:39 +0000
  Re: Webstart windows warn "Roedy Green" <roedy.green@THRWHITE.remove-dii-this> - 2011-04-27 15:39 +0000

csiph-web