Change Chapter Bar Color

Hello,
I was wondering if it is possible to change the color of the Chapter Bar Title bar that appears in an ibook when you tap the screen when viewing it from an ipad (the bar which allows you to return to the Library, return to the Table of Contents, view MyNotes, Search, or Bookmark).
Right now the bar is in black (which I assume is the basic) but I would like it to be in white.
Any suggestions?
Thank you,
Santiago

this'll get you part of the way
import javax.swing.*;
import java.awt.*;
class Testing
  Color titleBarColor = Color.RED;
  public void buildGUI()
    UIManager.put("activeCaption", new javax.swing.plaf.ColorUIResource(titleBarColor));
    UIManager.put("inactiveCaption", new javax.swing.plaf.ColorUIResource(titleBarColor));
    JDialog.setDefaultLookAndFeelDecorated(true);
    javax.swing.plaf.metal.MetalLookAndFeel.setCurrentTheme(new NoBumpsTheme());
    JDialog dialog = new JDialog(new JFrame(),true);
    dialog.setSize(400,300);
    dialog.setLocationRelativeTo(null);
    dialog.setDefaultCloseOperation(JDialog.DO_NOTHING_ON_CLOSE);
    dialog.addWindowListener(new java.awt.event.WindowAdapter() {
      public void windowClosing(java.awt.event.WindowEvent e) {
        System.exit(0);
    dialog.setVisible(true);
  class NoBumpsTheme extends javax.swing.plaf.metal.DefaultMetalTheme
    public javax.swing.plaf.ColorUIResource getPrimaryControlHighlight(){
      return new javax.swing.plaf.ColorUIResource(titleBarColor);
    public javax.swing.plaf.ColorUIResource getPrimaryControlDarkShadow(){
      return new javax.swing.plaf.ColorUIResource(titleBarColor);
  public static void main(String[] args)
    SwingUtilities.invokeLater(new Runnable(){
      public void run(){
        new Testing().buildGUI();
}run the code, should be OK.
with the dialog showing, click the taskbar, so it becomes 'inactive' - the bumps reappear (this bit needs work)

Similar Messages

  • How can I change the bar color (data series) in a chart on the iPad version?

    The number of different. colors used in a char (line, bar, pie, ...)  appears to be limited to six, quite short for my needs, however, Excel imported charts show up in the original colors (12)...  until I change the chart type (to get a homogenous look with the rest of the content) it gets changed to the 6 basic colors. Any clue on how to modify individual series colors? Note that I am asking about the iOS version.
    Thnx

    Does any one know how you can adjust the font size (point size) for the file
    names.
    Sadly enough you can't chance that, feel free to add a feature request for
    that, the more there ask for the bigger chance it will be realized.
    It would be great if the colors for the image name (background and font color)
    could be changed so the contrast could also be increased so it is also easier
    to read.
    And this the cheerful part, go to Bridge preferences General tap and play
    with the sliders for user interface and Image Backdrop until your satisfied.
    BTW using the slider for thumbnail size bottom right of the Bridge window to
    increase the thumbs does not increase the font but makes it nevertheless a
    little clearer.

  • Problem changing scroll bar color using UIManager

    I am using the following code to change the color of a JScrollBar just before instantiating a JScrollPane:
    [ code ]
    //set colors
    UIManager.put("ScrollBar.thumbLightShadow", ltGrn );
    UIManager.put("ScrollBar.thumb", grn );
    UIManager.put("ToolBar.thumb", ltGrn );
    UIManager.put("ScrollBar.thumbDarkShadow", darkGrn );
    UIManager.put("ScrollBar.thumbShadow", darkGrn );
    UIManager.put("ScrollBar.thumbHighlight", ltGrn );
    //instantiate
    JScrollPane scrollPane = new JScrollPane( table );
    //reset UIManager
    UIManager.put("ScrollBar.thumbLightShadow", null );
    UIManager.put("ScrollBar.thumb",null );
    UIManager.put("ToolBar.thumb", null );
    UIManager.put("ScrollBar.thumbDarkShadow", null );
    UIManager.put("ScrollBar.thumbShadow", null );
    UIManager.put("ScrollBar.thumbHighlight", null );
    [ /code ]
    where ltGrn, darkGrn, and grn are various shades of green.
    Everything works fine, UNTIL I open another JFrame that is part of the same program. After doing this, the original scroll bar above is still green, EXCEPT the border of it has changed to Metal Theme puple from green. In addition, if that second JFrame has any JScrollBars of it's own, they are Metal Theme purple with a green border! It seems to be a bug since only one part of the JScrollBar changes. If anyone has any suggestions on this I thank you in advance.
    AC

    When I execute the following I see identical modified scrollbars on the two frames that are created within this little app. I am relatively new to Java, so the design might not be great here, but the code will compile and run as is. You can use this to see if you still see the effect you have described. I am using version 1.4.1_03 on Red Hat Linux 8.0.
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.plaf.*;
    public class Frame extends JFrame implements ActionListener
         JButton btnOne = new JButton("First Frame");
         JButton btnTwo = new JButton("Second Frame");
         public static void main(String[] args)
              Frame f = new Frame();
              f.setSize(300, 300);
              f.show();
         public Frame()
              setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              redesignScroll();
              // This method resets the default colors for the scrollbars..
              btnOne.addActionListener(this);
              btnTwo.addActionListener(this);
              Container contentPane = getContentPane();
              contentPane.setLayout(new GridLayout(2, 1, 5, 5));
              contentPane.add(btnOne);
              contentPane.add(btnTwo);          
         public void actionPerformed(ActionEvent e)
              if (e.getSource() == btnOne)
                   new FirstPopUp();
              else new SecondPopUp();
         private void redesignScroll()
              final Color cBkd = new Color(97, 115, 87);
              UIDefaults defaults = UIManager.getDefaults();
              defaults.put("ScrollBar.thumbHighlight",
                        new ColorUIResource(Color.darkGray));
              defaults.put("ScrollBar.thumbShadow",
                        new ColorUIResource(Color.black));
              defaults.put("ScrollBar.shadow",
                        new ColorUIResource(Color.black));
              defaults.put("ScrollBar.background",
                        new ColorUIResource(cBkd));
              defaults.put("ScrollBar.darkShadow",
                        new ColorUIResource(Color.black));
              defaults.put("ScrollBar.thumb",
                        new ColorUIResource(cBkd));
              defaults.put("ScrollBar.highlight",
                        new ColorUIResource(Color.black));     
         private class FirstPopUp extends JFrame
              private JScrollPane sp;
              private String text = "Hello World!  First Pop Up!\n ";
              private JTextArea area;
              FirstPopUp()
                   area = new JTextArea();
                   int i = 0;
                   while (i < 20)
                        area.append(text);
                        i++;
                   sp = new JScrollPane(area);
                   getContentPane().add(sp);
                   setSize(200, 200);
                   show();
         private class SecondPopUp extends JFrame
              private JScrollPane sp;
              private String text = "Hello World!  Second Pop Up!\n ";
              private JTextArea area;
              SecondPopUp()
                   area = new JTextArea();
                   int i = 0;
                   while (i < 20)
                        area.append(text);
                        i++;
                   sp = new JScrollPane(area);
                   getContentPane().add(sp);
                   setSize(200, 200);
                   show();
    }

  • CR for VS 2005 - Bar Chart - Bar colors

    Hi,
    I'm creating a report in Visual Studio 2005 and have a bar chart in it.  I've searched the forums but can't seem to find out how to change the colors of the Series bars.
    If anybody has any ideas or suggestions, they would be greatly appreciated.
    Thanks in advance.
    Ron

    Apparently, the version of CR that ships with Visual Studio doesn't allow much in the way of customization.  I have since upgraded to CR 2008 and can now change the bar colors.

  • Change the background color of a title bar

    I'd like to know if it's possible to change the background color of a swing application title bar.
    Thanks in advance.

    In Windows I think you can change the overall look of the desktop - Standard Windows comes with a bluish scheme, but you can change that, say to something like greenish. On NT you do it using right click on desktop > Properties > Apperance > Scheme etc etc.
    So I think Frame title colour is very much a OS specified thing.

  • How do i change the backgound color for the "file edit view history bookmark tools help" bar in Firefox 29.0

    how do i change the backgound color for the "file edit view history bookmark tools help" bar in Firefox 29.0

    You can add a solid color theme to change the color of the top of the browser window, which includes the Menu Bar.
    https://addons.mozilla.org/en-US/firefox/themes/solid

  • In Yosemite, How do I change the background color of menu bar, dock and sidebar?

    Right now my background for the Menu Bar, Dock, etc is RED.  I'd like to change it to something more subtle.
    Anyone know how?
    Does it relate to the desktop picture I have?  or ???

    You can change the background display color in the playback preferences, either black, white, or checkerboard. This does not change the output color. If you want to add a color to the video, you have to place a custom generator underneath your video and change the color in the inspector.

  • Change the bar graph color

    Hi
    Is it possible to change the bar graph color? I want the first bar to be green, second to be red, thrird to be orange and fourth to be gray.
    Is there anywhere to specify the color?
    Thanks

    Did you find the Fusion 11g Web Guide section 23.5.1 any help?:
    http://download.oracle.com/docs/cd/E12839_01/web.1111/b31973/dv_graph.htm#sthref410
    CM.

  • Yosemite load bar color changes / from black to white

    Hello there,
    is anyone experiencing the same as me?
    When booting my MacBook Pro Retina Mid 2012 the load bar color changes from black to white. The color change happens as the keyboard background lights turn on. After this I get to the login screen with the blurred desktop background image (seems normal)
    Video: https://vid.me/hOX
    (sorry for the vertical video)
    I know that the load bar is a feature of Yosemite, but not with the color changes.
    I did a clean install of OS X Yosemite with the AppStore download and the Diskmaker X Tool.
    Thanks for answers...

    No
    With a very advanced photo editor like PhotoShop and lots of skill you could do that
    It is certainly not a simple operation if it is just a B&W image with no color information
    LN

  • How can I change the status bar color on Lollipop?

     How can I change the status bar color on Loppipop?I can not find the any menu about this...Now I use the theme creator 0.0.3 BETA.

    Hi, Theme creator 0.0.3 is still not compatible for complete Lollipop features, the next update of theme creator should fix this. I am waiting for this too... Regards,Shreyas.

  • How to change web button and bars colors??

    is there anyway to change illustrators default web buttons and bars after they are dragged to the canvas. it seems a lot of the buttons are yellow or blue. i wanted to specifically change the color of a "talk bubble." thanks

    You haven't specified which version of Illustrator you are using, but I will assume for purposes of this discussion, that my version, CS3, is not vastly different from yours. The "Web Buttons and Bars" is a collection of symbols, which gives you several options. When you drag a symbol to the artboard three buttons appear in the Control Panel: Edit Symbol, Break Link, and Duplicate. Each affords you certain option for editing the symbol.
    Edit Symbol puts the symbol into Isolation Mode, which allows access to the parts of the symbol through the Layers Panel and the Appearance Panel, and may be changed using any colors, effects, transformations, additions, deletions, or anything else you choose to do to it. When you are finished editing, and exit Isolation Mode, the changes you have made will appear in the symbol in the Symbols Panel and in any instances of the symbol you have put on the artboard.
    Break Link turns the symbol instance you have selected into an object which may be changed in any manner you choose, just as if you had built it yourself and then changed your mind. Changes to the object will have no effect on other instances of the symbol, nor on the symbol in the Symbols Panel, because it is no longer a symbol and is completely unrelated to either. If you wish, you may turn the edited object into a new symbol.
    Duplicate turns the selected symbol instance into a new symbol, identical to the original but having no connection either to it nor to other instances of the original. If the first symbol was named "Original," then a new one will appear in the Symbols Panel named "Original 1." The same options will be available in the Control Panel, and any changes you make will only be applied to the new symbol and any instances of it that you may have put onto the artboard.
    You may save your edited symbols through the Symbols Library Menu in the Symbols Panel.
    If any of this is unclear, doesn't work, or is flat wrong, please let me know.
    Peter

  • BI graph change bar color

    Hi All,
    I worked on the PJC BI graph, do you have an idea how to change bars color?
    regards

    The best place for information on the BI Graph is the Reports FAQ page:
    http://www.oracle.com/technology/products/reports/htdocs/faq/Graph_FAQ_with_style.html
    It contains a lot of useful tips on how to customize a BI Graph using the XML tags.
    Hope this helps
    Keith Laker
    Oracle EMEA Consulting
    OLAP Blog: http://oracleOLAP.blogspot.com/
    DM Blog: http://oracledmt.blogspot.com/
    OWB : http://blogs.oracle.com/warehousebuilder/
    DW on OTN : http://www.oracle.com/technology/products/bi/db/11g/index.html

  • In Pages 09' how do I change the background colors on the templates?

    I have been trying to change the background on one of the templates from red to green for a while.  I can't figure it out and i can't find answers online any where that are helpful at all.  I just need to changes the background color to what I want it to be and not what the programs sets them too.  Any ideas?  I'm totally stumped!
    Thanks for the help!

    Hi Burke,
    Here's the result, using Peggy's suggestion:
    Process:
    Click on the thin strip of red to the left of the title ("THE THOMPSONS") to select the background.
    You'll see the small x in each corner, indicating the object is locked.
    Go Arrange > Unlock (or press option-command-L) to unlock the object.
    Click on the Fill Color well in the format bar, and choose a new colour from the palette.
    Go Arrange > Lock (or press command-L to re-lock the object.
    Save the result.
    Regards,
    Barry

  • 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 do you change the font color in CALL-OUT text boxes in PRO XI?

    How do you change the font color in CALL-OUT text boxes in PRO XI?

    It's not so simple to find it if you don't know what you're looking for... But it can be found via View - Show/Hide - Toolbar Items - Properties Bar.

Maybe you are looking for

  • Idoc File to File scenario mapping problem

    Dear All, I am working on File to File scenario in which my source xml file is having multiple deliveries Idoc structure to which I want to convert into output structure as required. In my source file there is possibility that there can be multiple d

  • Two days ago my Safari was updated to 6.0 and now it won't open.

    Two days ago my Safari was updated to 6.0 and now it won't open. Heasder says, "Safari quit unexpectedly."  Reinstalling OSX10 twice and then updating did not help. Apple support is unable to help.

  • Why is exchange 2007 account not displaying all messages in a folder?

    Hi, I've got my emails setup under hosted exchange 2007. The email account loaded into iphone 3gs AOK, but when I go to folders other than the inbox it doesn't show messages that I know are there. Usually it displays the folder as being empty. Refres

  • Journal Voucher Problem

    Hi Experts, Good day! I have a problem posting the journal voucher. The status of transaction is closed, but did not reflect on journal entry. How come? But when I created the same accounts posted in journal voucher in journal entry, it authomaticall

  • Access to undefined global: newGrainSeed(1)

    Downloaded LR 5.4.  Now cannot email, get message:  access to undefined global: newGrainSeed(1).  Help!