How to change the default color of the selected row

hi all,
I need to know how to change the default color(yellow) of the selected row in a table component.whether i need to change anything in the stylesheet.If so, where should i make the changes in the stylesheet.
thanks and regards,
rpk

The chart colors are being referred to *'palette.cxml'* file in these directories
BI_HOME\web\app\res\s_oracle10\chartsupport
BI_HOME\oc4j_bi\j2ee\home\applications\analytics\analytics\res\s_oracle10\chartsupport
you can change to your custom colors.
Restart OC4J and PS to make the new ones work..
Regards,
Raghu

Similar Messages

  • When creating a fillable form and saving it as a pdf, the default color of the data fields is a light blue. How do I change the color to something else that will copy better, e.g. a light yellow?

    When creating a fillable form and saving it as a pdf, the default color of the data fields is a light blue. How do I change the color to something else that will copy better, e.g. a light yellow?

    It's probably the fields highlight color of the application, which you can change via Edit - Preferences - Forms.

  • How to get default color of a selected row in a JLIst

    I have a JList that I am changing the font color for based on a certian situation so I created my own MyCellRenderer to do this. However, when I select an item in the list the row is no longer highlighted. I used the isSelected method to determine if a row was selected and then change the background color of that row. However, I would like the color to be the default color that you get when you select a row in a default JList. I can't seem to figure out how to get that color. How do I obtain what that color is? I found an example where you can get the default color for the background of a button and use that color so I would guess it is something similar to that. My code is below so I hope someone can tell me how to get that color that I want.
    Thanks...Chris
    class MyCellRenderer extends JLabel implements ListCellRenderer {
         public MyCellRenderer() {
              setOpaque(true);
         public Component getListCellRendererComponent(
             JList list,
             Object value,
             int index,
             boolean isSelected,
             boolean cellHasFocus)
             int index1 = value.toString().indexOf("-");
               String errors = value.toString().substring(index1 + 1, index1 + 6).trim();
             int numErrors = Integer.parseInt(errors);
               if (numErrors > 0)
                      setForeground(Color.red);
                      setBackground(Color.white);          
             else
                  setBackground(Color.white);
                  setForeground(Color.black);
             if(isSelected)
                  //ColorUIResource col = (ColorUIResource)UIManager.getDefaults().get("JButton.background");
                  ColorUIResource col = (ColorUIResource)UIManager.getDefaults().get("Button.background");
                  setBackground(col);
             setText(value.toString());
             return this;
    }

    Swing related questions should be posted in the Swing forum.
    I would like the color to be the default color that you get when you select a row in a default JList. I can't seem to figure out how to get that colorlist.getSelectionBackground();

  • Is there a way to change the default colors for iPad apps?

    I noticed one of my friends iPad 2 had a different color scheme for apps and I would like to change my iPad 2's default ( which is currently grey). To elaborate, the default color for the borders and tabs in Safari are grey on my iPad, my friends are blue. Would like to change from the drab grey color to blue also but I cannot find a setting for this. All applications and Setup apps have this default color scheme on my ipad. Do I have to reset the iPad and start over with setup to achieve this? Hope not, perhaps someone can shed some light on an easy way to do this. Thank You!

    You can apply  system-wise "negative" color effect under Settings > General > Accessibility, by toggling the White and Black switch - and, in iCab Mobile (and some other, better browsers / PDF readers), its own "night mode" negative color scheme.
    Otherwise, no, you can't do anything else except for asking third party app authors to add selectable back/froeground (=text) colors to their apps.
    There is an article dedicated to this question: http://www.iphonelife.com/blog/87/do-you-find-your-idevices-screen-be-too-blueis h-or-just-too-harsh-bedtime-reading

  • 10g Graphs - How to customize the default color of a Bar Graph

    Hi,
    I've posted this thread in Reports section, have received no reply yet. Maybe no one has ever tried this before!!
    I am porting a couple of 6i OGD's to 10g graphics.
    Basically I am invoking reports from a form. The reports contains embedded Graph.
    Here comes the tricky part.
    I have a couple of Graphs in 6i that display each bar of a bar graph in different color.
    Example:
    Value       Bar Color
    Critical     Red
    Major       Orange
    Minor       Yellow
    None       GrayQ) I want to know how to set the color of each bar of a bar graph based on the value it takes. i,e If it's critical the bar should be displayed in red. If it's major, the bar should be displayed in orange.
    I added conditional formatting in 10g Graph, and this is the trigger that was created.
    function CT_1FormatTrigger return boolean is
    begin
      -- Automatically Generated from Reports Builder.
      if (:f19 > -1)
      then
        srw.set_foreground_border_color('yellow');
        srw.set_border_pattern('solid');
        srw.set_foreground_fill_color('yellow');
        srw.set_fill_pattern('solid');
      end if;
      -- Automatically Generated from Reports Builder.
      if (:f20 > -1)
      then
        srw.set_foreground_border_color('red');
        srw.set_border_pattern('solid');
        srw.set_foreground_fill_color('red');
        srw.set_fill_pattern('solid');
      end if;
      return (TRUE);
    end;When I try to invoke the above report from the form, I get the error: FRM-41214: Unable to run report.
    If I remove conditional formatting, I am able to invoke the report from the form with the default color in the embedded graph.
    Hopefully someone has ideas on this!
    Thanks

    Why don't you use the build-in charting capability of reports 10g instead? There is FormsGraph.jar implementation for forms but that might not have the flexibility of what 6i graphs has/had and not "officially" supported - not like the reports 10g charting capability (which is built in and can be customized by editing the related xml files (if necessary). Note: FormsGraph.jar has it's own limitations

  • Default color of the tooltip background

    Hi, what is the default color of the tooltip's background?

    Swing related questions should be posted in the Swing forum.
    It depends on the LAF:
    UIManager.get("ToolTip.background");

  • How do I set default colors for XY chart series (lines and legend)

    I am implementing a line chart and need to override the default (caspian style) colors for the line colors and the legend symbols. I'm not displaying the chart symbols themselves as that would make the chart look bad. I've been able to successfully set the default colors for the lines via the CSS below, but cannot find a way to do the same for the series symbols that appear in the chart legend. How do I do this? Thanks.
    .default-color0.chart-series-line {
      -fx-stroke: rgb(0, 102, 255);
    .default-color1.chart-series-line {
      -fx-stroke: rgb(0, 255, 102);
    ...Update:
    Figured it out. Need to do the following:
    .default-color0.chart-line-symbol {
      -fx-background-color: rgb(R, G, B);
    }Edited by: 998038 on May 16, 2013 4:09 PM

    Here is some css to customize the line and legend colors in a line chart.
    /** file: chart.css
        place in same directory as LineChartWithCustomColors.java */
    .default-color0.chart-series-line {
      -fx-stroke: rgb(0, 102, 255);
    .default-color1.chart-series-line {
      -fx-stroke: rgb(0, 255, 102);
    .default-color0.chart-line-symbol {
      -fx-background-color: rgb(0, 102, 255), white;
    .default-color1.chart-line-symbol {
      -fx-background-color: rgb(0, 255, 102), white;
    }And a test harness to try it:
    import javafx.application.Application;
    import javafx.event.*;
    import javafx.scene.Scene;
    import javafx.scene.chart.*;
    import javafx.scene.control.*;
    import javafx.scene.input.*;
    import javafx.stage.Stage;
    public class LineChartWithCustomColors extends Application {
        @Override public void start(final Stage stage) {
            stage.setTitle("Line Chart Sample");
            //defining the axes
            final NumberAxis xAxis = new NumberAxis();
            xAxis.setLabel("Number of Month");
            final NumberAxis yAxis = new NumberAxis();
            //creating the chart
            final LineChart<Number,Number> lineChart =
                    new LineChart<>(xAxis,yAxis);
            lineChart.setTitle("Stock Monitoring, 2010");
            lineChart.setCreateSymbols(false);
            //defining a series
            XYChart.Series series = new XYChart.Series();
            series.setName("My portfolio");
            //populating the series with data
            series.getData().setAll(
              new XYChart.Data(1, 23),
              new XYChart.Data(2, 14),
              new XYChart.Data(3, 15),
              new XYChart.Data(4, 24),
              new XYChart.Data(5, 34),
              new XYChart.Data(6, 36),
              new XYChart.Data(7, 22),
              new XYChart.Data(8, 45),
              new XYChart.Data(9, 43),
              new XYChart.Data(10, 17),
              new XYChart.Data(11, 29),
              new XYChart.Data(12, 25)
            lineChart.getData().add(series);
            //adding a context menu item to the chart
            final MenuItem resizeItem = new MenuItem("Resize");
            resizeItem.setOnAction(new EventHandler<ActionEvent>() {
              @Override public void handle(ActionEvent event) {
                System.out.println("Resize requested");
            final ContextMenu menu = new ContextMenu(
              resizeItem
            lineChart.setOnMouseClicked(new EventHandler<MouseEvent>() {
              @Override public void handle(MouseEvent event) {
                if (MouseButton.SECONDARY.equals(event.getButton())) {
                  menu.show(stage, event.getScreenX(), event.getScreenY());
            Scene scene =
              new Scene(
                lineChart,800,600
            stage.setScene(
              scene
            stage.show();
            scene.getStylesheets().add(
              getClass().getResource("chart.css").toExternalForm()
        public static void main(String[] args) {
            launch(args);
    }

  • How do I change the default color in pages.

    How do I change the default color in pages.  Everytime I try to copy and paste a passage, I am unable to do so because it seems that the ink is always white on white.  Sometimes I am lucky and can change it using the color box in the format bar, but it's a rarity when I'm able to do it.

    What version of Pages & what version of OS X are you using?
    A problem with an early Software Update for Snow Leopard caused a lot of problems. The problem is not whether or not your system is the current version but how it got there. You must use the combo updater, not the one from Software Update unless it specifically states it is the combo. Software Update will only offer the combo if your system is two or more versions behind.
    If you're not running the latest versions of the iWork apps & Software Update says your software is up to date, make sure the applications are where the installer initially put them. The updaters are very picky. If the location is not where the updater is programmed to look or if the folder doesn't have the name the updater looks for, it will not work. The applications cannot be renamed or moved. If you installed from the downloaded trial or the retail box, they must be in the iWork '09 (or '08 if that's what you're using) folder in Applications. That iWork folder must be named iWork '09. If it doesn't have the '09 Software Update won't find them & the updaters won't work.

  • How can I change the default color (Blue color)?

    Hi,
    I use JDev 11g last version
    when I use decorativeBox or panelStretchLayout I use (dark - light - medium) in theme but by default it be in blue color can I change this blue color to any other color?
    I don't want to use an image or change background color using css file I want bu easy way to change the theme with any color except blue.
    Thank You...
    Sameh Nassar

    Hi John,
    Thank You for your reply
    I know that can be solved by using skin.
    but when I use (dark - medium - light ) the appearance change without using skins.
    I ask is there any way to change the default color (blue) with any other color.
    - It means when I write a dark in decorativeBox theme I found the decorativeBox in red color (or any other color) instead of blue color.
    - Where can I find the place which say the blue is the default color?
    Thank You..
    Sameh Nassar

  • How to change the default Layout Of the Error Page (to hide Home link)?

    How to change the default Layout Of the Error Page (to hide Home link)?
    If a user want to view some page that he/she don't have access to view it, a error page with this message will be displayed.
    "You do not have permission to perform this operation. (WWC-44131)"
    The error page, have in the Upper right page, Home link and Help link.
    My question is, How to Hide HOME link and HELP link in the Page?
    I try to find the template of the page, but failed to do that.
    Can anybody help?..it urgent.
    Thanks.

    Modifying the error page is not supported in the current release of Portal (9.0.2). You will be able to do this in the upcoming 9.0.2.6 release, planned for the end of May.
    Regards,
    Jerry
    PortalPM

  • HT204150 How do I change my default email on the "Me" contact from a Facebook email to my normal email address in the same contact?  Or at least change it for the autofill information?

    How do I change my default email on the "Me" contact from a Facebook email to my normal email address in the same contact?  Or at least change it for the autofill information?
    Perfernece for contact to change.  Do I just have to dis-associate my contact fromt the facebook account?  Is only the autofill changable?

    If you allow Facebook to access your contacts and you have the @facebook.com email alias turned on, it will add the @facebook.com email to your contact info, and because it has the fixed label of "email" it overrides every other email address.
    They didn't fix this in iOS 8.
    There are two ways to remove the @facebook.com email from your contact info:
    If you don't need your Facebook friends and their info updating your contacts, go into iOS Settings -> Facebook and turn off access to Contacts.
    If you don't use your @facebook.com email address (all it does it forward to the primary email address) you can go into the Facebook app, More -> Settings -> General -> Email -> and uncheck "Use your Facebook email". Removing it from Account Emails does not work, you have to turn it off. Once you do this, go to iOS Settings -> Facebook and turn Contacts off and on again to make it update your info. The @facebook.com address should be removed.

  • How to change the background color of a single row

    Hi OTN,
    I am using JDeveloper 11.1.1.2 with ADF faces in view layer.My issue is How to change the background color of a single row in af:table ?.

    How to highlight ADF table row based on column value?
    Found by searching

  • How can I change the background color in the inbox?

    The background color in my inbox (well, all mailboxes) is white. A yellow background would make the existing black text a lot easier to read. How can I change the background color in the inbox?

    Themes work in Thunderbird - duggabe was not refering to Firefox.
    Another useful addon is theme and font changer:
    * https://addons.mozilla.org/fr/thunderbird/addon/theme-font-size-changer/
    However, Thunderbird allows you to modify all sorts of things.
    Make hidden files and folders visible:
    * http://kb.mozillazine.org/Show_hidden_files_and_folders
    Help > Troubleshooting Information
    Click on 'show Folder' button
    a window opens shwoing profile folder name
    Close Thunderbird now - this is important
    In the profile name folder, Create a new folder called '''chrome''' - note the spelling
    It should be in the same place as the 'Mail' folder.
    see first image below.
    Open Notepad
    Can be located : Start > Programs > accessories
    Copy everything shown between the lines below.
    Paste into Notepad.
    Save as '''userChrome.css''' - note the spelling (edit updated - this was a typo error)
    This should be saved in the '''chrome''' folder.
    see second image below.
    Restart Thunderbird.
    I have chosen a yellow for you
    <pre>
    #f6f58c = a yellow....it is a hex code for a colour.
    </pre>
    You can change it if required. Remember when updating anything in the profile folders, you must close Thunderbird first.
    More info on colours.
    * http://www.yourhtmlsource.com/stylesheets/namedcolours.html
    <pre>
    * Do not remove the @namespace line -- it's required for correct functioning
    @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
    /*Background colour for message list*/
    #threadTree > treechildren::-moz-tree-row {
    background-color: #f6f58c !important;
    </pre>
    -------------------------------------------

  • How can I change the background color of odd/even rows in a panelCollection

    Hi everyone.
    I'm using a panelCollection and I need to change the backgroung color for odd/even rows in the table,
    how can I do this, using a stylesheet, is there a special selector or property for this?
    globalResultCollection (UIPanelCollection object) , is a collection of UITable elements, and it's working fine.
    I just want to change the defaul background color for rows.
    Thanks
    <af:panelCollection id="GLOBAL_RESULT_COLLECTION"
    binding="#{admin.view.globalResultCollection}"
    styleClass="globalResultCollectionRegion"
    clientComponent="true">
    <f:facet name="menus">
    <af:menu id="GLOBAL_OPERATION_MENU"
    binding="#{admin.view.globalOperationMenu}" />
    </f:facet>
    <f:facet name="toolbar">
    <af:toolbar inlineStyle="width:100%"
    binding="#{admin.view.globalOperationToolbar}"
    id="OPERATION_TOOLBAR"/>
    </f:facet>
    </af:panelCollection>

    Hi,
    use this:
    af|table::data-row af|column::data-cell { background-color: #CCCCFF; }
    af|table::data-row af|column::banded-data-cell { background-color: #FFCCCC; }
    Regards,
    s o v i e t

  • The new operating system changed the background color of the photos app from black to white.  How do I change the color back to black?

    The new operating system (IOS 7) changed the background color of the Photos App (Camera Roll) from black to white.  How do I change the color back to black?

    You can't. Sorry.
    http://www.apple.com/feedback/
    You can tell apple that you'd like it and see if they respond....eventually. (you don't get responses from your feedback mails but they have been known to issue changes that users have asked for, such as the ability to mass delete apps)

Maybe you are looking for

  • How do I create a rescue email after I've already created an Apple ID/Account.

    I dont remember my security questions answer, and I understand the whole process of having a Rescue Email but I see that I made the mistake of not making one when I first made this account. I would like to know right now, step by step, how to make a

  • "Not authorized to play on this computer" after updating my account (new email). How to authorize?

    I recently changed my account email.  Now I've just tried moving my music from an old computer to my new laptop.  iTunes tells me that my music isn't authorized on this new computer, so I need to authorize the music.  Unfortunately, that old email is

  • Odd Airport Extreme Issues

    Hi I'm new to these discussion boards but I was wondering if someone could possibly help me with some airport issues I've been having. My roommate and I both share use an Extreme with Comcast and as far as internet goes everything is great. However o

  • Xorg - help with rotation on dual monitor setup

    i have two monitors that im trying to get rotated properly but im having some trouble. i think its easiest to list out what i have going on here... 1. im using a BFG nvidia geforce 7600 with the nvidia driver, and everything on the system is up to da

  • Multiple checkboxes in alv

    Hi all,        i want to know is there any way to get multiple checkboxes when i am using FM Reuse_alv_fieldcatalog_merge.. to create ALV... I know that by giving the style we can get one checkbox.. but i need to display 5 checkboxes... Help me out f