hi i’m working with java gui atm. Playing around with textPane and textArea. I know how to change the size of a textArea, but how do i change the size of a textPane? I’ve been trying to look up ways to do it, but it seems like most the topics are on changing font size nothing really on the pane size itself…..so is there a way to change the size of a textPane? if so how?
Share
The size of the component is controlled by the layout manager.
LayoutManagerfor theContainercontaining theJTextPane.JTextPaneFurther reading: