|

如图
有tab 1 and tab 2
each tab hav button to choose from button 1 to button 3
after i choose 1 den i click send, den it will display thing i had select
有一个问题就是当我select 1 button at tab 1
after that when i wan select a button from tab 2 and click send
it display the info from button from tab 2 but it aso display info button from tab 1
how to i disable all button in tab 1 to be display when i choose button from tab 2
and similiarly how to i disable button in tab 2 when i choose button from tab 1
after i click 1 button at tab 1
how to make it the button i click at tab1 to be de-select when i click button on tab and vice-versa.
what method should i use
i got try use add listener but it canot work
any1 hav any idea o method,
veli appreciate it. |
|
|
|
|
|
|
|
发表于 4-7-2007 09:42 PM
|
显示全部楼层
|
|
|
|
|
|
|

楼主 |
发表于 4-7-2007 11:09 PM
|
显示全部楼层
原帖由 苦瓜汤 于 4-7-2007 09:42 PM 发表 
http://java.sun.com/j2se/1.5.0/d ... l#addChangeListener(javax.swing.event.ChangeListener)
ChangeListener可以办得到。
请问那里可以找到相关example source-code?
因为我看了不是很明白 |
|
|
|
|
|
|
|
发表于 5-7-2007 07:10 AM
|
显示全部楼层
|
|
|
|
|
|
| |
本周最热论坛帖子
|