摘要:final JComponent parent = getModel().getContext().getEntranceUI(); JFileChooser chooser = new JFileChooser(FileSystemView.getFileSystemView().getHomeDirectory()); chooser.setFileFilter(new FileF...
阅读全文
摘要:Excel导出功能 NC中功能事件代码: @Override protected void onBoRefresh() throws Exception { UIFileChooser fc = new UIFileChooser();//文件选择器 fc.setDialogType(UIFileChooser.SAVE_DIALOG);// 指示 UIFileChooser 支持 ...
阅读全文
摘要:package nc.ui.hzctr.sellctr.action; import java.awt.BorderLayout; import java.awt.Dimension; import java.awt.Toolkit; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; impo...
阅读全文
摘要:在实际开发中,有些需求是要求系统单据,编辑或者触发其他按钮来回写其他模块单据 这时候就能用业务插件方式来触发其他模块的按钮事件,而不用去模块找对应的按钮编辑事件类
阅读全文