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


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

Re: Undecorated JFrame ve

From "Andrew Thompson" <andrew.thompson@THRWHITE.remove-dii-this>
Subject Re: Undecorated JFrame ve
Message-ID <70e13a29d0dc6@uwe> (permalink)
Newsgroups comp.lang.java.gui
References <1176885857.343242.176410@d57g2000hsg.googlegroups.com>
Date 2011-04-27 15:33 +0000
Organization TDS.net

Show all headers | View raw


  To: comp.lang.java.gui
robotiser@googlemail.com wrote:
>No answers. Does this mean that nobody knows of any reasons to use a
>JWindow instead of an undecorated JFrame, ...

I do not speak for others, but for my own part,
there are only some minor reasons..
1) One less line of code.
2) JFrame has some 'baggage' that is not required
for a (J)Window.  It inherits the methods of Frame, 
and has things like setDefaultCloseOperation().

-- 
Andrew Thompson
http://www.athompson.info/andrew/

Message posted via http://www.javakb.com

---
 * 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 | Find similar | Unroll thread


Thread

Undecorated JFrame versus robotiser@googlemail.com.remove-dii-this - 2011-04-27 15:32 +0000
  Re: Undecorated JFrame ve robotiser@googlemail.com.remove-dii-this - 2011-04-27 15:33 +0000
    Re: Undecorated JFrame ve "Andrew Thompson" <andrew.thompson@THRWHITE.remove-dii-this> - 2011-04-27 15:33 +0000

csiph-web