随笔分类 -  Teamcenter RAC

摘要://OrgTreePanel是一个panelorgTree = new OrgTreePanel(TcApp.getSession());contentPanel.add(orgTree, BorderLayout.CENTER);//获取选中的东西OrgObject orgObject = org... 阅读全文
posted @ 2014-06-13 15:32 True.M 阅读(429) 评论(0) 推荐(0)
摘要:dialog.pack(); dialog.setAlwaysOnTop(true); Dimension dim = Toolkit.getDefaultToolkit().getScreenSize(); Insets screenIns... 阅读全文
posted @ 2014-06-13 15:31 True.M 阅读(331) 评论(0) 推荐(0)
摘要:///////////////////////////////////////////////////////////////////////////////Action 调用 Commandpublic class xxxxxAction extends AbstractAIFAction {pu... 阅读全文
posted @ 2014-06-13 15:30 True.M 阅读(996) 评论(0) 推荐(0)
摘要:修改配置文件创建加载的类public class ReminderAction implements IStartup { @Override public void earlyStartup() { System.out.println("start..."); }} 阅读全文
posted @ 2014-06-13 15:28 True.M 阅读(280) 评论(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 阅读(683) 评论(0) 推荐(0)
摘要:JTable CellEditor失去焦点时自动提交JTable CellEditor编辑后需要使用回车键、TAB键、或者点击其他单元格才会提交,否则值还是没修改前的。需要加上:JTable table = new JTable(...);//列不可编辑table = new JTable() {p... 阅读全文
posted @ 2014-06-13 15:26 True.M 阅读(761) 评论(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 阅读(522) 评论(0) 推荐(0)
摘要:JScrollPane.getVerticalScrollBar().setUnitIncrement(20); 阅读全文
posted @ 2014-06-13 15:23 True.M 阅读(167) 评论(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 阅读(2242) 评论(0) 推荐(0)
摘要:start D:\eclipse\eclipse.exe -data .\_11.代码管理\_02.RC 阅读全文
posted @ 2014-06-13 15:21 True.M 阅读(232) 评论(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 阅读(321) 评论(0) 推荐(0)
摘要:parentLine.add(childLine, true); // 替换件parentLine.add(childLine, false);// 添加行parentLine.add("structure_revisions", tccompont); //添加行 阅读全文
posted @ 2014-06-13 15:18 True.M 阅读(250) 评论(0) 推荐(0)