I want to create an auto complete program and I am using JComboBox for this.
Now I want to remove the down arrow in the JComboBox. How to remove the arrow?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
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.
JComboBox is compound JComponent and contains JButton with Icon, you can remove that by setIcon(null) or replace with another Icon
for example (how to do it with simple steps, NOTICE valid just for
Metal Look and Feel)EDIT: for better output you can put here
coloredArrowsButton.setRolloverIcon(someIcon);