Topic: 如何制作像Jbuilder编辑窗口那样带关闭按钮的TabPanel?? |
Print this page |
1.如何制作像Jbuilder编辑窗口那样带关闭按钮的TabPanel?? | Copy to clipboard |
Posted by: waspxyz Posted on: 2003-06-20 10:15 SOS |
2.Re:如何制作像Jbuilder编辑窗口那样带关闭按钮的TabPanel?? [Re: waspxyz] | Copy to clipboard |
Posted by: yakuu Posted on: 2003-06-20 17:48 overload public void paint(Graphics g) method to draw the "X" button or image, add addMouseListener(cl); addMouseMotionListener(cl); addChangeListener(cl); to process the event. |
3.带关闭按钮的TabPanel例子! [Re: waspxyz] | Copy to clipboard |
Posted by: juweiping Posted on: 2003-06-21 18:11 例子源码,希望满足你要求 CloseButtonTabbedPane.rar (5.52k) |
4.Re:如何制作像Jbuilder编辑窗口那样带关闭按钮的TabPanel?? [Re: waspxyz] | Copy to clipboard |
Posted by: yakuu Posted on: 2003-06-21 22:04 your code is from netbeans i think. i wrote two different class that implement the same function. sometimes we should study by self. if he cost time to learn, then he got the the knowledge. |
5.Re:如何制作像Jbuilder编辑窗口那样带关闭按钮的TabPanel?? [Re: waspxyz] | Copy to clipboard |
Posted by: juweiping Posted on: 2003-06-22 07:55 your code is from netbeans i think. From 0 may be good,but from 100 may be better,i think! |
6.Re:如何制作像Jbuilder编辑窗口那样带关闭按钮的TabPanel?? [Re: waspxyz] | Copy to clipboard |
Posted by: yakuu Posted on: 2003-06-22 11:01 a simple and easy implementation. i don't want to quarrel with you in fact. CloseableTabPane.java (8.85k) |
7.Re:如何制作像Jbuilder编辑窗口那样带关闭按钮的TabPanel?? [Re: waspxyz] | Copy to clipboard |
Posted by: juweiping Posted on: 2003-06-22 11:44 The simple implement,and the event process way is different. |
8.Re:如何制作像Jbuilder编辑窗口那样带关闭按钮的TabPanel?? [Re: waspxyz] | Copy to clipboard |
Posted by: floater Posted on: 2003-06-23 00:17 Now I feel better. A lot of times we have different views, understanding each other is more important than our each individual way because it has more dynamics. My 2 cents. |
9.Re:如何制作像Jbuilder编辑窗口那样带关闭按钮的TabPanel?? [Re: waspxyz] | Copy to clipboard |
Posted by: waspxyz Posted on: 2003-06-23 08:53 非常感谢,我搞定了 |
Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1 客服电话 18559299278 客服信箱 714923@qq.com 客服QQ 714923 |