This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Adding Components to JTextPane  RSS feed

kumar mars
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a problem in adding components to JTextPane
i added two strings using insertString()
and then a textfield using insertComponent()
but the textfield is coming ahead of rhe strings
as the first component
is there any way to specify the location for the component so that it gets added to the JTextPane after the strings.
expecting an early reply
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!