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