• Post Reply Bookmark Topic Watch Topic
  • New Topic

Adding Components to JTextPane

 
kumar mars
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hai
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
thanks
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!