Results 1 to 2 of 2
  1. #1
    Ada
    Ada is offline Member
    Join Date
    May 2007
    Posts
    8
    Rep Power
    0

    Default Transparent JTextPane

    Is there a way to make JTextPane transparent (no white background in the editing window)?

  2. #2
    levent Guest

    Default

    Try setOpaque(boolean) method in the following way:

    Java Code:
          setOpaque(false);

Similar Threads

  1. how to show a html document on JTextPane
    By mary in forum Advanced Java
    Replies: 2
    Last Post: 08-02-2007, 02:40 PM
  2. how to insert tables into JTextPane
    By osval in forum AWT / Swing
    Replies: 1
    Last Post: 07-29-2007, 10:11 AM
  3. Replies: 1
    Last Post: 07-17-2007, 05:10 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
  •