Hello, this is my problem
JTabbedPane, Can we change the event that cause tab switching :confused:

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