0

How to generate the objects dynamically in Jeditorpane?

For Eg: When i click on "Submit" button, it used to create editor pane objects dynamically such that i can get the values from editor pane or set the values to the editor pane using object name.

Thanks

aleroot
  • 68,849
  • 28
  • 172
  • 209

1 Answers1

2
mKorbel
  • 109,107
  • 18
  • 130
  • 305
  • Also consider `JTextPane`, which has `insertComponent()` and `insertIcon()` methods, illustrated [here](http://stackoverflow.com/a/11744971/230513). – trashgod Sep 25 '12 at 19:27