Results 1 to 2 of 2
  1. #1
    wired-in=p is offline Member
    Join Date
    Jul 2011
    Rep Power

    Default Clearing Documents in TextPanes

    I have inserted string into a styled document of a JTextPane. How do I modify the string that I have inserted directly, such as clearing it for instance. I looked at the Java API but it is still unclear to me.

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Madgaon, Goa, India
    Rep Power

    Default Re: Clearing Documents in TextPanes

    Moved from 'New to Java'

    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

Similar Threads

  1. Replies: 4
    Last Post: 01-06-2012, 05:23 PM
  2. screen not clearing during resize
    By cl2606 in forum Java Applets
    Replies: 5
    Last Post: 11-23-2011, 12:55 PM
  3. Having problems clearing an arrayList
    By zenitis in forum New To Java
    Replies: 8
    Last Post: 05-05-2011, 10:29 PM
  4. Dialog box clearing graphics
    By theborland in forum Java Applets
    Replies: 1
    Last Post: 12-03-2010, 08:27 PM
  5. Help Clearing BufferedImage
    By ketann in forum Java 2D
    Replies: 19
    Last Post: 03-29-2010, 08:45 PM

Tags for this Thread

Posting Permissions

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