Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read SiteMap

Tags: , , , ,

Sponsored Links



How to use Window class in java?

Software Development


Reply
 
Thread Tools Search this Thread
  #1  
Old 06-03-2010
Member
 
Join Date: Jan 2010
Posts: 42
How to use Window class in java?

Hi friend,

I just started to study the java language. I am not getting how to use Window class of java. I will need to use this class in my one java project. Because of that I need to be fully aware about Window class along with it's methods. If you have sound knowledge about the Window class, then please let me know the same. I would appreciate your any help over this java class.
Reply With Quote
  #2  
Old 06-03-2010
Praetor's Avatar
Member
 
Join Date: Apr 2008
Posts: 1,937
Re: How to use Window class in java?

A Window object is a top-level window with no borders and no menubar. The default layout for a window is BorderLayout.A window must have either a frame, dialog, or another window defined as its owner when it's constructed.In a multi-screen environment, you can create a Window on a different screen device by constructing the Window with Window(Window, GraphicsConfiguration). The GraphicsConfiguration object is one of the GraphicsConfiguration objects of the target screen device.
Reply With Quote
  #3  
Old 06-03-2010
Member
 
Join Date: May 2008
Posts: 1,990
Re: How to use Window class in java?

Hi,

Please review below methods of Window class:
  • setLocationRelativeTo(Component comp)
  • setFocusCycleRoot(boolean bln)
  • setFocusableWindowState(boolean bln)
  • setCursor(Cursor cursor1)
  • removeWindowStateListener(WindowStateListener lstn)
Reply With Quote
  #4  
Old 06-03-2010
kelfro's Avatar
Member
 
Join Date: Apr 2008
Posts: 1,976
Re: How to use Window class in java?

Hi friend,

I suggest you to go through following nested classes of Window class:
  1. Window.AccessibleAWTWindow
  2. Component.AccessibleAWTComponent
  3. Component.FlipBufferStrategy
  4. Container.AccessibleAWTContainer
Reply With Quote
Reply

  TechArena Community > Software > Software Development


Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "How to use Window class in java?"
Thread Thread Starter Forum Replies Last Post
Converting java class to java bean class Ucchal Software Development 6 09-08-2010 11:24 AM
ImageIcon class of java Modifier Software Development 5 19-02-2010 09:53 AM
JCheckBoxMenuItem class of java Ram Bharose Software Development 5 18-02-2010 12:11 PM
JFormattedTextField class of java Khan Baba Software Development 5 17-02-2010 11:37 AM
Java Programming Language Basics: Reflection Basics and Class Class mayuri_gunjan Guides & Tutorials 6 29-08-2005 01:04 AM


All times are GMT +5.5. The time now is 11:52 AM.