Tagged Questions

A JComboBox is a Java GUI object. It is a combination of a drop-down list and a single-line JTextField, allowing the user to either type a value directly into the control or choose from the list of existing options.

I have following problem:
I've inserted into the 5th column of my JTable for each row an JComboBox-Object.
Everything is fine until I want to rowsort the column with setAutoCreateRowSorter(true). In ...

I have a question. I want to use a search view in an application in Android. All the tutorials I found deal with creating activities, setting all kind of metadata, etc, etc.
There is any way I could ...

I have a list (ArrayList) with elements that I want to show in two JComboBox so both of them show the same elements but when you choose some elements in one JComboBox the other one must not change.
...

I have been trying to determine why my JComboBox is displaying the 1st item in the list through numerous Google searches, but I'm struggling to find relevant help. It could be that I don't know the ...

I have created a JFrame in my project which takes input from JComboBox. I have added EventListener to combo box. I.E. when I select "Other" item from ment, it should create one instance of JDialog. ...

I am having an issue with my JButtons and JComboBox I need to show a message if the user does not select a state then he gets a warning until he selects a state. But it keep screwing up and when it I ...

What I have attached below is a copy/paste of my attempt to get and set a series of JComboBox's. hName and hAddress are dealing with a JTextField, so those are working fine, but for some reason I can ...

Hi, I working on a Java Application. I have some problems with it. When I run app first time there is no any trouble. I want to clear previous department and group informations and load new results ...

I have found this code on internet but don't know how to implement it in net-beans. I need to open Jtable insted of list in combo box.
https://community.oracle.com/thread/1352329
I want to use this ...

I have to write a Java code where I should get input from 2 different combo boxes. The input, that I will get, has to be display in a text field. I have written a part of my code but I can't get the ...

I am currently loading data from a database and I am rendering this data into a Jtable. I would like to make the first column a combobox , but to set the value in each combobox based on the incoming ...

I'm using auto Complete with glazed List by using example in this page.
https://today.java.net/pub/a/today/2007/07/19/adding-auto-completion-to-swing-comboboxes.html
Object[] elements = new Object[] ...

I a GUI which contains two JTextField and one JComboBox, based on the content of the JComboBox, I will show another JPanel that contains a set of components.
so I proceeded as follows (it worked) but ...

I am using a JComboBox as a cell editor for one of my JTbale column.I want to implement autocomplete in my JComboBox. I used a jar file from this link here. When I run my program it is giving me this ...

I need to display two connected combo boxes with directory names. There is a start path which contains multiple directories that are displayed in the first jcombobox, and when a directory is selected, ...

I have a JTable that has four columns. In the second column I have assigned a JComboBox to be the cell editor of my column.The problem that I encountered is that I cannot handle the combobox the way I ...

i was making an library management system,
here when u are adding book, u select a category from jcombobox, now jcombobox is getting categories(items) from another table, issue is this that it runs ...

I started making a small application where the user is required to select their province from a combobox, I added an action listener to the combobox. I wanted to test the ActionListener so I just made ...

I have created editable Jcombobox which has retrieves items from the database but i need that the items have to pop up based on the letters that i have pressed. It should pop up only that items based ...

Date: (combobox for day) (combobox for month) (combobox for year)
I've got these three combo boxes and i want to get the selected item and store it into String date; to store into database mysql.
I'm ...