ngoelnoi 0 Newbie Poster

hi,

I am facing a new problem when resizing the form. I have a JTextPane on the JInternalFrame which occupy all the form space at initial stage. we have a button to add a new JTextPane on the form at run time. The new JTextPane is to be added at the top position and the previous JTextpane will be moved to the bottom of the newly added JTextpane.

But When we resize the form, the old JTextPane moves to its initial position and overlap the new JTextpane. I want to fix the position of both of the JTextpane, so they could not overlap to each other.
How can I do it?

Please Help me.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.