Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JTextArea Problem

 
Pranit Saha
Ranch Hand
Posts: 130
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm making a Test Engine.. The questions are displayed in random in a JTextArea object.. The thing is i've set the vertical scrollbar as needed.. but whenever it's needed the JTextArea becomes too small and doesn't display nething.. Obviously it's there inside a ScrollPane.. pls help..
 
Sajee Joseph
Ranch Hand
Posts: 200
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
how did u construct the textarea ??
rows??colums??
 
Pranit Saha
Ranch Hand
Posts: 130
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JTextArea question = new JTextArea(" ",17,60);
Thanks for ur reply..
Originally posted by Sajee Joseph:
Hi,
how did u construct the textarea ??
rows??colums??

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic