coordinate (x,y) position in the textarea
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   fake_fake
Posted On:   Friday, January 20, 2006 02:41 AM

i'm wondering how to display inputtext where i set, not orderly.Eg. In the textarea, "hello" is set anyhow (not start (0,0))! TextArea _______________________________ ...............................................| .............Hello!...........................| ...............................................| ...............................................| ................................Hello!........| ...............................................| ______________________________| how can i do that?    More>>


i'm wondering how to display inputtext where i set, not orderly.Eg. In the textarea, "hello" is set anyhow (not start (0,0))!


TextArea

_______________________________

...............................................|

.............Hello!...........................|

...............................................|

...............................................|

................................Hello!........|

...............................................|

______________________________|



how can i do that?

   <<Less

Re: coordinate (x,y) position in the textarea

Posted By:   Almagest_FUTT  
Posted On:   Monday, January 23, 2006 05:32 AM

JTextArea doesn't seem to be the appropriate component to do what you intend to.

With the JTextArea, AFAIK, your only option is to work with leading whitespaces.
About | Sitemap | Contact