JTextArea hides some text

Page 1 of 1

1 Replies - 149 Views - Last Post: 06 August 2013 - 05:12 PM Rate Topic: -----

#1 ChrisNt  Icon User is online

  • D.I.C Addict

Reputation: 201
  • View blog
  • Posts: 631
  • Joined: 31-July 13

JTextArea hides some text

Posted 06 August 2013 - 04:37 PM

JTextArea is not showing the whole text ..for example my text is : "It is a fast car but not easy to handle it" and JTextArea shows "It is a fast car but handle it"


public void testCode() {

		JTextArea notesTxtArea = new JTextArea(5,25);
		notesTxtArea.setRows(6);
		notesTxtArea.setLineWrap(true);
		panel4.add(notesTxtArea);	
	}



Is This A Good Question/Topic? 0
  • +

Replies To: JTextArea hides some text

#2 farrell2k  Icon User is online

  • D.I.C Lover
  • member icon

Reputation: 823
  • View blog
  • Posts: 2,532
  • Joined: 29-July 11

Re: JTextArea hides some text

Posted 06 August 2013 - 05:12 PM

LOL. Oops. Read it wrong. :)

This post has been edited by farrell2k: 06 August 2013 - 05:17 PM

Was This Post Helpful? 0
  • +
  • -

Page 1 of 1