A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
List Box problem
Joined: Apr 29, 2005
Mar 03, 2006 00:10:00
I have a list box which contains 2 different type of values. one is comming from array1 these are previously selected values and second comming form array2 these previously unselected values.
when i select the value in list box that value goes to other page and get the report corresponding that value. It's working fine.
Now my question is, i want to give the control only selected values that values will be goes and get the report not for all values.
HOW TO IDENTIFY, SELECTED VALUES AND UNSELECTD VALUES FROM SINGLE LIST BOX
THE SELECTD VALUES CONTAINS BLUE COLOR AND UNSELECTED VALES CONTAIN TEXT GREY COLOR.
HELP ME ...
Joined: Nov 08, 2001
Mar 03, 2006 07:19:00
I think you need to compare the selection with the arrays and determine it that way.
subject: List Box problem
JTable.clearSelection Doesn't Unselect JTextField
storing check boxes values into diffrent columns
HTTPRequest & Multiple selections in a ListBox
storing checkbox values
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015