| Author |
help drag and drop in JTabbedPane
|
Ro Ah
Greenhorn
Joined: Aug 14, 2007
Posts: 15
|
|
Hello, this is my problem JTabbedPane, Can we change the event that cause tab switching Facts about it: 1-I am working on a program that allows the user to drag and drop between swing controls ex: (TextField, JList ...). 2- To switch between tabs in JTabbedPane user has to click on the tab. The problem is how to allow the user to do this if the user wants to drag some thing from the first tab and drop it on a component in the second tab I was trying to change the event that cause the tabs to change from mouse click to mouseEntered or something like this but I till now I couldn�t find how Thanks
|
 |
Maneesh Godbole
Saloon Keeper
Joined: Jul 26, 2007
Posts: 8430
|
|
|
When the tab has the focus, CTRL+TAB or the Arrow Keys toggle between the tabs.
|
[Donate a pint, save a life!] [How to ask questions] [Onff-turn it on!]
|
 |
Ro Ah
Greenhorn
Joined: Aug 14, 2007
Posts: 15
|
|
The problem is the a tab get focus when user click on tab name once user clicks the dragged data is lost so, i want to know if there is any way that makes tab get focus on event like MouseEnter Thanks
|
 |
 |
|
|
subject: help drag and drop in JTabbedPane
|
|
|