hi, I am working on help module. In the module, I have to select the desired field, at top of the list box, that means, it should be a first field of list box. please suggest me coding, i am new to swings.
"Unwise to sweat petty stuff, wise to pet sweaty stuff."
posted 13 years ago
What I understood is out of many elements in List, when you select an element it will be the first element in the List. If what I understood is what you say, set model instance of DefaultListModel to the ListBox and operate on ListModel. Work more on SWING to know that you knew nothing.