wood burning stoves 2.0*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes how does GridBagConstraints accesses the insets variable, please help ?? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "how does GridBagConstraints accesses the insets variable, please help ??" Watch "how does GridBagConstraints accesses the insets variable, please help ??" New topic
Author

how does GridBagConstraints accesses the insets variable, please help ??

sarim raza
Ranch Hand

Joined: Nov 02, 2000
Posts: 232
meaning how are the values set, given an instance of GridBagConstraints as
GridBagConstraints gbc = new GridBagConstraints();
is it
gbc.insets(5,5,5,5); // ??
or
gbc.insets.top =5; .....
or something else ?
Mora Yung
Greenhorn

Joined: Dec 27, 2000
Posts: 5
I think it's:
gbc.insets = new Insets(5, 5, 5, 5);
Dickson
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how does GridBagConstraints accesses the insets variable, please help ??
 
Similar Threads
GridBagLayout and Canvases
Passed by reference or by value?
Layout again
GridBagLayout and Canvases
deal with text on window closing