Netbeans IDE v7
Java newbie (to state the obvious)
This is a Java GUI app. It is working great after much trial, effort, learning, and some great tips from this forum! Now I want the combobox to display two columns from the database instead of just one. I need the combobox to allow selecting only certain rows, depending on the value of the second column.
For example, the list displays:
I want all to display but you can only select from rows that have Used_Flag = 1.
Thanks, I read that in another forum but am unsure how to implement that in my Project.
All of the code for the combobox was generated by Netbeans and I am not sure where I can insert custom code to accomplish this.
One of my goals is to re-code my project manually (like you've done); but I'd like to get it done in the IDE first. Here is the main class:
A lot of that code is not editable so changes have to be made in the GUI property boxes, but I'm trying to figure that part out!
Joined: Jun 13, 2009
I have no idea how to do this in an IDE.
I would rather spend my time learnting Java instead of learning the IDE.
Good idea. To repeat once again what I've said many many times before, a visual designer is not a beginners' tool. To be able to use its features, you need to already know the intricacies of Swing coding.
There are no new questions, but there may be new answers.