![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
数据处理
vaniice
这个作者很懒,什么都没留下…
展开
-
查询数据库得DefaultTableModel
import java.sql.ResultSet;public class MyTable { private static DefaultTableModel table=null; public static DefaultTableModel getTable(String sql){ //String sql是一条select语句 if(table==null){ try {转载 2010-10-13 17:34:00 · 3537 阅读 · 0 评论 -
TElementTable
TDataBox box = new TDataBox();TElementTable xmlTable = new TElementTable(box);private void addElement(Class clazz){ String name = TWaverUtil.getClassNameWithoutPackage(clazz); String icon = TUIManager.getIconUrl(clazz); box.addElement(new Legend(name, i原创 2010-10-14 14:20:00 · 861 阅读 · 0 评论 -
TDataBox
<br />TDataBox box = new TDataBox();TAlarmTable alarmTable = new TAlarmTable(box);Node node = new Node("node1"); node.setName("Router-1"); box.addElement(node); alarm.setElementID("node1");box.getAlarmModel().addAlarm(alarm);alarmTable.原创 2010-10-15 18:19:00 · 729 阅读 · 0 评论