It appears that you can nest Swing components inside of a JPanel to create your database table component.
JPanel
JLabel
JScrollPane
JTree
JScrollPane
JList
This may or may not be easier than creating a custom Swing component.
You will definitely want to create a GUI model that combines the DefaultMutableTreeNodes of the JTree and the DefaultListModel of the JList.