aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes What is the use of Jframe.pack()? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "What is the use of Jframe.pack()?" Watch "What is the use of Jframe.pack()?" New topic
Author

What is the use of Jframe.pack()?

krishna balaji
Ranch Hand

Joined: Mar 16, 2006
Posts: 31
I was trying to find where is Jframe.pack() documentation for developers provided in sun site .
Please provide me link regarding Jframe.pack() Thanks a lot
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19538
    
  16

If you open the JFrame API page, you'll notice that pack() is not defined in JFrame itself. Instead, if you scroll down, you see that this method is inherited from Window.

Here the exact link to the pack() method.

If the link doesn't work, replace the %28%29 in the address bar with (). Otherwise, just scroll down.
[ December 16, 2007: Message edited by: Rob Prime ]

SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: What is the use of Jframe.pack()?
 
Similar Threads
commonly accepted procedure for switching panels in a JFrame
swing doubt
Code to generate a Grid Test GUI
How to size jsplitpane?
image blanks out... why?