How to change highlight color of a focus Button

When a Button gained focus, there is a dotted line around the button label. I'd like to change the color. Not able to find out how. Is it possible? Please help.

Hi,
Use the following methods to that label and set its values to false
void setBorderPainted(boolean b)
void setContentAreaFilled(boolean b)
void setFocusPainted(boolean b)
This will work out for you

Similar Messages

  • How to change highlight color of PDF texts to the standard golden yellow on Preview app?

    I use the Preview app to read my PDF books. I also read these same books on my iPad. When I read my books, I like to highlight the text. I'm used to highlight my text with the standard golden yellow on my iPad. When I use Preview, the only choice of yellow color I've found is a somewhat orange yellow that's called "yellow". Besides that, I see only 5 highlight options. Anyway, I'd like to highlight my text on Preview with the standard golden yellow, the same color that is available in almost all PDF editing apps. Anyway, how can I highlight my pdf texts with the standard golden yellow on the Mac Preview app?!

    Here is a picture to show the difference between the standard golden yellow (above) and the mac preview called yellow (below - looks like orange to me).
    Is there a way to highlight the pdf texts on Preview app in the golden yellow color, shown above?

  • How to change highlight color for menus?

    What controls the highlight color used for Firefox menus? ... like Find, Print and About ... the main menus.
    I used the Stratiform Plug-in to change my font color to blue and now it's exactly the same as the highlight color ... so highlighting makes the entry's text invisible.
    I want my highlight color to be YELLOW only, regardless of any theme I might use.

    Good idea ... but (in XP) the color for Selected Items only affects Windows menu entries. It looks like some other setting affects the Firefox ones. I've attached a couple of captures to show what I'm seeing.
    Thanks for trying.

  • How to change highlight color in Preview quickly?

    I do a lot of reading and annotating of PDFs using Preview. While I love just about everything about this program, my only complaint (if it could be called that) is that I can't figure out a quick way to cycle through the highlight colors without using the palette drop-down. Has anyone figured out a clever way to hotkey the colors for the highlighting annotation tool?

    yorkait wrote:
    You simply create new keyboard shortcuts for the Preview application (in system preferences). And set the shortcuts to "Red", "Yellow", and so on. This works because the contextual menu with the color is labelled this way. I binded all colors on Shift + Command + *letters from the first left hand side rows of keys*. Very handy.
    (Now if someone figured out how to customize the default colors I would be eternally grateful.)
    Great thanks, I didn't realize you could do that for those kind of menus as well until about a month ago when David Sparks showed doing that for Mail accounts.  I have been using the assignable key commands since they added that in Tiger.   I ended up doing something so much more complicated using Keymon and Size up to move the mouse and position the document on screen. 
    Thanks again I will add this and use this all the time!

  • How to change highlight color in Pages for iPad?

    Is there any way to do this? I know i can highlight selected text, but there is no option for choosing the color. It's always yellow and I would really like to highlight my text with many different colors.

    It looks like the Highlight (background) color can only be yellow.
    The best work around I can find is to change the text color itself which may work like a highlight of the text (like red, green or blue) which makes it stand out.  Maybe that will help?
    Format Inspector (the brush) > Style > Touch the Size and Font item > Color > swipe to see options.
    Note even there you can't go beyond predefined colors but you can make text stand out.
    ivan

  • How to Change Highlight Color

    One image selected is light grey. Selected images are medium grey. Unselected Images are dark grey. Is there a way to change them to Yellow or something to make it obvious?

    Nope.
    Hal

  • How to change group colors

    How to change group color in ical

    To change group colors:
    highlight 'desired' group,
    under <Edit>, choose <Get Info>,
    this should give you a smaller window:
              'desired' Info
              Name: desired                    Box with color choices
                                                       (dropdown colors; 'other' accesses other color palettes)
              Description: (can be added)
              Box ' Ignore alarms'
              'Publish...'                    'Cancel'                    'OK'
       4. make color choice,
       5. choose <OK> to complete color change, or <Cancel> original color remains.
    I do hope I've gotten this correct.

  • Change highlight color in pages

    Hey guys and gals,
    Would anyone happen to know whether changing highlight color in Pages is possible, and if so - how?
    I searched all over and found no satifsying answers.
    Thank in advance!
    Eran

    It looks like the Highlight (background) color can only be yellow.
    The best work around I can find is to change the text color itself which may work like a highlight of the text (like red, green or blue) which makes it stand out.  Maybe that will help?
    Format Inspector (the brush) > Style > Touch the Size and Font item > Color > swipe to see options.
    Note even there you can't go beyond predefined colors but you can make text stand out.
    ivan

  • Changing Highlight Color Behind Theme Button

    Hello -
    I've scoured this message board and saw similar postings, but none that answered my question on how to change the highlight color behind the theme button. I put together a DVD w/button themes that play the videos inside, and when my friend goes to click on the buttons, in order to play that chapter, he sees the 'white highlight' that represents which button he is selecting. He has asked me if I can change that highlight color - is this something I can do in iDVD5? Thanks!!

    Happy editing!
    Part 1: Basic Custom Button Creation
    http://www.creativemac.com/articles/viewarticle.jsp?id=31388
    Part 2: More on Custom Buttons and Highlights
    http://www.creativemac.com/articles/viewarticle.jsp?id=31517
    Part 3: Creating Motion Buttons and Motion Masks
    http://www.creativemac.com/articles/viewarticle.jsp?id=31843
    Part 4: Changing highlight colors on buttons
    http://www.digitalproducer.com/articles/viewarticle.jsp?id=32284
    Part 5: Creating custom drop zones
    http://www.digitalproducer.com/articles/viewarticle.jsp?id=32445
    Sue

  • How to change the color of Menu links in obiee

    Does anyone knows how to change the colors of Menu links in obiee. With menu I mean the menu links default right top (Search, homepage, Catalogus, Dashboards, new, Open). This should be set in skin and style files, not? I searched a lot. I could not find It. It is now Oracle blue, we want to change this.
    obiee 11.1.1.5.
    Thanks

    You have to customize portal banner and portal content CSS files as needed in OBIEE server.
    below links will guide u but will will not tell you exactly but your req can be done by customizing portal content and portal banner CSS files. try to identify the exact code using firebug in mozilla.
    http://www.rittmanmead.com/2009/04/customizing-obiee-dashboard-banners/
    Customization of login page, banner,logo in obiee11g
    Thanks
    Jay.

  • How to change front color in Visual composer

    Dear friend,
    i am taking numerical expression box into visual composer table view
    and try to change the front color in style tab for that field property
    but front color is  not changing in output(back ground color is changing ).
    how to change front color in visual composer?
    and can we change the symbol color too?
    thanks and regards,
    dushyant.

    Hi Vani!
    1. Unfortunately one of my requirements is that I can only get data from queries and not from Web Services or other sources, so no WS calling would be allowed in my deployed I-View, but thanks anyway for your suggestion.
    2. You are right, I was not clear enough in my first post. Let's say I have 3 rows and 12 columns, what I want is the following:
    ROW3 = ROW1 / ROW2
    obviously for each column. Do you have an idea about how it could be done??
    Thanks a lot,
    Andrea

  • How to change background color to JCheckBox in a JTable?

    Dear Friends,
    I have an JTable in my application. It has four columns. First, third and fourth column contains JCheckBox (JCheckBox is created using Boolean.class), secod column contains values.
    I have to change some of the cell color where JCheckBox is present.
    Could anyone please tell me how to change the color of the cell in the JTable?
    Thanks in advance,
    Sathish kumar D

    You would use a custom renderer.
    To get better help sooner, post a SSCCE that clearly demonstrates your problem.
    Use code tags to post codes -- [code]CODE[/code] will display asCODEOr click the CODE button and paste your code between the {code} tags that appear.
    db
    Alternative link: SSCCE
    Edited by: Darryl.Burke

  • How to change background color in online editor

    How to change background color in online editor

    Jeff,
    if you try to change all the plsql keywords to the same background color (that is not either white or black or blue) via the options panel in SQL Developer (Code Editor > PLSQL syntax colors), you will get the new background color in the worksheet only for the areas with plsql text, while the areas without any text will have the same background color as the base color scheme you started with. This means that there is no way to change the "general background" color via the options panel, but you have to use the same background color of one of the predefined color schemes.
    This seems to me a bug, but probably it's not considered high priority, so it will not be fixed for the time being.
    I would like to stress the fact that being able to change the color scheme of the development environment that you use every day about 8 hours a day can make quite a difference on your eyes at the end of the day.
    Thanks,
    Paolo

  • How to change background color in photoshop cs3

    how to change background color in photoshop cs3
    Please help me...

    Background for what? You need to explain better and be more specific.
    Mylenium

  • How to change background color of multilevel textbox in oracle form 6i

    hi
    How To Change background Color of the Text.
    In One Multilevel Block 10 Record is Display At a Time in a Text Box (Name is AMTt)
    This Text Box display , Buffer and Record Length is 10
    In Case Of Amount is Less 500 then Text Color Is Red(Or Any) and In Case Amount Is More 500 Then Color is Green (Or Any).
    Me Use This Code in PRE_RECORD EVENT
    TCMTL is Block name
    TCMTL_AMT is Text Box Name
    if :TCMTL.TCMTL_AMT >5000 then
         g_fun.msgbox('Values is more');
         Set_Item_Property('TCMTL_AMT' , BACKGROUND_COLOR, 'r50g100b100');
    else
         g_fun.msgbox('Values is Less');
         Set_Item_Property('TCMTL_AMT' , BACKGROUND_COLOR, 'r50g100b10');
    end if;     
    but This Code Is Refer Only 10th Value and change color depend on value.
    so
    possible to Different color in One Block Text Box Then how?

    DECLARE
         cur_itm VARCHAR2(80);
         cur_block VARCHAR2(80) := Name_in('system.trigger_block') ;
         BEGIN
         cur_itm := Get_Block_Property( cur_block, FIRST_ITEM );
    WHILE ( cur_itm IS NOT NULL ) LOOP
              cur_itm := cur_block||'.'||cur_itm;
              --:global.VISUAL_ATTRIBUTE:= 'BACKGROUND_COLOR';
              --:global.VISUAL_ATTRIBUTE:= get_item_property(cur_block||'.'||cur_itm ,Background_Color);
              IF :TCMTL.TCMTL_AMT >= 500 THEN
                             Set_Item_Instance_Property( cur_itm, CURRENT_RECORD, VISUAL_ATTRIBUTE,'r50g100b100');
                   ELSE
                             Set_Item_Instance_Property( cur_itm, CURRENT_RECORD, VISUAL_ATTRIBUTE,'r5g100b10');
                   END IF;
                             cur_itm := Get_Item_Property( cur_itm, NEXTITEM );
                   END LOOP;
                   next_record;
    END;
    this is my in that how to set a VISUAL_ATTRIBUTE, and where to set so get a background color of text and change

Maybe you are looking for