• Post Reply Bookmark Topic Watch Topic
  • New Topic

hi c this swing Jlist field problem

 
narasimharao konjeti
Ranch Hand
Posts: 130
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

regards
 
VIJAY Yadlapati
Ranch Hand
Posts: 175
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!