I'm new to using gridlayout and combo boxs. I would like to get a combo box with three options, Saint Mary's hospital, Methodist, and both. Once an option is selected a search (textfield) will look through that certain list for certain names. This is what I have so far and I'm just trying to figure out how to get the combo box to appear.
ok well, I decided to go with a different format because I like the gui better. I copied it from another source so now i'm trying to figure out how to get the drop down box in the upper left side and I do not need a button, I would like to have SMH, RMH, Both used as the pavilion when they are selected without having to click an apply type of button.
Why don't you try writing the code? There may be parts of what you've posted that you can use as examples for what will be in your program, including general guidance in how to code a GUI, but I recommend starting with your own program and adding what you need to it rather than taking someone else's code and modifying it to suit your needs, especially if you're trying to learn the language.
I'm not comfortable helping you modify someone else's code into something you'll call your own without knowing the originator is OK with it.
Always learning Java, currently using Eclipse on Fedora.
Linux user#: 501795