有关GUI界面设计若干简单的问题 第一个问题我不知道。pack()方法会通知容器重新安排所有本容器内的组件,如果你使用了某个组件的setPerfectSize()方法,那么用pack()方法通知容器,容器就会重新安排组件的位置。 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 double weightx Specifies how to distribute extra horizontal space. double weighty Specifies how to distribute extra vertical space. 好像是象素为单位. pack()是自动计算窗口的大小吧? 应该是象素为单位的gridwidth Specifies the number of cells in a row for the component's display area JAVA 串口通信问题 .. 麻烦大家了 静态成员函数定义的变量是不是也是静态变量? 怎么样使用Java和IO相关的命令行参数 新手问题 哪位熟悉用des加密,解密,问个问题 ~~~请教高手~~~ 一个漂亮的彩球(偶写的),你一定会喜欢! 不要忘了投票哦!(kingcom) 为什么Java的DOS命令使用不了 初学者 谁能告诉我jBuilder4的系列号?不胜感激! 求一个判断是否为有效ip地址的方法 目前有人发现java的中文文档吗,大家觉得翻译jdk带的文档有意义吗?
Specifies how to distribute extra horizontal space.
double weighty
Specifies how to distribute extra vertical space. 好像是象素为单位.
gridwidth
Specifies the number of cells in a row for the component's display area