Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to display a jlist as a popup at any location  RSS feed

 
Abhinav Anand
Ranch Hand
Posts: 113
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys,
I want to display a Jlist anywhere on the gui. Actually i want to provide the user with a gui facility in which as when they type something in a text field, a small list pops up just below displaying a list of all available options.
This will be a very handy tool and it will provide the user with a lot of flexibility at feeding code numbers.
Can it be done by extending JPopup implementation provided in java api.
Thanks in Advance.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!