Geeks Talk

Prepare for your Next Interview


Welcome to the Geeks Talk forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

Swing

This is a discussion on Swing within the Java forums, part of the Software Development category; Difference Between JFrame & JWindow?...

Go Back   Geeks Talk > Software Development > Java
Register Blogs FAQ Tag Cloud Calendar Mark Forums Read

Java Java related Issues and Problems

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 09-05-2008
Junior Member
 
Join Date: Sep 2008
Location: Rajkot
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
nikhil015 is on a distinguished road
Swing

Difference Between JFrame & JWindow?
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 05-12-2009
Junior Member
 
Join Date: May 2009
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
ralph_komer is on a distinguished road
Re: Swing

JWindow doesn't have a title bar, minimize-maximize buttons. In java terminology..it is undecorated. The components cannot be added and a layout cannot be assigned directly to the JWindow. Instead it can be done to contentpane in JWindow.

JFrame on the other hand has all the above. It is decorated (title bar, minimize-maximize buttons) and commponents & layout can be added directly to it.

I hope this helps.
Reply With Quote
  #3 (permalink)  
Old 06-27-2009
Expert Member
 
Join Date: May 2009
Location: Bangalore
Posts: 991
Thanks: 155
Thanked 420 Times in 201 Posts
rijus is just really nicerijus is just really nicerijus is just really nicerijus is just really nicerijus is just really nice
Re: Swing

Hi Friends,

The JWindow is a top-level container, but without any embellishments like minimis/maximise buttons. It can be used straight against the desktop, but you usually use JFrame instead.


JWindow does not have the title bar, window-management buttons, or other trimmings associated with a JFrame. Think of it as a window without a border.

One thing you should also notice that is instead of adding to the window itself like you could with a JFrame, you want to make sure that you add to the Content Pane of the window.

Thanks,
Riju
Reply With Quote
Reply

  Geeks Talk > Software Development > Java

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
Exforsys.com Swing Extreme Testing admin Web Design 0 07-11-2008 12:40 AM
JTable creation in swing ssgvenkat2002 Java 1 01-30-2008 10:02 AM
Does QTP support Swing applications Geek_Guest QTP 0 09-18-2007 07:56 AM
diff b/w AWT and Swing vmshenoy Java 2 01-05-2007 06:06 AM
Swing Question Informatiker Java 2 09-16-2006 03:53 PM


All times are GMT -4. The time now is 06:11 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.1
Copyright © 2009 GeekInterview.com. All Rights Reserved