XP laf not working with 1.4.2 & vista

I'm having trouble getting the XP look and feel on Vista with Java 1.4.2_14.
Buttons and toolbar buttons are the worst. They look like "classic windows" with ugly square borders. It's the same on most versions I've tried although 1.5.0_11 and 1.6 look fine.
Toolkit.getDefaultToolkit().getDesktopProperty("win.xpstyle.themeActive") returns null.
I'm not sure if this is relevant but I have to use sun.java2d.noddraw=true to avoid Vista switching to Basic Vista Basic Theme.

they are Right it checks to see that the OS name is Windows XP i assume and it finds the windows but NOT the xp so it just assumes it is 98.... just my theroy
well not any more.!!! take a look and see ....
  private static LookAndFeelInfo[] installedLAFs;
    static {
        ArrayList iLAFs = new ArrayList(4);
        iLAFs.add(new LookAndFeelInfo(
                      "Metal", "javax.swing.plaf.metal.MetalLookAndFeel"));
        iLAFs.add(new LookAndFeelInfo("CDE/Motif",
                  "com.sun.java.swing.plaf.motif.MotifLookAndFeel"));
        // Only include windows on Windows boxs.
     String osName = (String)AccessController.doPrivileged(
                             new GetPropertyAction("os.name"));
        if (osName != null && osName.indexOf("Windows") != -1) {
            iLAFs.add(new LookAndFeelInfo("Windows",
                        "com.sun.java.swing.plaf.windows.WindowsLookAndFeel"));
            if (Toolkit.getDefaultToolkit().getDesktopProperty(
                    "win.xpstyle.themeActive") != null) {
                iLAFs.add(new LookAndFeelInfo("Windows Classic",
                 "com.sun.java.swing.plaf.windows.WindowsClassicLookAndFeel"));
        else {
            // GTK is not shipped on Windows.
            iLAFs.add(new LookAndFeelInfo("GTK+",
                  "com.sun.java.swing.plaf.gtk.GTKLookAndFeel"));
        installedLAFs = (LookAndFeelInfo[])iLAFs.toArray(
                        new LookAndFeelInfo[iLAFs.size()]);
    }the OS is Windows but the XP theme is NOT on the computer!! so it goes back to cassic. hope this helps you,
ps that was code from UI Manager 1.5

Similar Messages

  • Flash does not work with Firefox following Windows Vista update 14/5/2014.

    Flash still works with IE9. I've carried out all steps in http://helpx.adobe.com/flash-player/kb/flash-player-games-video-or.html, i.e. twice updated Flash to V13.0.0.214 (previously V13.0.0.206), activated Firefox Flash add-on, deleted browser data and cache and disabled hardware acceleration. Nothing fixes it! Vista SP2, Firefox 29.0.1.

    Apologies for vague "does not work" from me - and sorry for delay replying. What I understand to be "rich media content" did not display. For example, all text and images in this screen clip from www.metoffice.gov.uk appeared as a single blank grey rectangle. In other websites links displayed in a basic underlined font instead of rich formatted text/images, or video and audio links were completely missing from an otherwise fully rendered webpage.
    However in the last hour Firefox has starting behaving properly again without any further diagnostic efforts from me! For six days some graphics and links have not displayed in Firefox, yet IE9 has behaved perfectly. This has happened a few times before, normal service being restored (in hours rather than days) either by updating the Flash plug-in or for no apparent reason.
    Any thoughts in case of future re-occurrences would be appreciated. Thanks Pat for your time and help.

  • Easy Print VI panel not working with 64-bit windows vista

    We have a significantly sized application developed in Labview 8.2.1 that is designed to work on a standalone computer. This application uses "Easy Print VI Panel" to print report pages which are basically front panels of various VIs. The application also prints some report pages using the "Print Report" module. Typically we use the application builder and use the generated installer to install the application on a target computer. We also include the appropriate Run-Time engine and NI VISA 4.1. The applications works exactly as designed on all versions of 32-bit Windows (ME, XP, Vista). Now, when this application was installed on a machine running Windows Vista 64-bit, attempts to print reports resulted in a lot of blank pages. I noticed that the report pages that are based on the "Easy Print VI Panel" module were blank whereas the ones that are based on the "Print Report" module were not blank.
    To further troubleshoot, I created a very small application. The only function of this application is to use the "Easy Print VI Panel" to print the front panel of another VI that I bundled inside the application. I observed the same behavior.  
    From what I can tell, either:
    1. "Easy Print VI Panel" with Labview 8.2.1 is not compatible with Windows Vista 64-bit
    2. The Labview Run-Time Engine 8.2.1 has some incompatibility with Windows Vista 64-bit (I have not tried to install the full development system on the 64-bit Vista computer)
    Any insights as to what may be causing this? or does anyone know of a fix for this issue. I am attaching the latter simple test code to the post.
    Thanks
    Attachments:
    test_print.vi ‏18 KB

    Sorry Sam, I couldn't get my hands on a 64-bit Vista machine to tinker with your VI. I got a little obsessed with trying to get ahold of a computer to test it out on, that I overlooked actually taking the time to think about the problem. But, now that I'm thinking about it, which operating system did you build this application on? Sometimes an application that was built in another OS than it's running on will have problems caused by the differences in the OS. I'd like to try building the application in 64-bit Vista and deploying it to another 64-bit Vista machine, but unfortunately, I can't test this out myself. My gut feeling is that the application is acting up because it wasn't built in 64-bit Vista, not because the Easy Print VI or the 8.2.1 Run-Time Engine themselves are incompatible with 64-bit Vista. If you can, please test out that theory. That will definitely help determine if it's truly a bug or not.
    Product Support Engineer
    National Instruments

  • Line in not working with a Mic on Vista but working wth10.5

    Hi,
    I use everyday my headphone with a microphone everyday with Skype without any problems on 10.5. I just pluged the mic in the Line in input and headhone in the Line out.
    But under Vista 32 bits, the mic isn't working at all, I don't have a sound when I speak in the mic, and in the Audio panel of Vista, the line in Setup button is unavailable (but it is for the built-in mic).
    If I invert the mic and headphone in the entries (I mean physicaly), and speak loudly in the headphone, I have a level...
    Honnestly, I don't understant.
    For information, I still have the last beta drivers, I just saw that the 10.5 DVD have the last drivers (and it seems 64bit drivers, yeahh!)
    Thank you in advance for your help!

    I am searching for a answer myself and came across this link:
    http://forum.notebookreview.com/showthread.php?t=161009&highlight=microphonelinein
    Basically it sounds like we may have to use a USB Mic.. Not sure if you've come up with anything better. If you did, please post.

  • I have recently upgraded my iMac Intel G5 iSight to OS 10.6.8 and now the internal mic does not work with skype or facebook. I can here static when playing back clips. Do I need to update firmware or reload old sys parts

    I have recently upgraded my iMac Intel G5 iSight (iMac5,1) to OS 10.6.8 and now the internal mic does not work with skype or facebook. I can here static when playing back clips. Do I need to update firmware or reload old system parts. I have zapped PRAM. The blue indicator in system audio panel will appear for a second as I slide the bar for internal mic but then it disappears. Is there a fix?

    The sound seems very faint but can here static on playback.

  • My operating system windows XP not working with photoshop cloud, why not?

    I need to add 2 more licences for photoshop cloud and I'm being told my operating system windows XP does not work with Photoshop cloud. We already have 2 pcs using it in our office so why not?
    Please help
    Roy

    Do you have the latest version of iTunes?  If not, get it at:
    http://www.apple.com/itunes

  • Adobe creative cloud eea 1.5 is not working with our asus Eee box , celeron j1900 2.00 ghz, 4gb of ram, 64bit. can settings be changed in adobe?

    adobe creative cloud eea 1.5 is not working with our asus Eee box , celeron j1900 2.00 ghz, 4gb of ram, 64bit. can settings be changed in adobe?

    A chat session where an agent may remotely look inside your computer may help
    Creative Cloud chat support (all Creative Cloud customer service issues)
    http://helpx.adobe.com/x-productkb/global/service-ccm.html

  • Application is not working with mouse

    Dear All,
    We have a strange issue in the our application (Oracle form) in the one of our client machine.
    Some times the forms are not able to work with the mouse but is able to work with the keyboard. After one or two machine restart its again working. When the issue occur we can able to work in other applications using mouse.
    Our Applications server is in Other country and client are accessing from India.
    This occurs for some user and not for all.
    Application server Version          10.1.2.0.2.
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit
    Java Plug-in version 1.6.0_31 .
    Please any info will help us lot.

    Thank you for the quick replies Michael Ferrante and HamidHelal.
    But since its occurring for some users (perticulary indian users) and some times. And also its occurring in production environment not in development environment.
    Even the java control panel is not working with mouse.
    For other country customers everything working fine.
    So its difficult for me to apply the patch with these uncertainties.
    Checking with fresh java installation and let you know the status.
    Thanks.

  • Voice Memo is not working with iOS 8.2

    Voice Memo Records is not working with iOS 8.2. how to fix it?

    Voice Memo Records is not working with iOS 8.2. how to fix it?

  • On updating my iphone it shows no network inspite the sim inserted,now it also not working with itunes.i cant see menu page on display screen

    on updating my iphone it shows no network inspite the sim inserted,now it also not working with itunes.
    i cant see menu page on display screen

    http://support.apple.com/kb/HT1808

  • Caller ID not working with Nokia 6600?

    I have a T-Mobile (US) Nokia 6600, and I can't seem to get address book to display incoming SMS or the caller ID of incoming calls. I've successfully paired the phone via bluetooth, and I can make address book dial the phone and send an sms. I can sync via iSync, use my phone as a modem, etc. etc.
    But regardless of what settings I tweak, I can't seem to get Address Book to show a bezel of any kind on incoming calls - not even an 'Unknown Caller' message! Am I missing something obvious? Third party apps like BluePhoneElite work just fine, so I'm pretty sure it's something wrong with Address Book...
    15" Aluminum Powerbook 1.5 GHz   Mac OS X (10.4.5)  

     
    mdcdsc wrote:
    My caller ID does not work with the new ap either.  I don't like the new ap at all.  The old one was beautiful.  Now my email is very hard to see, so much that I will just use the Apple email that comes with my IPOD.  The caller ID was my favorite thing with the old ap.  and now it doesn't work.  I have followed the instructions and turned everything on, but it just does not work.
    The Caller ID issue was due to an outage. It should be resolved anytime soon. Can yu log out and log back in. Go to app settings and in notifications and turn CAller ID off and on.
    On email - what do you mean 'email is very hard to see' ? I would like to pass on this feedback to the team.

  • Flash player does not work with new ICS Android 4.0.4 OS. Has this problem been addressed?

    Flash player does not work with new ICS Android 4.0.4 OS. Has this problem been addressed? I am using Firefox Beta for android and I also tried just Firefox.

    Please check the Play Store app for any Flash updates and install them if present.

  • Flash player does not work with Ie or Firefox with win 8.1?

    Flash player does not work with Ie or Firefox with win 8.1 64, If i try and play a video I get the message to install Flashplayer.
    If I try and install it it says it is already installed. Your onsite  installer says it is not applicable to my machine.
    I have followed all the normal steps re enabling addons and active filters etc.
    all to no avail Pc is Dell 6 months old, Flashplayer has never worked on this machine. Last MS update mid Dec 2014.
    Version of flashplayer is 15....03.......

    Flash Player is a built-in component of Internet Explorer.  There's nothing separate to download or install.
    Firefox requires a different version of Flash Player (the NPAPI plug-in), which will be served to you if you go here: http://get.adobe.com/flashplayer using Firefox; however, there are some unique stability issues related to Firefox on Win8.1, and you're probably better off using Google Chrome if you want a more optimal experience with Flash Player.
    For problems where IE isn't being detected by sites that require Flash:
    First, confirm that ActiveX Filtering is configured to allow Flash content:
    https://forums.adobe.com/thread/867968
    Internet Explorer 11 introduces a number of changes both to how the browser identifies itself to remote web servers, and to how it processes JavaScript intended to target behaviors specific to Internet Explorer. Unfortunately, this means that content on some sites will be broken until the content provider changes their site to conform to the new development approach required by modern versions of IE.
    You can try to work around these issues by using Compatibility View:
    http://windows.microsoft.com/en-us/internet-explorer/use-compatibility-view#ie=ie-11

  • My work computer runs Outlook 2003, which I know will not work with the iCloud, so I hard sync.  But then the new info on my iPhone does not backup to iCloud.  Is there a solution?

    I have a Macbook and iPhone and like to back up to iCloud.  However, my work computer runs Outlook 2003, which I know will not work with the iCloud.  The company has no plans to update anytime soon.  Since the calendar and contact list on my office computer are my primay ones, I hard sync through iTunes.  The problem is that any data synced from Outlook 2003 to the iPhone from iTunes does NOT later backup to iCloud.  Is there a solution?

    I have the same problem with Outlook 2003 and Win XP which the multinational organisation I work for standardises on and will probably stay with forever!

  • My Time Capsule does not work with existing WiFi

    Following a question solved on March 24 by LaPastenague, but gone bad again.
    Apple AirPort Time Capsule
    I felt the need for a physical backup of my data, as I would not completely trust the different clouds. I use, and have used Dropbox for 4-5 years and are very satisfied with that, but I am still not sure if or when a political lunatic will shut off the internet.
    I purchased the Apple AP Time Capsule 2T, because all my other stuff are Apple, and that it's wireless. My old backup is Maxtor 300 GB.
    Since we stay 2-3 weeks on two locations, one in Norway and one in Sweden (two different countries) we must use Mobile Broadband 4G, cables or fibre connections are useless for us, and we don't have it up to the houses. I have one mini router for each country, we bring with us iPhones, iPads, iMac, Apple TV, APExpress. When we pass the boarder I change the mini router, and the system continues working perfect on the WiFi, except the APExpress that needs to be reconfigured,  but then it works.
    The APTC was difficult to make working as it would not accept to be in an existing network, but with good help from the Apple Community, LaPastenague, with forcing the TC connect to the APE with Ethernet cable in bridge mode, ref "My Time Capsule does not work with existing WiFi" from March 24, the problem was solved and all gadgets worked together in a perfect harmony, until we changed location.
    Now, as I have my second WiFi network, and the APExspress is reconfigured, it's like the TC thinks, I am the base boss here, I am not taking orders from APE one more time, and it simply does not work, not only that, it fluctuates all the time.
    I have a slight feeling that the two WiFi bands are making the trouble as during the configuration of the TC sometime the last figure 6 and 7 pops up, and that has something two do with the two different 2,4 and 5 GHZ bands
    So, I am curious if you have any idea ?
    I am thinking of returning the TC if I don't make it work now, but how do I delete all the data that's on it?

    I can deal with the last question first and easily.
    I am thinking of returning the TC if I don't make it work now, but how do I delete all the data that's on it?
    Open the airport utility .. go to the disk tab and select erase.
    When you select erase you will get mulitiple options.
    Quick removes the file table but does not delete the files,, it takes 2min or less.
    A Zero out data is the secure way,, by writing 0 ie low level drive format.
    It can take several hours..
    7 pass will take a week.. not recommended..
    35 pass erase is ridiculous.. it would take a month.. put an ax through the TC. It is quick and better.
    Now, as I have my second WiFi network, and the APExspress is reconfigured, it's like the TC thinks, I am the base boss here, I am not taking orders from APE one more time, and it simply does not work, not only that, it fluctuates all the time.
    The fact that it did work and has now failed might point to faulty unit.
    The only way to tell is reset it properly to factory and start over.
    Universal Factory Reset.. any model TC or AE.
    Unplug your TC/AE from power or turn off at the power point.
    Hold in reset. and power the TC/AE back on..  all without releasing reset and keep holding in for about 10sec. (this is often difficult without a 2nd person or a 3rd arm).
    Release it when the status light flashes rapidly. If it doesn’t flash rapidly you have missed it and try again.
    Note..
    Be Gentle! Feel the switch click on. It has a positive feel..  add no more pressure after that.
    TC/AE will reboot after a couple of minutes with default factory settings and will wipe out previous configurations of the router.
    No files are deleted on the hard disk in a TC.. No reset of the TC deletes files.. to do that you use erase from the airport utility.
    Generally having multiple wireless AP should not cause problems.. but it is better to set channels manually.. so it doesn't go beserk rotating channels.
    Remember to keep all names short, no spaces and pure alphanumeric.
    Sadly though the Apple routers have no logging now and no SNMP and almost nothing to help diagnose a problem, so if it continues .. take it back to apple.. they have given you no other method of fixing it.

Maybe you are looking for