> Hi all,
>
> I would like to set a static header on top of the JTextPane to show the title.
>
> How do I go about doing that?
One simple way would be to create a parent JPanel. Set that JPanel to
use a new BorderLayout. Add the JTextPane to the parent panel using
BorderLayout.CENTER. Add your static header (JLabel, other JPanel, etc.)
to the parent JPanel using BorderLayout.NORTH.