Originally posted by Ahmed Omer:
Came across this old thread since it's very similar to a problem I'm having.
I added the thread suggestion and it seems to resolve the memory problem, however its still causing me problems.
The difference in my implementation is that Im using a JComboBox as opposed to a JButton. The JComboBox will have values added onto it as per a search method (which looks at a SQL table and returns a resultset, and then adds one of the entries in that table as an item in the combobox).
After I added the thread suggestion, it works fine when i add and choose the first item onto the JComboBox...however, its causing problems when I add and choose a second item from the JComboBox. It seems to try and overwrite the result of choosing that second entry from the combobox.
But how did the elephant get like that? What did you do? I think all we can do now is read this tiny ad:
free, earth-friendly heat - a kickstarter for putting coin in your pocket while saving the earthhttps://coderanch.com/t/751654/free-earth-friendly-heat-kickstarter