Background color changes when using AJAX

I'm using NetBeans and the plugin Project Dynamic Faces Ajax Components. Each time a radio button is selected a few textfields are hidden/shown.
But each time I press a radio button, my background color of my JSF page is changed (from blue) back to white.
Does anyone know how to disable this, or just how I can set the background of the page manualy in the java code.
I've tried this.setBackground(...); , but it doesn't work.

Hi. I currently use Canon, and i only see it in my RAW files.  All camera firmware is up-to-date. I am running latest version of Aperture, but still running 10.6.8. I went through a bunch of old photos where there was a good red color of something and i was able to duplicate the problem each time. Where there was a large area of red, it was VERY noticable. Also, I used to shoot with Nikon and my NEF files do the same thing where there is a nice red.  It seems to be an Aperature "thing."
What i find so curious, is that even if I make no adjustments to the Levels sliders, just checking the box alters the color, same with the Vignette brick.  Also, I do color calibrate my monitor. thanks.

Similar Messages

  • Cell/Background color changes when copying to other Excel 2010 document

    When you copy and paste report cells (e.g. CO report outputted in Office integration, MS Excel) to a new Excel file, the background color changed dramatically (to bright red).
    SAP Theme:  SAP Signature Theme
    Excel 2010
    We tried paste option > match destination formatting but does not help.
    Anyone has similiar problems?  Appreciate any help.

    dear friend,
    you would do:
    1. search SAP Notes;
    2. check out the updates/patches for your MS Office;
    3. replicate it on another computer/another sap user (make sure it is a local issue)
    good luck!

  • Why does JButton background color change when  clicking ?

    Hello,
    I have defined :
    JButton mybutton = new JButton(Icon xxx) ;
    with no associated text and I set both foreground and background colors to black, and an empty border.
    This is because the background color of the container which contents this button is also black and I want to see only the button icon.
    When I click on the icon , the button background color becomes grey. How can I change this to make it remains black ?
    Thanks a lot.
    Gege

    Well, the color changes because that is how the look and feel is defined,
    presumably to give better feedback to the user that she has clicked the
    button.
    If you don't want this, you could try using a different L&F which doesn't do this.
    Alternatively, If you've only got the one button, you could just do
        UIManager.put( "Button.select", Color.BLACK );If you have multiple buttons, and you want the other buttons to behave
    normally, you can extend the one button and have it change the color
    while it is pressed, e.g.,
    import java.awt.*;
    import java.io.IOException;
    import java.net.URL;
    import javax.swing.*;
    public class ButtonSelect extends JFrame {
         public ButtonSelect() throws IOException {
              super();
              setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              JPanel panel = new JPanel();
              panel.add( new JButton( "Normal" ) );
              Image img = Toolkit.getDefaultToolkit().getImage( new URL("http://www.google.com/intl/en/images/logo.gif" ) );
              ImageIcon ii = new ImageIcon( img );
              JButton b = new JButton( ii ) {
                   static final private String KEY = "Button.select";
                   public void paint( Graphics g ) {
                        Color save = null;
                        if ( getModel().isArmed() && getModel().isPressed() ) {
                             save = UIManager.getColor( KEY );
                             UIManager.put( KEY, Color.WHITE );
                        super.paint( g );
                        if ( save != null )
                             UIManager.put( KEY, save );
              b.setForeground( Color.WHITE );
              b.setBackground( Color.WHITE );
              b.setFocusPainted( false );
              panel.add( b );
              getContentPane().add( panel );
              pack();
              setVisible( true );
         public static void main( String[] a ) throws IOException {
              new ButtonSelect();
    }

  • SWF background color changes when uploaded to server

    I built my Flash all pretty, based upon a black background.
    When ran on the local copy, the black shows up as black & the
    Flash is like it should be. However, as soon as I upload it to the
    server and run it from there, the Flash background changes to
    white, which as you can imagine, royally screws up the visuals. Any
    clue as to why it would do this?! I can't think of any reason why
    it should. The server is in-house and will only be used for an
    Intranet page, so any possible corruption over the web should be
    negated. Help!!

    I'd like to post a link, but like I said, it's only internal.
    When I look at the HTML, it's set to black (background-color:
    #000000). Also, when I load it, the page itself is black, but the
    background of the Flash *only* has turned white. I can load the
    exact same page on my local drive and it comes up black. I've got
    publish settings to Flash 8 (my version) and AS 2.0. I checked that
    first because I've published lower in the past and had
    issues.

  • Numeric Control - Text and Background Color changes when operating inc/dec arrows

    Hi,
    I'm developing an application that has a panel with black background and green or red numbers. I've added numeric controls and configured the text color and text background color attributes accordinglingy. I set the numeric control to hot or validate  control mode and show the inc/dec arrows, since I want to be able to incr/decr the numbers.
    The problem is that when I run the application and I hit the inc/dec arrows, then the colors inside the numeric control frame become inverted: the black background becomes white and the green number becomes cyan. I've created a callback function assosicated with the numeric control and tried forcing the text and background color, in the EVENT_VAL_CHANGED section, using the SetCtrlAttrribute() function, but to no avail. Also added ProcessDrawEvents didn't help.
    When I mouse click again outside the numeric control, then it reverts back to its original colors (green text, black background).
    Any suggestions as to how I can fix this ?
    I want it to keep its original colors at all times, even when I'm clicking the incr/decr arrows...
    Kind regards,
    pgriep
    Solved!
    Go to Solution.

    Ok, now I see what's happening.
    The effect you are seeing is a resul of standard numeric control behaviour combined with the black bcakground: when you use arrows to increment/decrement a numeric control its value will be automatically highlighted; on the default background you'll see the white area and figures highlighted in black (white numbers on balck background). If you set the background to black the system will automatically change the colors used to highlight the text, and that's what you're seeing.
    By the way, this does not happens if you use up and down keys on the keyboard: text is not highlighted so colors are not changing.
    Additionally, this is not only valid for numerics: see the behaviour of the string controls on the bottom of your panel when you tab up to them. This effect does not happen on controls set as indicator like the big clock in the upper part of the panel.
    The only way I can see to overcome this behaviour is to hide control built-in arrows and create your own up and down buttons with which you can manipulate the numeric control. I am attaching a modified version of your project with buttons on the left numeric; sorry for the poor aesthetic:  I have used some arrow icons I had on my disk, you may want to create your own arrows with the colors and shape you prefer.
    Proud to use LW/CVI from 3.1 on.
    My contributions to the Developer Zone Community
    If I have helped you, why not giving me a kudos?
    Attachments:
    ModifiedApplication.zip ‏9 KB

  • Item Background Color changes when placed in production (Forms 10g)

    Hello All,
    I have searched the forum on this topic, but have not been successful in finding a topic/solution for multi-line items that need to render a different color than the rest.
    I have used set_item_instance_property (and set_item_property) as well as using a VA to resolve this issue to no avail.
    When I view the form in the browser - initially in query-mode, I see the color that I have set for the item. Once the query is fetched and I am in non-query mode (display), the items background color is replaced to the standard color (off yellow) for non-editable fields.
    I have taken all of the subclasses off, used the item property from the pallette as well as manually programmed within a trigger and cannot get this item to stay the color that I have set.
    Can anyone help me get this working?

    Are you using the 0 to 100 rgb color assignments you see in the Forms Builder color palette? If so, that is your problem. At run time, you have to convert the color numbers to 0 to 255 numbers. Just multiply each of the three parts by 2.55
    Or maybe there is come code running elsewhere in your form that is setting the color after your code is run.
    Search your form for background_color.

  • The canvas background color disappeared when using updateDisplayList

    If I put code in the updateDisplayList for canvas. The
    background color is disappeared. if I called
    super.updateDsplayList(), all the drawing is not show.
    What 's wrong with my code or Canvas class?
    <?xml version="1.0"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    xmlns:cmp="PlanUI.*" creationComplete="init()">
    <mx:Style source="2dStyle.css"/>
    <mx:Script>
    <![CDATA[
    import PlanUI.TestCanvas;
    public function init():void
    var dc:TestCanvas=new TestCanvas();
    dc.percentWidth=100;
    dc.percentHeight=100;
    dc.setStyle("backgroundColor",0xFF0000);
    this.addChild(dc);
    ]]>
    </mx:Script>
    </mx:Application>
    package PlanUI
    import mx.containers.Canvas;
    public class TestCanvas extends Canvas
    public function TestCanvas()
    super();
    this.percentHeight=100;
    this.percentWidth=100;
    override protected function
    updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
    this.graphics.clear();
    // super.updateDisplayList(unscaledWidth, unscaledHeight);
    this.graphics.lineStyle(1,0xFF0000,0.3);
    this.graphics.drawRect(0,0,200,200);

    Yes, it is the same drag and drop project.
    I changed color of draw rectangle The rectangle showed up. If
    I called super.updateDisplayList(unscaledWidth, unscaledHeight) in
    updateDisplayList function, the background will show up, however,
    show in front of the rectangle.
    There are 2 problems:
    1> background color is show in front of rectangle,
    2> I set rectangle.x=0, rectangle.y=0, but the begin point
    is out side of the the canvas.
    package PlanUI
    import mx.containers.Canvas;
    public class TestCanvas extends Canvas
    public function TestCanvas()
    super();
    this.percentHeight=100;
    this.percentWidth=100;
    this.setStyle("borderThickness", 0);
    override protected function
    updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
    // super.updateDisplayList(unscaledWidth, unscaledHeight);
    this.graphics.clear();
    this.graphics.lineStyle(33,0x00FF00,1.0);
    this.graphics.drawRect(0,0,unscaledWidth/2,unscaledHeight/2);
    // super.updateDisplayList(unscaledWidth, unscaledHeight);
    <?xml version="1.0"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    xmlns:cmp="PlanUI.*" creationComplete="init()">
    <mx:Style source="2dStyle.css"/>
    <mx:Script>
    <![CDATA[
    import PlanUI.TestCanvas;
    public function init():void
    var dc:TestCanvas=new TestCanvas();
    dc.percentWidth=100;
    dc.percentHeight=100;
    dc.alpha=1.0;
    dc.setStyle("backgroundColor",0xFFEE00);
    this.addChild(dc);
    ]]>
    </mx:Script>
    </mx:Application>

  • Tab background color changes when saving or downloading (Ubuntu) - bug ?

    I'm using Firefox 20.0 on Linux Ubuntu.
    When I'm opening and using Firefox, the active tab background is light gray, and the other tabs are black (with white/gray text). But as soon as I have downloaded a file (saving an image for example, or a pdf), the tabs change color: the non active tabs turn gray instead of black, and the tab text is almost unreadable (gray on gray).
    I have disabled ALL extensions (including the Ubuntu/Unity extensions) and restarted Firefox, and get the same result. See screenshot with before/after downloading: http://imagesup.net/?di=113687926169
    On the other hand, when I start Firefox in safe mode, all is well, the tabs don't change color when downloading or saving a file.
    What to do? Could this be a bug ?

    Hey, I'm on Ubuntu, too.
    It seems like you don't use Ubuntu's default theme, or at least, you have some modifications there, right? Try disabling your customizations to see if it works, I never saw / heard of this problem anywhere.
    Also update your Firefox, there are changes that your problem is fixed after updating.
    Another suggestion would be hacking about:config, for example, it might be the Download Manager's arrow flashing ( just guessing ), so you might want to disable that and see if something changes.
    search 'browser.download.manager' in about:config and play with those configs to see if anything changes.

  • JTabbedPane Background Color incorrect when using SCROLL_TAB_LAYOUT

    I am tring to set the background (JDK 1.41_02) on a JTabbedPane that uses SCROLL_TAB_LAYOUT. It is reported as a bug with this example:-
    import javax.swing.*;
    import java.awt.*;
    import java.util.*;
    public class TestFrame extends JFrame {
    JSplitPane jSplitPane1 = new JSplitPane();
    JTabbedPane jTabbedPane2 = null;
    JPanel jPanel1 = new JPanel();
    JPanel jPanel2 = new JPanel();
    JPanel jPanel4 = new JPanel();
    JPanel jPanel3 = new JPanel();
    JTabbedPane jTabbedPane1 = null;//new JTabbedPane();
    public TestFrame() {
    try {
    jbInit();
    catch(Exception e) {
    e.printStackTrace();
    public static void main(String[] args) {
    TestFrame untitled11 = new TestFrame();
    untitled11.setSize(250,250);
    untitled11.show();
    private void jbInit() throws Exception {
    jTabbedPane1 = new JTabbedPane();
    jTabbedPane2 = new JTabbedPane();
    this.setDefaultCloseOperation(DISPOSE_ON_CLOSE);
    jSplitPane1.setOrientation(JSplitPane.VERTICAL_SPLIT);
    jTabbedPane1.setBackground(Color.red);
    // jTabbedPane1.setOpaque(false);
    jTabbedPane1.setTabLayoutPolicy(JTabbedPane.SCROLL_TAB_LAYOUT);
    jTabbedPane1.add(jPanel3, "Problem");
    jTabbedPane1.add(jPanel4, "Pane");
    jTabbedPane2.setBackground(Color.orange);
    jTabbedPane2.setOpaque(true);
    jTabbedPane2.add(jPanel1, "Working");
    jTabbedPane2.add(jPanel2, "Pane");
    jSplitPane1.add(jTabbedPane1, JSplitPane.TOP);
    jSplitPane1.add(jTabbedPane2, JSplitPane.BOTTOM);
    jSplitPane1.setDividerLocation(100);
    this.getContentPane().add(jSplitPane1, BorderLayout.CENTER);
    I have tried added the suggested solution
    javax.swing.UIManager.put("TabbedPane.tabsOpaque", Boolean.FALSE);
    javax.swing.UIManager.put("TabbedPane.contentOpaque", Boolean.FALSE);
    prior to creating the tab pane but stll get the problem.
    am I doing something wrong.

    The fix for the bug 4690946(http://developer.java.sun.com/developer/bugParade/bugs/4690946.html) was integrated only in jdk 1.5

  • Color changes when using Vignette and Levels...

    Its most promenant with reds, but when I am editing a RAW image and click Vignette, my reds turn orange-ish.  I noticed this with Levels as well.  Even after I click the reset arrow but leave the Levels box checked, the reds are still orange.  This happens on different images as well.  Any thoughts...?  Thanks.  mike.

    Hi. I currently use Canon, and i only see it in my RAW files.  All camera firmware is up-to-date. I am running latest version of Aperture, but still running 10.6.8. I went through a bunch of old photos where there was a good red color of something and i was able to duplicate the problem each time. Where there was a large area of red, it was VERY noticable. Also, I used to shoot with Nikon and my NEF files do the same thing where there is a nice red.  It seems to be an Aperature "thing."
    What i find so curious, is that even if I make no adjustments to the Levels sliders, just checking the box alters the color, same with the Vignette brick.  Also, I do color calibrate my monitor. thanks.

  • Color changes when using the bone tool

    When i'm animating some legs or something like that with the bone tool the leg turns in random frames to black. So between the pose you get flickering black legs, i can select the frame where to leg is black and change it just a bit and then the leg goes back to normal. But when i have to do this with long animations it takes ages. Does anyone recognize this problem? Because ive looked the internets but havent found any solution. Please help
    Frank

    Hi Sirharish,
    Can you try the solution in the forum post Bone tool no white for overlapping?
    Thanks,
    Preran

  • Color space change when using photoshop elements plug in

    When I select photo and edit with photoshop elements, Aperture makes a copy of the file as expected, but I can see the image color/hue etc. has changed, why?  Is there some setting I am missing?  The color of the image shouldn't change, should it? Just doesn't make sense!

    Where do you see the color change of the copy?
    In the thumbnail or preview before it is send to the external edtor?
    When the image is opened in the external editor?
    Or after it is send back from the editor?
    I do not see any color changes when I use PS CS5; it may help to see a screenshot.

  • Excel 2007 cell color changes when copying to other docum. using clipboard

    Hi,
    There is excel 2007 document which is generated by SAP. I think it contains
    some VB macros and some grouping.
    The problem is that if I select something from that document, copy that and
    paste to another excel 2007 document - colors get inverted somehow - for
    example white cell becomes red cell (backgroud color I mean), other
    background colors changes as well.
    If I open this xlsx document using excel 2003 (it converts document using
    compatibility pack) the issue is gone - I can copy contents to other excel
    2003 document without losing any format info.
    The problem is that our users all use office 2007.
    What could couse this behaviour ?
    thanks in advance
    Vilius
    Edited by: Vilius Mockunas on May 25, 2009 8:04 AM

    dear friend,
    you would do:
    1. search SAP Notes;
    2. check out the updates/patches for your MS Office;
    3. replicate it on another computer/another sap user (make sure it is a local issue)
    good luck!

  • Background color changed from white to yellow and =25% changed to %% on email

    I type =25% on my email and sent out, background color changed from white to yellow and =25% changed to %%.

    Try leaving a space after the =
    Thus: = 25%
    Where and when did it change? Did it change inside Thunderbird? Did it change in the Sent folder? Or in a reply to you?
    = and % are used in certain types of email encoding; =20% often appears, meaning character 0x20 which is 32 denary or the space character. It is often used where an explicit space would be illegal, and this is common in URLs and other links. I'm thinking that =25% similarly has a special meaning. It ''shouldn't'' get decoded, but software is buggy.
    I can't reproduce it here, which is why I'm asking about how and when it changes. Where does the Microsoft software come into it?

  • [svn:fx-trunk] 5313: Application, WindowedApplication, and Window background color changed to white.

    Revision: 5313
    Author: [email protected]
    Date: 2009-03-13 19:10:24 -0700 (Fri, 13 Mar 2009)
    Log Message:
    Application, WindowedApplication, and Window background color changed to white.
    QE Notes: None
    Doc Notes: None
    Bugs: sdk-16721
    Reviewer: Ryan
    tests: checkintests, cyclone build tested
    Ticket Links:
    http://bugs.adobe.com/jira/browse/sdk-16721
    Modified Paths:
    flex/sdk/trunk/frameworks/projects/airframework/defaults.css
    flex/sdk/trunk/frameworks/projects/framework/defaults.css
    flex/sdk/trunk/frameworks/tests/checkinapp/checkinapp.css

    Hi,
    When system is in a sleep mode or hibernate mode, it will save the data ans settings in memory or hard disk, so I suggest you run a memory check and a harddisk check and see if it can detect any errors.
    Memory check (instruction is similiar to windows 8\8.1, type "memory" in the search charm bar)
    http://windows.microsoft.com/en-in/windows7/diagnosing-memory-problems-on-your-computer
    Hard disk check
    http://technet.microsoft.com/en-us/magazine/ee872425.aspx
    Meanwhile, please check event viewer to find more information, useful path: event viewer\Windows logs or event viewer\Applications and Services Logs\Kernel-power
    Yolanda Zhu
    TechNet Community Support

Maybe you are looking for

  • Issue with Emoji icons when sent from iOS6 to iOS5

    Issue with Emoji icons when sent from iOS6 to iOS5, all icons appear as a square on the iOS5 message screen. Both iOS are the current version and the phones are 4S 64GB Anybody got this problem

  • Up Volume button doesn't work!

    Hello,     Recently I dropped my BB into the river while fishing.   I dried it out and everything still works except the UP Volume button.  Does anyone know of an app that can control the volume using the touch screen or the keyboard?  I've searched

  • FM code for New GL  Extractor :  0FI_GL_14

    Hi, For  G/L line item extractor 0FI_GL_14 the  line items extractor uses function modules FAGL_GET_LINE_ITEMS and FAGL_GET_SI_DATA  Does anyone has the code for both  Function Modules? Thanks, Prash.

  • How to add actionscript to buttons

    i m using adobe flash cs3 profficional software version...in my flash document i m using some buttons but i didn't get action script to that buttons...what is the reason?....can any one solve this problem....plz give me the reply....

  • Podcasts App/Stations not showing correct played/unplayed status

    Hi, there is an issue with the played/unplayed status of podcasts in the iOS Podcasts app (in iTunes everything is shown correctly, though). When I sync new podcasts to the Podcasts app via iTunes, the majority of podcasts are not showing up as unpla