Remove white outline JFrame

I have JFrame with a JTextPane in it. Kind of a very simple text editor. Now the problem is there is a very thin white border around the frame. This is ok if the color of the text pane is white but if …

Two linked JTextPanes

I have two JTextPanes with static size and I want to connect them like two pages in text processor. If I write something in the first JTextPane (page) and it will be too long for one JTextPane then it …