Results 1 to 4 of 4
  1. #1
    topple is offline Member
    Join Date
    Jan 2015
    Posts
    1
    Rep Power
    0

    Default JTabbedPane is always opaque!

    JTabbedPane is opaque even after

    jtabbedpane.setBackground(new Color(0,0,0,0));

    jtabbedPane.setBackgroundAt(index,new Color(0,0,0,0)) ;

    please reply immediately

  2. #2
    Norm's Avatar
    Norm is online now Moderator
    Join Date
    Jun 2008
    Location
    Eastern Florida
    Posts
    20,001
    Rep Power
    33

    Default Re: JTabbedPane is always opaque!

    Look at the API doc for the class to see if it has a method to control if the component is opaque.
    Java Platform SE 7
    If you don't understand my response, don't ignore it, ask a question.

  3. #3
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    12,059
    Rep Power
    25

    Default Re: JTabbedPane is always opaque!

    P.S. Don't forget to check out the methods inherited from the class's hierarchy.

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

  4. #4
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    12,059
    Rep Power
    25

    Default Re: JTabbedPane is always opaque!

    Quote Originally Posted by topple View Post
    please reply immediately
    Why, where's the fire?

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

Similar Threads

  1. Move JTabbedPane tabs to another JTabbedPane
    By totalspelnerd in forum AWT / Swing
    Replies: 0
    Last Post: 02-01-2014, 09:08 PM
  2. Replies: 2
    Last Post: 11-28-2013, 09:56 AM
  3. Click in JFrame Titlebar sets the JFrame Opaque
    By tim8w in forum AWT / Swing
    Replies: 1
    Last Post: 02-02-2013, 07:29 AM
  4. What Event Can Act only on Selected jTabbedPane Among jTabbedPane's
    By raj.mscking@gmail.com in forum AWT / Swing
    Replies: 1
    Last Post: 05-18-2012, 04:39 PM
  5. java(opaque)
    By tiger100plus in forum New To Java
    Replies: 4
    Last Post: 11-13-2008, 03:32 AM

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
  •