Register / Login
Win a copy of
The Way of the Web Tester: A Beginner's Guide to Automating Tests
this week in the
Swing / AWT / SWT
paint JTextPane in java.awt.Rectangle
posted 9 years ago
I'm developing a program that allows users to drag rectangles with diffrent z-index etc.
Now I'm building a WYSIWYG editor to let the users add information to the rectangles.
I want the users to see the text in the rectangles and planning to use a
for this with
attached to the editor. How can I paint the
. The rectangles are painted in a
must I add all the JTextPanes to the
? The Rectangles can be dragged so I hope I can add them to the Rectangle some how. Anyone who has an id�?
How to copy styled text
painting hundreds of Rectangles in JPanel
repaint entire component
JPanel and JTextPane