I am working on a Swing application which allows the user the flexibility to copy data from an Excel spreadsheet and paste it into a set of JTextfields. The code looks something like this:
This used to work reasonably well in JDK1.3. But on running this with JDK 1.5, it behaves strangely. If I attempt to paste data from 10 cells in Excel into 10 individual JTextfields, only the first Textfield retains the data, all the other seem to get cleared out, but the cursor finally rests the 10th JTextField.
Any ideas, anybody?
Some days are diamonds; some days are just stones
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads