Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 282127
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T05:15:45+00:00 2026-05-12T05:15:45+00:00

My goal is to create some kind of swing component that can do two

  • 0

My goal is to create some kind of swing component that can do two things:

  1. Function as a combo box (select from a list of values)
  2. Allow a user to type into the component and only display the relevant items from the original list (like some AJAX search boxes online)

I would really like to do this by customizing an existing swing component so I don’t have to write it from scratch, but so far I have not found anything that can do this. I have considered the massive amounts of hacks that it would take to possibly get a JComboBox to do this, but I don’t really think that will work.

Any recommendations on what the best way to do this would be? Bonus points for solutions that aren’t 100% custom code.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T05:15:45+00:00Added an answer on May 12, 2026 at 5:15 am

    What you are looking for can be found be using autocomplete in your search strings.

    Comboboxes which support what you want for sure exist in several libraries just one example:

    Glazed Lists

    The following site contains a few samples (for glazedlists too) and further links to other libraries. It’s a bit dated but I guess the information is still ok.

    Adding Auto-Completion Support to Swing Comboboxes

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to create some kind of gallery view for my game's level select
My goal is to create a list from menu.bin. This is the func: pitem
My goal is to create an entry form (addnew.php) that will allow me to
I am a Clojure n00b trying to create some XML strings. My goal is
My ultimate goal is to create an eclipse plugin that sets up a PDT
I'm trying to create a C# class that can call the same methods on
I'm trying to convert to unicode and create some unit tests to ensure that
My goal is to create a composite control that looks like, acts like and
My goal is to create (or use existing) an InputStream implementation (say, MergeInputStream) that
I'm playing around with some swing guis and am trying to create a basic

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.