You could use a JSplitPane, but that deals only with two components. So, to achieve the effect shown, you need to split those components into one or more components themselves. But you don't need per se a JSplitPane, you can set a decent LayoutManager that can handle more then just one other panel. FlowLayout, GridLayout, BorderLayout, et cetera. So do have a look at the Oracle tutorial about LayoutManagers:
You should be aware that Eclipse uses a much more complex way of creating split windows than simply using JSplitPanes. This is usually called docking panes.
There are several resources available, such as here or this previous post.
However, this can get rather complex and is not recommended for the beginner.
bacon. tiny ad:
RavenDB is an Open Source NoSQL Database that’s fully transactional (ACID) across your database