Register / Login
Win a copy of
The Way of the Web Tester: A Beginner's Guide to Automating Tests
this week in the
Swing / AWT / SWT
drag and drop with Jlist (weird)
posted 11 years ago
I have 2 lists (A & B) where you can drag items from one another.
The problem is (and this is wierd) that if there is no item on B, you cannot drag anything from A to B.
If there's somthing on B, and you want to move an item from A to B, you first have to drag an item from B to A and only then drag an item from A to B.
does anyone have any idea?
list = new
Count items in JList
can you resolve these questions?Thanks.
Drag and Drop from JList to JTree