Dear Java Programmers,

I am fairly new to Java Programming as you guess,
and I need to program a new GUI to sell train tickets.
One of the requirements is that the "input pages" (JPanels)
slide from left to right.
In other words the old one slides out of the screen and the
new one slides in at the same time.
The sliding stops when the new JPanel
completely replaced the old one in the center of the screen.
The procedure repeats when the user moves to the next
input page.
Right now I can create various input pages (JPanels)
and I can place them where ever I want,
but I have no idea how to move them?

Can anyone give me an hint, where to start?
Or is there JFC Object which already does the job?
Or what is the general approach for such a feature?

Thanks in advance,