I want to implement UI like as image which attach my two tables; im using JAVA swing to implement a drag and drop User interface for users to generate a database xml code e.g. DB Designer Fork.
Have implemented design of tables just wanted to get idea how to make a line which will be attached to the table han onclick.