如何在一堆的图表之间画条竖线吧他们分开!着急! 有一堆的快捷图标,现在要把他们用竖线分组~ 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 JToolBar调用addSeparator()效果跟外观有关 JPanel jp = new JPanel();// 添加分割条 SwingConstants.HORIZONTAL 水平状态; SwingConstants.VERTICAL 垂直状态JSeparator separator1 = new JSeparator(SwingConstants.HORIZONTAL); jp .add(separator1, new GridBagConstraints( 0, 0, 1, 1, 1.0, 1.0, GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL, new Insets(4, 0, 4, 0), 0, 0)); 关于io的初学问题 求一正则表达式解析json对象 求一只能输入正整数的正则表达式 刚开始学JAVA很简单的一个题,请指点。 关于页面显示目录结构的问题,急啊~~~~~~~~~ 高分求助,在jbulider 9中的怎样才能把后缀名为.cab的文件加入到WAR中去 以前写的,方便swing使用的子程序集,顺带散分 怎么输出多个异常 exception in thread "main" java.lang NoClassDefFoundError:SimpleFrame 为什么JBuilder 4.0打包后不能脱离JBuilder??? 关于javabean的问题 cvs(急啊)
效果跟外观有关
// 添加分割条 SwingConstants.HORIZONTAL 水平状态; SwingConstants.VERTICAL 垂直状态
JSeparator separator1 = new JSeparator(SwingConstants.HORIZONTAL);
jp .add(separator1, new GridBagConstraints(
0, 0, 1, 1, 1.0, 1.0,
GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL,
new Insets(4, 0, 4, 0), 0, 0));