1. JComboBox question forums.netbeans.orgHello Guys I wanted to ask a question regarding JComboBox. I am using a JComboBox with three variables names on it. My question is, how am I specifying a variable name ... |
2. question regarding jComboboxes forums.netbeans.orgthen I do not want to invoke the actionlistener on the jComboBox1, however if the same thing was performed by the user, the control should go over to the actionlistener. Any ... |
3. JComboBox - rookie question coderanch.comI am writing my first swing pgm, so this may sound ridiculous, but here it is -- i have an employee table, employee number and name being the fields. i want to display the names in a jcombobox, but do the maintenance (edit/create/delete) using the employee number. how do i do this? i.e if the user selects the name, how do ... |
4. Swing JComboBox question coderanch.com |
5. a stupid question of JCombobox coderanch.com |
6. A question about JComboBox coderanch.com |
7. Small Question Regarding JComboBox coderanch.com |
8. JComboBox Question coderanch.comOk.... for those interested in "one" way of doing this.... here is my first cut at it. I think a DocumentListener may work also....... JComboBox box = new JComboBox(); ((JTextComponet) box.getEditor().getEditorComponent.addKeyListener( new KeyAdaptor() { public void keyReleased(KeyEvent e) { if(box.isEditable() == true) { //they pressed a key - display the drop down. box.setPopupVisible(true); JTextField textField = (JTextField) ((BasicComboBoxEditor) box.getEditor()).getEditorComponent(); String keyString ... |
9. Question about JCombobox coderanch.comHi , I have a JCombobox . I have attached one action listener to it. When I select something from the drop down , the action listener is called , which is I want . But if I change something in the text area of the combo box , the action listener is also fired . which I dont want . ... |
10. Swing Calender, ComboBox and timer questions coderanch.comim trying to code a program at the minute which when you set specific times to switch something on in this case a boiler (theretically) So i need to have a switch on time and switch off time therefore i have used JComboBoxes then used a string array to hold the value for hours and minutes and then converted them into ... |
11. JComboBox simple question forums.oracle.comI think is a very simple question, I ve got a JComBox with an array of Strings. Something like this: JPanel myPanel; JComBox box; String levels[]={"Level 1","Level 2","Level 3","Level 4","Level 5"}; box = new JComboBox (levels); myPanel.add(box); Ok. My question is: How can I let just the level 1 enable at first, or how can I enable or disable just one ... |
12. Question about JComboBox forums.oracle.comHello, I've a little problem with a JComboBox. I'm going to explain what's going wrong: I have a MySQL database with a table "Swimmers" (id, name, address,..). I want to show the swimmers in a JComboBox and that's no problem. I just get the id + name of all the swimmers with SQL and put their name into the JComboBox with ... |
13. JComboBox question forums.oracle.com |
14. Question about JComboBox forums.oracle.com |
15. Question about JComboBox component forums.oracle.comWhen you disable your combobox the text is "greyed" out. Are you >asking how to change that because you don't like it? Why would you >want to do that. They whole point of "greying" out the text is to inform >the user they cannot use the combobox. Your are wrong! When you disable your combobox the text is NOT "greyed"!!! Background ... |