只有連結,因為看連結就好了,圖解很累XD (圖片來源:http://blog.csdn.net/dmgactive/archive/2009/06/28/4304567.aspx ) http://download.oracle.com/javase/tutorial/uiswing/layout/gridbag.html http://felixcic.blogspot.com/2010/11/gridbaglayout.html http://home.so-net.net.tw/idealist/Java/AWT/GridBagLayout.html 大致上是設定以下參數 public int anchor public int fill public gridheight Public gridweight public girdx public gridy public Insets insets public int ipadx public int ipady public double weightx public double weighty 大概是這樣

Continue reading

Author's picture

kerkerj

Cat lover <3

Backend Engineer

Taiwan