Logo 
Search:

Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

alignment blues

  Asked By: Jesse    Date: Jul 05    Category: Java    Views: 623
  

i am making an aplication where there r 2 panes..left side is
JTree and right side is jtextarea..
now each of the corresponding node has a data(string)on the right
pane. now left node needs to be aligned with right data row. is
there a way to set ur position in jtextarea where the text will start
from that position????
it is coming but not completely aligned..little up data is
coming...me using

m_Textarea.getDocument().insertString(
m_Textarea.getCaretPosition(), tempval, null);

Share: 



Tagged: