Any Source Code or Web site demonstrate the effect of gridwidth and gridheigh of GridBaglayout  
Author Message
hon123456





PostPosted: 2006-2-20 17:40:00 Top

java-programmer, Any Source Code or Web site demonstrate the effect of gridwidth and gridheigh of GridBaglayout Dear all,

I want to make clear how the outlook of Gridbaglayout will
change according to different value of gridwidth and gridheight of
GridBagConstraints. Please suggest some source code for me so that I
can modify the source code of the value of gridheight and gridwidth,
thus I can find out the change of the outlook according to different
value of gridheight and gridwidth. Or please suggest some website for
me to investigate about the gridwidth and gridheight of
GridBagConstraints.


Thanks.

 
Bart Cremers





PostPosted: 2006-2-20 18:19:00 Top

java-programmer >> Any Source Code or Web site demonstrate the effect of gridwidth and gridheigh of GridBaglayout http://java.sun.com/j2se/1.5.0/docs/api/java/awt/GridBagLayout.html

 
hon123456





PostPosted: 2006-2-20 18:56:00 Top

java-programmer >> Any Source Code or Web site demonstrate the effect of gridwidth and gridheigh of GridBaglayout Thanks for your reply. But I have read about the Sun's Doc. But it is
rather ambiguous.

Thanks.

 
 
Paulus de Boska





PostPosted: 2006-2-20 20:14:00 Top

java-programmer >> Any Source Code or Web site demonstrate the effect of gridwidth and gridheigh of GridBaglayout http://java.sun.com/docs/books/tutorial/uiswing/layout/example-1dot4/GridBagLayoutDemo.java
explained in
http://java.sun.com/docs/books/tutorial/uiswing/layout/gridbag.html

A lesson about GBL, not gridwidth/height, but you can use the code as a
starting-point to experiment, though :
http://javalessons.com/cgi-bin/ui/java-swing.cgi?1cd=gbl&sid=ao789
---
Paul Hamaker, SEMM
http://javalessons.com

 
 
TheFullSP





PostPosted: 2006-2-21 4:28:00 Top

java-programmer >> Any Source Code or Web site demonstrate the effect of gridwidth and gridheigh of GridBaglayout Save yourself some heart ache.. GridbagLayout can be time consuming
Check out JGoodies (efficient Swing Design Framework) we use this
extensively
http://www.jgoodies.com/

 
 
Roedy Green





PostPosted: 2006-2-21 22:40:00 Top

java-programmer >> Any Source Code or Web site demonstrate the effect of gridwidth and gridheigh of GridBaglayout On 20 Feb 2006 02:56:09 -0800, "hon123456" <email***@***.com>
wrote, quoted or indirectly quoted someone who said :

>Thanks for your reply. But I have read about the Sun's Doc. But it is
>rather ambiguous.

see http://mindprod.com/jgloss/gridbaglayout.html
and follow the link to GridBagger
--
Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.