How to Use Editor Panes and Text Panes (The Java™ Tutorials > Creating a GUI With JFC/Swing > Using Swing Components)
Type: Posts; User: KevinWorkman
How to Use Editor Panes and Text Panes (The Java™ Tutorials > Creating a GUI With JFC/Swing > Using Swing Components)
Well you know JTextPanes support embedded images and whatnot, right?
The size of a JPanel is mostly handled by the layout you're using with it. You could set the size of the JPanel, but make sure that the layout you're using honors it.
You could also use a...