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


Groups > comp.lang.java.gui > #1312 > unrolled thread

Undecorated JFrame versus

Started byrobotiser@googlemail.com.remove-dii-this
First post2011-04-27 15:32 +0000
Last post2011-04-27 15:33 +0000
Articles 3 — 2 participants

Back to article view | Back to comp.lang.java.gui


Contents

  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

#1312 — Undecorated JFrame versus

Fromrobotiser@googlemail.com.remove-dii-this
Date2011-04-27 15:32 +0000
SubjectUndecorated JFrame versus
Message-ID<1175162297.038449.43950@p77g2000hsh.googlegroups.com>
  To: comp.lang.java.gui
I've only just discovered undecorated JFrames. Thy solve some of the
problems I'd had with JWindows before, such as not being suitable
parents for JDialogs.

In fact, I don't have any reason to use JWindow at all any more. For
the kind of things I do.

Are there situations where it is better to use JWindow rather than
JFrame?

---
 * 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

[toc] | [next] | [standalone]


#1477 — Re: Undecorated JFrame ve

Fromrobotiser@googlemail.com.remove-dii-this
Date2011-04-27 15:33 +0000
SubjectRe: Undecorated JFrame ve
Message-ID<1176885857.343242.176410@d57g2000hsg.googlegroups.com>
In reply to#1312
  To: comp.lang.java.gui
No answers. Does this mean that nobody knows of any reasons to use a
JWindow instead of an undecorated JFrame, or that everyone thinks that
it's a stupid question that I should be able to work out myself?

---
 * 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

[toc] | [prev] | [next] | [standalone]


#1480 — Re: Undecorated JFrame ve

From"Andrew Thompson" <andrew.thompson@THRWHITE.remove-dii-this>
Date2011-04-27 15:33 +0000
SubjectRe: Undecorated JFrame ve
Message-ID<70e13a29d0dc6@uwe>
In reply to#1477
  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

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.java.gui


csiph-web