摘要: //OrgTreePanel是一个panelorgTree = new OrgTreePanel(TcApp.getSession());contentPanel.add(orgTree, BorderLayout.CENTER);//获取选中的东西OrgObject orgObject = org... 阅读全文
posted @ 2014-06-13 15:32 True.M 阅读(403) 评论(0) 推荐(0) 编辑
摘要: 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) 编辑
摘要: parentLine.add(childLine, true); // 替换件parentLine.add(childLine, false);// 添加行parentLine.add("structure_revisions", tccompont); //添加行 阅读全文
posted @ 2014-06-13 15:18 True.M 阅读(231) 评论(0) 推荐(0) 编辑
摘要: printf("member:%d\n",member);//find current signoffsSAFECALL(AOM_ask_value_tags(msg.task,"signoff_attachments", &num, &signoffs));//remove exists revi... 阅读全文
posted @ 2014-06-13 15:17 True.M 阅读(724) 评论(0) 推荐(0) 编辑
摘要: rcode = CR_set_signoff_decision(signoffs[i],CR_approve_decision,decision_comment);if(rcode!=ITK_ok){ goto CLEANUP;}printf("set approve decision suc... 阅读全文
posted @ 2014-06-13 15:15 True.M 阅读(549) 评论(0) 推荐(0) 编辑
摘要: 说明:由于Tc9创造性的出现了64bit的版本,还有个更创造性的要求,就是64位的只能在VS2008sp1中编译,故以VS2008重新写了开发配置首选项名称TC_customization_libraries环境首先,来个环境的截图,E盘下目录。创建项目Eg:libMax_register_call... 阅读全文
posted @ 2014-06-13 15:10 True.M 阅读(1097) 评论(0) 推荐(0) 编辑
摘要: rundll32.exe shell32.dll,Control_RunDLL desk.cpl,,0 阅读全文
posted @ 2014-06-13 15:07 True.M 阅读(153) 评论(0) 推荐(0) 编辑
摘要: Windows Registry Editor Version 5.00[HKEY_LOCAL_MACHINE\SOFTWARE\PolicIEs\Microsoft\Windows NT\Reliability] "ShutdownReasonOn"=dword:00000000"Shutdown... 阅读全文
posted @ 2014-06-13 15:05 True.M 阅读(976) 评论(0) 推荐(0) 编辑
摘要: call tc_configclearlocks -assert_all_dead -u=infodba -p=infodba -g=dba 阅读全文
posted @ 2014-06-13 15:03 True.M 阅读(354) 评论(0) 推荐(0) 编辑
摘要: 这个方法可以在TC8.3上使用,在9上好像已经失效!导出组织结构分别导出dsa_util -u=infodba -p=infodba -g=dba -f=export -class=group -filename=c:\group.txtdsa_util -u=infodba -p=infodba ... 阅读全文
posted @ 2014-06-13 14:36 True.M 阅读(1463) 评论(0) 推荐(0) 编辑