How to change selected pane's color in a JTabbedPane ?

Hi there !
I'm tryin' to change selected pane's color (default : light gray) in a JTabbedPane.
I tried to use the following code :
UIManager.put("TabbedPane.selected", new Color(255,255,200));
but it doesn't seem to work.
Any idea ?
Thanks.

For me, there is no TabbedPane.selected filed in TabnedPaneUI....
try with
UIManager.put("TabbedPane.highlight", new Color(255,255,200));
or
UIManager.put("TabbedPane.background", new Color(255,255,200));

Similar Messages

  • How to change the line's color?

    In a linechart, if the backgroundColor of
    Application is not "#ffffff",there will be some white
    horizontal lines in the linechart. how to change the
    line's color?? thanks

    Hi, I hope this is what you are looking for:
    http://blog.flexexamples.com/2007/11/15/customizing-the-horizontal-grid-lines-in-a-flex-li nechart-control/

  • How to change Select-Optio ?

    Hi ,
    How to change Select-Option statement as a Parameter statement?

    Hi,
    Decalare it as
    1)If you want your SELECT -OPTIONS to behave like parameters. USe the option.
    SELECT-OPTIONS ..... NO INTERVALS NO-EXTENSION
    REPORT abc.
    DATA : v_enterpr(30) TYPE c,
    v_divin(30) TYPE c.
    SELECT-OPTIONS : s_enterp FOR v_enterpr NO INTERVALS NO-EXTENSION ,
                     s_divin  FOR v_divin NO INTERVALS NO-EXTENSION .
    2)If you want to have it as SELECT-OPTIONS.
    Then
    REPORT abc.
    DATA : v_enterpr(30) TYPE c,
    v_divin(30) TYPE c.
    SELECT-OPTIONS : s_enterp FOR v_enterpr ,
                     s_divin  FOR v_divin .
    NO-EXTENSION
    The user can only make an entry on one line. Calling the additional "Multiple Selection" screen is not supported and no pushbutton for this appears on the selection screen.
    NO INTERVALS
    The selection option is displayed on the selection screen without a 'to' field. The pushbutton for calling the "Multiple Selection" screen appears immediately after the 'from' field.
    This addition thus allows you to generate a simplified display on the selection screen. This is particularly useful if you are not making any range selections for this selection option.
    If u have both No-extension and No-interval it will behave like simple parameters stmt.
    Regards,
    Omkar.

  • How to change the Hyper links color in the XML form

    HI SDNs
    Do u have any idea how to change the hyperlink color in the xml form. My requirement is as follows.I have created xml form by using xml template and i displayed this xml form by using Km document iview.  I need tochange the hyper link color in the xml form content. I dont want to go for manual process by editing the xml form. because i have several hundreds of xml forms.
    Appreciate if you give suggestion.
    Thanks
    Ramana

    Hi Ramana,
    The most convenient way to change the hyper links is by using the Theme Editor. Go to System Administration --> Portal Display --> Select Theme --> Component-Specific Styles --> Links --> Function/Result Link.
    Hope this helps.
    Kind regards,
    Joost

  • How do I select Target shadow color in curves and levels

    On a tutorial I see that by double clicking on the shadow eyedropper in the curves dialog, I should get to the "Select target shadow color" dialog box.  However, I only get a color dialog box.
    Any clues as to how I can change dialog boxes??

    Thanks for your reply, but it is not exactly what I am asking for.  When I double click one of the three eyedroppers in the curves dialog, I get the dialog box shown in Screen shot 1:
    However, on the instructional video, and actually also on my laptop running on XP (not XP64), one gets the dialog box in screen shot 2:
    My question is can I get this on my PC running XP64?  Have I just inadvertedly changed some setting that needs to be reset??  I really appreciate your help!

  • How to change "Select a content category " text

    Hi folks,
    I really appreciate the support community, as I did deeper and deeper into the produce I've seen the same handful of names pop up across the board! Thanks for all your help!
    I was wondering how to change the "Select a content category>>" text that displays in a traditional skin next to your content categories upon generation. Specifically this:
    Is there a way to edit the text? Mine are focused on government levels and I'd like to make it easier for users.
    Thanks! Happy New Year!

    Hi there
    I believe you do it as follows:
    Click File > Project Settings.
    Ensure the General tab has focus.
    Click the Advanced... button.
    Click the LNG File tab.
    Scroll the list to the [WebHelp] section.
    Locate the item that reads: ContentCategoryList=Select a content category.
    Click on it to select it.
    Click the Edit button.
    Change the text following the equals sign it to what you want it to read.
    ContentCategoryList=Change this text
    Press Enter to accept the change.
    Click OK to dismiss the dialogs.
    Generate and test!
    Hope this helps... Rick

  • How to change the disabled value color of messageTextInput

    Hi,
    I have a requirement to change the value color of messageTextInput. And I had apply custom look and feel. For normal messageTextInput, I can change its color, but for disabled messageTextInput, the value is always gray out. I can't change its color.
    Could anyone tell me how to change it?
    Thanks,
    Eileen

    Eileen,
    This is the code u need to use in process request:
    OAMessageTextInputBean x = (OAMessageTextInputBean)webBean.findChildRecursive("<item id of message text input which have to disable>");
    //If item id of the next message text input is XXX, on which
    //u wanna set focus when user clicks on ur disables message text input
    x.setOnFocus("javascript:XXX.focus();");
    Now u can set CSS class.The above code will automatically set focus on field with item id XXX, when user clicks on it, thus not allowing user to enter anything in that message text input.
    I hope this helps.
    --Mukul                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • How to change selection screen on LDB

    Hi everybody,
    Does anyone know how to change the selection screen on a ABAP report that uses LDB ?
    What I want to do is to suppress some fields and buttons and to add hidden fields.
    Thanks for your help.
    BT

    Hi bruno,
    1. use like this :
    2.
    AT SELECTION-SCREEN OUTPUT.
    LOOP AT SCREEN.
      IF SCREEN-NAME = 'MYFIELD'.
      SCREEN-INPUT = 0.
      SCREEN-INVISIBLE = 1.
      MODIFY SCREEN.
      ENDIF.
    ENDLOOP.
    regards,
    amit m.

  • How to Change The Pan and Volume

    Hi
    I wondered how you can change the pan and volume for the audio tracks?
    Thanks

    This info was provided to me recently on panning and has helped me wonders
    http://discussions.apple.com/thread.jspa?threadID=705593&tstart=0
    J

  • How to change foreground and background color using CC SDK?

    Hello all,
    I am just starting to study the sdk (Mac CC). Currently, I am seeking the answer to change foreground and background color using CC SDK?
    Is it possible to do so? In addition, will the Image Mode such as RGB, CYMK or Grayscale be effecting such solution?
    Thanks in advance.

    These are NOT dropdown menus. They are dropdown LISTS.
    http://web.me.com/toad.hall/Demo1/Drop_DownMenus.html
    And from the links in the Google search you can learn that a list item has no style.
    And a dropdown list behaves differently from dropdown menus. Here's how it looks on Mobile Safari :

  • How to change the Find highlight color

    I am trying to find out if there is a way to change the Find Highlight color in office 2013.
    Every time I search for a word or anything it uses a light yallow to highlight that line or word, and I woudl like to replace the yellow with like a teal or a green or some other color that I'm not using already in my Word document. This way I can find out
    were it is telling me It is because I have a lot of stuff already highlighted yallow, and when I click find and search for something in the Navigation window and it finds it. It also puts it as a lighter yellow and it confuses me.

    Hi,
    As far as I know, we can't change the highlight color when using Find in Word. The highlight color is fixed.
    As a workaround, you can try to use Advanced Find instead which will show the search result with a different color.
    Best Regards,
    Steve Fan
    TechNet Community Support

  • How can i change 'selected menu link' color in af:menuTree

    Hi,
    Is there any selector specifically for highlighting the currently selected menu item in
    the af:menuTree.
    Right now in my skin it is taking the style of .AFDarkForeground:alias.
    I want my selected link to have different color other than AFDarkForeground:alias is having.
    Thanks,
    Sanjaykar

    Hi Frank,
    No it is not working..the style does not change..
    Any other selectors??
    Thanks,
    Sanjaykar

  • How to change selected item color and the selected area size of listview

    What i really need to do is change the following things in XMAL.
    1. Changing the selection color
    2. Size of selected area 
    Thanks in advance.
    Dileepa S. Rajapaksa
    Trainee Developer
    Microsoft, Sri Lanka
    Twitter : @dsrajapaksa
    Blog : http://www.dileepatech.net

    Hi Dileepa,
    It is possible by customize the control by its template, see this for more information:
    ListViewItem styles and templates.
    By changing the selected visual state, you can change the color of the ListView item background, also the size of the selected item.
    --James
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • [i]How to change the[/i]   background color in a webdynpro?

    Does somebody know how I can simpley change the background color in a webdynpro?

    You need to use external CSS..via the sap-ep-themeroot or sap-cssurl.
    For downloading and changing CSS. pls refer to
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/7015b1f9-535c-2910-c8b7-e681fe75aaf8
    Note: as stated in the documentation for a external CSS, that is just placing it in /SAP/PUBLIC Folder, <b>did not work</b> for me....
    Do following it works..
    Create a BSP application, ZCUSTOMTHEME. GO to MIME Repository and create a folder zmytheme under ZCUSTOMTHEME
    open SE38 and execute BSP_UPDATE_MIMEREPOS and upload ur custom theme under this folder.. /sap/bc/bsp/sap/ZCUSTOMTHEME/zmytheme
    While calling ur WD application....append following at end of URL
    sap-ep-themeroot = /sap/bc/bsp/ZCUSTOMTHEME/zmytheme'

  • How to change Selection Criteria for a Business Content Data Source

    Hi Experts
    I am extracting data using 0CO_OM_CCA_9 Datasource. I would like to be able to select a range of Company Code (BUKRS) to pull in, but I cannot find a way to make certain fields available as selection criteria. When I go into "Change DataSource", I can unselect fields, and even select certain fields, but the option for most is grayed out.
    How can I make this field available as selection criteria in Infopackage?
    Thanks for the help.

    Its not that simple to enable a new selection for a Business Content Datasource, if its not already provided by SAP. Enabling new fields for selection should be accompanied by corresponding extractor code changes to process those field selections and use those selections throughout the extraction process.
    Solution for your problem would be create a custom extractor with all the logic of standard extractor (function module BWOMD_GET_CTRCSTA1 for 0CO_OM_CCA_9) and extra logic to process the new fields for selection.
    Hope it helps!

Maybe you are looking for