Welcome to the Java Programming Forums

The professional, friendly Java community. 21,500 members and growing!

The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: Insert BR in text

  1. #1
    Junior Member
    Join Date
    Mar 2014
    Thanked 0 Times in 0 Posts

    Default Insert BR in text

    I need to insert a break line to a text message on hitting enter by taking its ascii value i.e 10.I have used node.insert commands.I have tried using node.insertAttribute and node.insertChars but is not working ....

  2. #2
    Join Date
    Oct 2013
    Manila, Philippines
    My Mood
    Thanked 64 Times in 61 Posts

    Default Re: Insert BR in text

    Welcome! Please read Announcements - What's Wrong With My Code? to learn how to post code correctly and other useful info for new members.

    I need to insert a break line to a text message
    on what? console? file? please be specific
    can you provide here your code?

Similar Threads

  1. Insert Text in Column Cells
    By theperfectpunk in forum JavaFX
    Replies: 1
    Last Post: February 23rd, 2014, 05:19 AM
  2. how to insert in a different jsp website?
    By absineo in forum JavaServer Pages: JSP & JSTL
    Replies: 1
    Last Post: February 5th, 2014, 04:31 AM
  3. how to insert the value to table in form
    By palani in forum AWT / Java Swing
    Replies: 4
    Last Post: September 3rd, 2010, 12:23 PM
  4. Unable to insert records
    By javaprogrammer11 in forum JavaServer Pages: JSP & JSTL
    Replies: 0
    Last Post: March 24th, 2010, 03:16 AM
  5. Insert sort algorithm
    By Alysosh in forum Algorithms & Recursion
    Replies: 1
    Last Post: May 26th, 2009, 09:28 AM