Results 1 to 4 of 4
  1. #1
    izrydka is offline Member
    Join Date
    May 2010
    Posts
    2
    Rep Power
    0

    Default How to insert '{'

    Hello! I am a beginner in Java.Have to do one project and one of thing i have to do is to insert '{' ,'[','('.
    It is simple editor with line and cursor.When the cursor read [ it has to add it to the text
    For example: In text: A { B } and the OUT has to be A { B }
    I hope u get what i mean!
    Thanks in advance

  2. #2
    Sno's Avatar
    Sno
    Sno is offline Senior Member
    Join Date
    Apr 2010
    Posts
    196
    Rep Power
    5

    Default

    um, maybe i think I know what you mean, but what you describe.

    What do you mean by cursor read [? and are you inserting { [ ( between something?

    1. Create a String
    2. Research Scanner import
    3. Place Scanner Input into String
    4. use System.out.print(String Name);
    :rolleyes: ~ Sno ~ :rolleyes:
    '-~ B.S. Computer Science ~-'

  3. #3
    izrydka is offline Member
    Join Date
    May 2010
    Posts
    2
    Rep Power
    0

    Default

    Its prohibiden to use System.out.print(String Name);...

  4. #4
    Sno's Avatar
    Sno
    Sno is offline Senior Member
    Join Date
    Apr 2010
    Posts
    196
    Rep Power
    5

    Default

    Can you give me a step by step of what your trying to do?

    are you trying to highlight the text and it appears else where, or move the cursor past text and it appears else where?
    :rolleyes: ~ Sno ~ :rolleyes:
    '-~ B.S. Computer Science ~-'

Similar Threads

  1. insert records
    By rudravaram in forum JDBC
    Replies: 3
    Last Post: 01-03-2010, 06:54 PM
  2. How to insert a JButton?
    By aRTx in forum New To Java
    Replies: 1
    Last Post: 04-02-2009, 10:43 PM
  3. Replies: 3
    Last Post: 02-28-2009, 10:17 AM
  4. Help with sql insert
    By jmorris in forum New To Java
    Replies: 6
    Last Post: 12-02-2008, 08:05 PM
  5. SQL Insert Help!!!!
    By shaungoater in forum New To Java
    Replies: 1
    Last Post: 06-14-2008, 04:14 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •