I want to add two components on the right side, i.e. JTextField and JTable on right side of the split plane. The below code is not working. What shall I do?

The result of the above code :( but if I add component (table) in the JScrollPane then it's showing table on right side.


Don't set the layout manager to null. Use an appropriate layout manager. I suggest using BorderLayout.
The below code is not a complete solution, just an example to get you started.
Here is a screen capture.