摘要: dialog.pack(); dialog.setAlwaysOnTop(true); Dimension dim = Toolkit.getDefaultToolkit().getScreenSize(); Insets screenIns... 阅读全文
posted @ 2014-06-13 15:31 True.M 阅读(307) 评论(0) 推荐(0) 编辑
摘要: ///////////////////////////////////////////////////////////////////////////////Action 调用 Commandpublic class xxxxxAction extends AbstractAIFAction {pu... 阅读全文
posted @ 2014-06-13 15:30 True.M 阅读(926) 评论(0) 推荐(0) 编辑
摘要: 修改配置文件创建加载的类public class ReminderAction implements IStartup { @Override public void earlyStartup() { System.out.println("start..."); }} 阅读全文
posted @ 2014-06-13 15:28 True.M 阅读(265) 评论(0) 推荐(0) 编辑
摘要: package com.sot.he.upload;import java.awt.Graphics;import java.awt.Image;import java.io.FileInputStream;import java.io.FileNotFoundException;import ja... 阅读全文
posted @ 2014-06-13 15:27 True.M 阅读(656) 评论(0) 推荐(0) 编辑
摘要: JTable CellEditor失去焦点时自动提交JTable CellEditor编辑后需要使用回车键、TAB键、或者点击其他单元格才会提交,否则值还是没修改前的。需要加上:JTable table = new JTable(...);//列不可编辑table = new JTable() {p... 阅读全文
posted @ 2014-06-13 15:26 True.M 阅读(728) 评论(0) 推荐(0) 编辑
摘要: package com.batc.ecn.icon;import java.awt.event.ActionEvent;import java.awt.event.ActionListener;import java.awt.event.MouseEvent;import java.util.Vec... 阅读全文
posted @ 2014-06-13 15:24 True.M 阅读(498) 评论(0) 推荐(0) 编辑
摘要: JScrollPane.getVerticalScrollBar().setUnitIncrement(20); 阅读全文
posted @ 2014-06-13 15:23 True.M 阅读(153) 评论(0) 推荐(0) 编辑
摘要: String saveFolder = "C:\\";Preferences pref = Preferences.userRoot().node(this.getClass().getName());String lastPath = pref.get("lastPath", "");JFileC... 阅读全文
posted @ 2014-06-13 15:22 True.M 阅读(2161) 评论(0) 推荐(0) 编辑
摘要: start D:\eclipse\eclipse.exe -data .\_11.代码管理\_02.RC 阅读全文
posted @ 2014-06-13 15:21 True.M 阅读(212) 评论(0) 推荐(0) 编辑
摘要: import java.util.Date;import java.util.TimeZone;import java.text.SimpleDateFormat;public class NowString { public static void main(String[] args) {... 阅读全文
posted @ 2014-06-13 15:20 True.M 阅读(308) 评论(0) 推荐(0) 编辑