Setting Colors to window defaults, UI gets reset

I created a Custom UI delegate for tabs to display the selected tab a certain color.
that color is the frame color, i.e. :
fillColor1 = UIManager.getColor("activeCaption");
so if you are using the windows OS and you set your active caption color to Dark Blue using the windows settings dialog (right click on the desktop and select properties, then choose the appearence tab) Then I want the selected tab color to change to that color as well. But when I change this color, my Custom UI gets wiped out and the BasicTabbedPaneUI becomes the UI available. Any suggestions? If you need more input or code, let me know.

I'm not sure why this happens, but why not just do a work-around:
    public Test() {
        JButton borderlessButton = new JButton("BorderlessButton")
            @Override
            protected void paintBorder(Graphics g)
                  //super.paintBorder(g);  // just prevent button from painting its own border
        //borderlessButton.setBorder(null);

Similar Messages

  • When I try to set FF back to default, I get XUL Runner: v. 15.0.1... What should I do?

    I'm running XP Pro.
    System has been running extremely slow; have tried other options but no success.
    Tried to set FF back to default, but I get the message: XUL Runner Error: Platform version "15.0.1" is not compatible w/minVersion >=12.0, maxVersion <=12.0.
    Is there anything I should be doing to get rid of this Error?
    I am not very computer literate, so please try simplicity in explanation.
    Thanks.

    hello hikerpat, this error might be caused by security programs such as zone alarm - please temporarily disable those programs and do a reinstall of the browser:
    *download the full firefox 15.0.1 setup file from getfirefox.com
    *uninstall firefox on the machine (but don't chose to delete your custom files & settings in the uninstaller)
    *manually delete all remaining files in the firefox program folder, which usually resides in ''C:\Program Files\Mozilla Firefox\''
    *reinstall firefox

  • Windows 8 settings get reset after Restart of computer

     My windows 8 has a problem that whenever I make any changes in the settings in Task-bar or start up or desktop personalize the settings come to effect as normal but when I restart my computer some of the settings are reset to default. For eg. If I
    try to pin a program to task bar, it automatically gets removed from task bar when I restart PC next time.
    Is there a problem with my windows settings?
    My windows version is Win 8 Pro
    Please Help
     

    Please repost your query in the more appropriate Windows 8 Community forums here....
    http://answers.microsoft.com/en-us/windows/forum/windows_8
    Noel Paton | Nil Carborundum Illegitemi
    CrashFixPC |
    The Three-toed Sloth
    No - I do not work for Microsoft, or any of its contractors.

  • Can Reader pick up the Default Page Size of a printer that is not the Windows Default Printer?

    We have a web based application that generates PDF documents via Crystal Reports.
    We are using Adobe Reader 8
    The PDF pages are displayed within an Internet Explorer window where the the users then print the document.
    The application is designed so the user only gets one chance to print the document (ie they cant come back and change printer settings if they happen to print the document out incorrectly)
    The document needs to be printed on A3 paper, full duplex.
    We have a printer set-up decidated to the printing of the documents generated by this application.  The default page size of this printer is set of A3.
    If we set this dedicated printer as the Windows Default Printer we have no problems at all.  The default page size (A3) is picked up and the document is printed correctly.
    If any other printer is set as the Windows Default Printer (eg one that has a default page size of A4), the users must obviously select the correct printer from the Print Dialogue Box -however when the user selects the dedicated A3 printer, the page size remains as A4 (page size of the Windows Default Printer).  This means the user must remember to change the paper size to A3 each time.
    Out users find IT a struggle at the best of times - anything that makes the process simpler is very welcomed!
    Is there a way to ensure the default page size of the printer is respected when that printer is not the Windows Default Printer?
    Thanks!

    No.

  • How do i get to the firefox window so i can reset the default settings?

    it is very slow online and when i went on today there was a message to reset to default settings. when i clicked that, it told me to go to the firefox window so i could reset. i don't know how to get to the firefox window. firefox immediately goes to my browser which is comcast. when i click on firefox above, it stays in comcast.

    See:
    *https://support.mozilla.org/kb/firefox-health-report-says-your-browser-is-slow
    Try to update to Firefox 29 via Help > About or download and save the full Firefox installer to the desktop and start the installation with a double-click on the desktop icon.
    You can find the full version of the current Firefox 29.0 release in all languages and for all Operating Systems here:
    *http://www.mozilla.org/en-US/firefox/all.html
    It is possible that your security software (firewall, anti-virus) blocks or restricts Firefox or the plugin-container process without informing you, possibly after detecting changes (update) to the Firefox program.
    Remove all rules for Firefox and the plugin-container from the permissions list in the firewall and let your firewall ask again for permission to get full, unrestricted, access to internet for Firefox and the plugin-container process and the updater process.
    See:
    *https://support.mozilla.org/kb/Server+not+found
    *https://support.mozilla.org/kb/Firewalls
    *https://support.mozilla.org/kb/fix-problems-connecting-websites-after-updating
    See:
    *https://support.mozilla.org/kb/reset-firefox-easily-fix-most-problems
    When you reset Firefox then a new profile is created and some personal data (bookmarks, history, cookies, passwords, form data) is automatically imported and the current profile folder will be moved to the desktop to an "Old Firefox Data" folder.
    Installed extensions and other customizations (toolbars, prefs) that you have made are lost and need to be redone.
    It is possible to recover more data from the old profile, but be cautious not to copy corrupted files to avoid carrying over the problem
    *https://support.mozilla.org/kb/Recovering+important+data+from+an+old+profile

  • When I change the color using windows 7 color, I get a prompt to change back to firefox default or everything is very slow. Isn't there another way to fix the i

    When I change the color using windows 7, apparently firefox runs slower. The videos I watch are spotty and looking like it's in slow motion. Sometimes I get a prompt to use firefox colors and this fixes it. But why can't I use other colors, and are there settings to help me fix this problem? Thank you for any information you can give me. Joyce

    Try to disable hardware acceleration in Firefox.
    *Tools > Options > Advanced > General > Browsing: "Use hardware acceleration when available"
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
    *https://hacks.mozilla.org/2010/09/hardware-acceleration/
    You can check for problems caused by recent Flash updates and try these:
    *disable a possible RealPlayer Browser Record Plugin extension for Firefox and update the RealPlayer if installed
    *disable protected mode in Flash 11.3 and later
    *disable hardware acceleration in the Flash plugin
    *http://kb.mozillazine.org/Flash#Troubleshooting

  • 3rd party signature handler set in Adobe Acrobat 9 Professional Extended gets reset

    Hi All,
    I have got a 3rd party digital signature creating plug-in i.e. MySign . I have set it inside 'Preference > Security > Advanced Preferences > Creation > Default Method to Use when Signing and Encrypting Documents' > MySign. If I restart Adobe Acrobat that setting is lost and the Adobe Default Security handler is then used.
    I don't want to set handler manually every time I restart Adobe Acrobat. I have figured out that Adobe Acrobat is creating a registry entry named aPrivKey against that inside cHandlers BUT it gets removed on Adobe restart if I set MySign as the handler in the first place.
    Similarly I want the same handler to verify signatures. For that I have set 'Preferences > Security > Advanced Preferences > Verification > Always use the default method (overrides the document-specified method)' along with the name of handler i.e MySign but on restart of Adobe, this is also gets reset.
    Any idea how to set my handler as default to sign & verify without getting it reset?
    Regards,
    Wahaj

    Hi All,
    I checked with Adobe X and this issue is not present there.
    Regards,
    Wahaj

  • How do I set firefox as the default browser in Windows Server 2012 Group Policy Editor?

    Hello, I am unable to set firefox as the default browser despite multiple different attempts to do so using group policy.
    I have:
    - Set a registry command (targeted at 32/64 via a WMI query) to reset the opening command as shown below:
    HKEY_CURRENT_USER\Software\Classes\http\shell\open\command
    "C:\Program Files (x86)\Mozilla Firefox\firefox.exe" -osint -url "%1"
    - Set a powershell logon script to run (that does run):
    firefox.exe -silent -setDefaultBrowser
    Despite setting the above it seems the client computers browsers are not affected by the settings above. When the script runs or if I run the command above a UAC window pops up and requests that I accept the command (for the setDefaultBrowser) but even if I click yes as an administrator it does nothing.
    Since GPO in 2012 has changed perhaps there is something that I am missing? Do I need to somehow disable Windows Internet Explorer from achieving default browser status?
    Please do not reply if you will suggest that I use Internet Explorer Maintenance (since this function in GPO has been disabled since IE10)
    My DC is Server 2012, my client computers are Win7 32/64.

    The above reply does not take into account that I am trying to use GROUP POLICY EDITOR to make it the default browser.

  • After the Firefox update this week (Sept 7?) links from emails won't open. I get an error message. So I've temporarily set IE as my default browser, and the links work.

    After the Firefox update this week (Sept 7?) links from emails won't open. I get an error message. So I've temporarily set IE as my default browser, and the links work.

    Hi everyone, I have Snow Leopard 10.6.8. I have been very very frustrated by this problem. [I could not create new windows, and anything that opens new windows, such as trying to see what Add-ons you have etc would not work]. I read about changing screen alignment to the top... I have one screen so the option does not exist. The above messages would not fix this problem. I searched hard and did find a solution in the end. I read stuff about removing Add-ons until the problem is fixed, but its simply not the case.
    First of all open Firefox. next go to options: Help --- 'Restart with Add-ons disabled'. Tick the box for add-ons, restart firefox. Next go to Tools --- Add-ons. Next (In the Add-ons Manager' click on 'Plugins' on the left hand side pane. Look for the small blue writing that says 'Check to see if your plugins are up to date'.
    Now notice it should say 'Missing Flash'. "For your safety, Firefox has disabled your outdated version of Flash. Please upgrade to the latest version". I followed this, reinstalled Flash and it now works as it always did, no problems. For people where the above fix didn't work, try this one out. Hope it helps people!
    :o)

  • I get "application not found" when clicking on a http link in a mail, even after having set firefox as the default program for http links.

    After installing firefox 15.0, I can not open links form email or other office 2010 applications. I get "application not found" error. I tried setting firefox as the default program both manually (in the Windows default program panel) and automatically (having Firefox to do it automatically on startup (tools->options->advanced->General). I still have the error.

    That sounds odd. Is this error coming from a particular e-mail program you're using? It could be that that program has its own settings for which web browser to launch, ignoring the "default browser" setting in Windows.
    Does the same thing happen if you click on a web link from any other external (non-browser) application on your computer? If it happens with other apps too, I would suggest to re-download and install Firefox (www.mozilla.org) and see if that takes care of it.

  • I am running windows xp. as of today, i keep getting uninstall set pop up window. how can i get rid of it? Thanks. jim

    I am running windows xp. as of today, i keep getting uninstall set pop up window. how can i get rid of it? Thanks. jim

    This issue can be caused by an extension that isn't working properly.
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    * Don't make any changes on the Safe mode start window.
    * https://support.mozilla.com/kb/Safe+Mode
    * https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes

  • I just set up my windows 7 pc with icloud.  I have 2 calendars on icloud with different appointments.  How do I get them all on one claendar shared with ipad

    I just set up my windows 7 pc with icloud and connected it to my ipad and iphone.  I noticed that I have 2 icloud calendars on my pc.  Neither one of them has all my events on it, so I have to look at both to see what is going on.
    How do I get everything on one calendar?????

    Hello
    I think i find the problem, the Microsoft Proxy. If you use a Microsoft Proxy then it's not going with the iCloud Drive Client under Windows. I turn off the proxy in the IE and then it's going with the iCloud Drive Client.
    The problem is, the iCloud Drive Client take the IE proxy (if it set in the IE), in other sync client like Dropbox oder OneDrive you can select the proxies (no proxy, default proxy, manually proxy) and this is in the current version of the iCloud Drive client not possible.
    I hope Apple make this possible in a future release of the Windows client also with the option to change the location to store the data (i think under C://user/profiles is not so good for user with a SSD-harddrive).
    regrads
    Steve

  • SystemD Values Get Reset to Default after some Time

    Hi,
    I'm using two machine as gateways and Keepalive HA load balancers, so I've enabled some kernel options, but after some time (the next day or so), these options have been reset to their default (disabled) values.
    Why does that happen, and how to stop that from happening?
    I have to reset the parameters each time. I could set up a script to run on a schedule, but I would like to prevent it from happening in the first place.
    These are the values which get reset to 0 (this time):
        net.ipv4.conf.all.accept_redirects
        net.ipv4.vs.conntrack
        net.ipv4.vs.expire_nodest_conn
        net.ipv4.vs.expire_quiescent_template
    Thank you.

    I didn't find anything in the journal, but I am curious about what I did find: every 1-3 seconds, there is an entry which is repeated: "sshd[<Number>]: Set /proc/self/oom_score_adj to 0". What does it mean? I've been scrolling for the last few days-worth of this message, and there is still more... I also have many attempts to log in via ssh from China, from multiple IP addresses, with various user names and many unsuccessful authentication attempts for root; maybe the entry is related to these attempts...
    Going back to the original discussion, I think I've seen someone mention a systemd service or something like that which resets kernel settings, or some other things, to their default values, in a post (here), but I didn't find it again. Is there such a service that does something like that?
    It is strange that since I started this thread, and since I reset the settings to 1, they have remained at 1. I notice that it happens irregularly.

  • When I try to set up Icloud control panel in Windows Vista, I get "your setup couldn't be started because the Icloud server stopped responding. I've tried loads of fixes suggested on the net but none worked. Can anyone help me please?

    When I try to set up Icloud control panel in Windows Vista, I get "your setup couldn't be started because the Icloud server stopped responding. I've tried loads of fixes suggested on the net but none worked. Can anyone help me please?

    Hello, ksb2. 
    Thank you for visiting Apple Support Communities.
    We are investigating this issue. This article will be updated as more information becomes available.
    iCloud: iCloud Control Panel setup cannot be started
    http://support.apple.com/kb/TS5178
    Cheers,
    Jason H.

  • How to set HP OfficeJet 4500 used as a network printer to print in black not color as a default.

    I have my HP officejet printer set as a network printer but it prints color when I had initially set it for B&W as my default during set-up
    How do I set my HP OfficeJet 4500 used as a network printer to print in black not color as the default.
    Thanks,
    Bob

    OK, go to Start > Control Panel > Printers.  Right click the printer in question and choose Printing Preferences.  Set it the way you want, then click OK. 
    That should set the defaults for all programs using the printer.
    Say thanks by clicking "Kudos" "thumbs up" in the post that helped you.
    I am employed by HP

Maybe you are looking for

  • Quicktime works fine in Firefox/3.6.18 but does not work properly in any versions above.

    I've recorded a screencast to show examples of how quicktime works with FF 3.6 but not on any version higher. http://web.me.com/lcassis/QT_FirefoxProblem.mov Any help explanation would be greatly appreciated -Larry C

  • Nokia Lumia 810 - Colored back

    Hello, Where can we get the colored back shells for Nokia Lumia 810 as Nokia USA teases on FB - Nokia US - FB Link? I know Cyan was available on T Mobile somtime back, but its mostly out of stock as Black as well. where can I get Red? Thanks in advan

  • HR forms tutorial

    Hi, Could anybody provide me documents on hr forms tutorials. Points will be rewarded. Thanks and regards, Sameer Dhuke

  • Missing authorizations for authorization object UIU_COMP

    I have generated the pfcg role for a business role using report CRMD_UI_ROLE_PREPARE and assigned the pfcg role to a user. The user is apparently able to perform navigation as required. However, when a ST01 trace is run for the user, there are few mi

  • Apple  menu not working

    When in any program or Finder, when I click the little Apple icon () in the corner for the Apple menu, it highlights it but it doesn't pop down. Therefore I cannot select Shut Down, logout and have to do it manually. Anyone know of a solution to this