Hi,ranches,prolem come again. At first, i planed to user textfield as the search condition fileld "Name" and "Location". Recently, i searched some archived topics, also see some ranches user the combox as search condition. Then the problem comes.That is both "Name" and "Location" has length of 64.In the future, mybe name and/or location with 64 chars, JCombobox seems it can not set width, the width will be the largest item.If i place the two comboxes to one line, when these speacial data , the GUI will be very strange, would any rancher will give me some idea?
Hello Roberto, Thanks a lot for your quick response. When i start to work one the assignment, I plan to user JTextField as your advice. According to the data, I thought it will be a better solution using JCombox. Also, I found JCombox solution here. How they resolved this problem?
I thought it will be a better solution using JCombox.
Hum... I don't really know how the problem you addressed was solved; I didn't go through this since I used JTextFields. But... what if the database to be used in production (let's suppose this is a real scenario) has, like, 500,000 records? In terms of GUI, in my opinion, having a JComboBox would not be a very good solution...
Cheers, Roberto Perillo
SCJP, SCWCD, SCJD, SCBCD
posted 11 years ago
Thanks for you kindy reply.It will be my solution.
I was her plaything! And so was this tiny ad:
Devious Experiments for a Truly Passive Greenhouse!