I came from List in awt....
Im currently having an experiment about JList....
say like 140,280 ( h,w )
i have 4 values that have been set on JList
using addElement from DefaultListMode l....
"r03XXXX", "JoshAH", "BigDaddy", and "me"......
The JList obviously will not be full ( i mean, the scrollbar not appear ) for just those values.....
i think it needs approximately 10 values to be added so that the scrollbar will start to appear....
So now, as i clicked those values, well, highlighted ofcourse.....
If im try to click those blank values... i mean, those empty spaces in the JList,
i want the current choosen value to be not highlighted.... .
for example, i will click "me".... "me" will be highlighted, and by clicking the empty space, i like to unhighlight the "me" value.....
Is it possible?
What can you advice me experts?
What event should i first read?
waiting for your replies,
sukatoa
Im currently having an experiment about JList....
say like 140,280 ( h,w )
i have 4 values that have been set on JList
using addElement from DefaultListMode l....
"r03XXXX", "JoshAH", "BigDaddy", and "me"......
The JList obviously will not be full ( i mean, the scrollbar not appear ) for just those values.....
i think it needs approximately 10 values to be added so that the scrollbar will start to appear....
So now, as i clicked those values, well, highlighted ofcourse.....
If im try to click those blank values... i mean, those empty spaces in the JList,
i want the current choosen value to be not highlighted.... .
for example, i will click "me".... "me" will be highlighted, and by clicking the empty space, i like to unhighlight the "me" value.....
Is it possible?
What can you advice me experts?
What event should i first read?
waiting for your replies,
sukatoa
Comment