Results 1 to 8 of 8
  1. #1
    shravan28 is offline Member
    Join Date
    Mar 2009
    Posts
    6
    Rep Power
    0

    Question Partly editable SourceViewer

    Hi all

    My source viewer contains three regions. Text in 1st and 3rd region is constant which should be readonly and the text in2nd region is initially empty, which should be editable by user. Does anyone know how to accomplish this?

    Thanks in advance..

  2. #2
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

  3. #3
    shravan28 is offline Member
    Join Date
    Mar 2009
    Posts
    6
    Rep Power
    0

    Post is this a swing forum?:p

    i want to do it with swt jface..not swing.

  4. #4
    shravan28 is offline Member
    Join Date
    Mar 2009
    Posts
    6
    Rep Power
    0

    Default

    and i want in one editor..not three controls

  5. #5
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

    Default

    Quote Originally Posted by shravan28 View Post
    and i want in one editor..not three controls
    I don't think it's possible to do with a single control.

  6. #6
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

    Default

    Quote Originally Posted by shravan28 View Post
    i want to do it with swt jface..not swing.
    Just few things differ from the swing and awt. Did you search anything on the web, about text areas?

  7. #7
    shravan28 is offline Member
    Join Date
    Mar 2009
    Posts
    6
    Rep Power
    0

    Question

    i think it could be done with partitions and document...but iam a beginner so donno much. Can anyone help me?

  8. #8
    shravan28 is offline Member
    Join Date
    Mar 2009
    Posts
    6
    Rep Power
    0

    Default

    what iam doing is to be integrated into eclipse. so cant use swing at all.

Similar Threads

  1. Using Editable Pdf form fields in Application
    By jiten.mistry in forum Advanced Java
    Replies: 5
    Last Post: 09-21-2011, 08:37 PM
  2. Replies: 3
    Last Post: 01-11-2009, 11:20 PM
  3. Creating a non-editable combo box
    By Java Tip in forum SWT Tips
    Replies: 0
    Last Post: 07-07-2008, 04:45 PM
  4. Returning a string (Partly Bold)
    By TampaTechGuy in forum New To Java
    Replies: 3
    Last Post: 02-03-2008, 09:54 AM
  5. Jtree - making parts editable
    By kmarie in forum AWT / Swing
    Replies: 1
    Last Post: 07-27-2007, 02:34 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
  •