| 发表于:2008-01-08 15:40:341楼 得分:15 |
class application{ public static void main(string[] args) { object lazyvalue = new uidefaults.lazyvalue() { public object createvalue(uidefaults table) { return new myborder(); } }; uimanager.put("splitpanedivider.border", lazyvalue); new myframe(); } } class myborder implements border, uiresource { public void paintborder(component c, graphics g, int x, int y, int width, int height) { //...绘制你的splitpanedivider } } | | |
|