Help loading non-jre bundled locale basic_*.properties

Hello All,
I have an app where the user can change the language dynamically. Whenever the language (locale) is changed I call UIManager.setLookAndFeel(UIManager.getLookAndFeel()); to reinitilise the values in the OptionPane/FileChooser etc. Basically everything defined in the following files.
com\sun\swing\internal\plaf\basic\resources\basic.properties (English)
com\sun\swing\internal\plaf\basic\resources\basic_de.properties (German)
com\sun\swing\internal\plaf\basic\resources\basic_es.properties (Spanish)
com\sun\swing\internal\plaf\basic\resources\basic_fr.properties (French)
com\sun\swing\internal\plaf\basic\resources\basic_it.properties (Italian)
com\sun\swing\internal\plaf\basic\resources\basic_ja.properties (Japanese)
com\sun\swing\internal\plaf\basic\resources\basic_ko.properties (Korean)
com\sun\swing\internal\plaf\basic\resources\basic_sv.properties (Slovakian ??)
com\sun\swing\internal\plaf\basic\resources\basic_zh_CN.properties (Chinese)
com\sun\swing\internal\plaf\basic\resources\basic_zh_TW.properties (Taiwanese??)
The problem I have is that I also want to provide other languages to the user than those defined above.
Therefore I defined my own basic_*.properties files in my classpath.
However, when I call UIManager.setLookAndFeel(UIManager.getLookAndFeel()); they are not picked up.
I suppose I could read my file every time the locale is changed and call UIManager.put(key,value) for each entry in the basic_*.properties file but I would rather not.
Does anybody know how to read these files automatically when the locale is changed. Which class is responsible for loading the property files bundled with the JRE?
dollars are waiting to be awarded.....
N35 (j2sdk1.4.1_01)

So you defined your own basic_*.properties file then?
The problem I have is the application is started from within an already running application (various checks performed before starting app2). Application 1 may be in a different locale to application 2.
Application 1 initialises Swing to English, but application 2 wants to run in Finnish (for example). Therefore application 2 needs to reset swing based on the Locale Finnish. Therefore it needs to load the properties defined in the basic_fn.properties which I have defined in my class path.
How can I do this?

Similar Messages

  • How to load the resource bundle message on confirmation popup

    hi every one
    i am using java script confirmation message on my delete button.
    this is my sample for that one
    <h:commandButton action="#{createCurrency.removeCurrency}"
             onclick="if (!confirm('Are you sure to delete this value?')) return false" value="#{messages.Delete}"/>    i need to load the "Are you sure to delete this value?" from resource bundle.
    is there any way to load above message from resource bundle.
    thiagu.m

    If you're using JSF 1.2, you can add the bundle config in your faces-config.xml file like this:
    <resource-bundle>
       <base-name>mypackage.i18n.MessageResources</base-name> // i18n is shorthand for internationalization
       <var>msg</var>
    </resource-bundle>     
    <locale-config>           
       <default-locale>en</default-locale>  // or whatever locale you preferred 
       <supported-locale>...</supported-locale> // other locale defined here if you need them
    </locale-config>Then create a property file called "MessageResources_en.properties. In this file, you can define something like:
    {code}
    MSG_CONFIRM=Do you wish to delete this value?
    // add other messages here. Syntax is: key=value
    {code}
    Then reference the bundle's message in your form as per normal:
    {code}
    !confirm(#{msg.MSG_CONFIRM}))
    {code}
    I haven't tried the above codes but it should help you get started.
    Edited by: icepax on 13/11/2009 19:44

  • Problem description: My MacBook Pro is running really slow. Applications won't open or take up to 10 min.  EtreCheck version: 2.1.5 (108) Report generated December 27, 2014 at 9:15:58 PM CST  Click the [Support] links for help with non-Apple products

    Problem description:
    My MacBook Pro is running really slow. Applications won’t open or take up to 10 min.
    EtreCheck version: 2.1.5 (108)
    Report generated December 27, 2014 at 9:15:58 PM CST
    Click the [Support] links for help with non-Apple products.
    Click the [Details] links for more information about that line.
    Click the [Adware] links for help removing adware.
    Hardware Information: ℹ️
      MacBook Pro (13-inch, Late 2011) (Verified)
      MacBook Pro - model: MacBookPro8,1
      1 2.4 GHz Intel Core i5 CPU: 2-core
      4 GB RAM Upgradeable
      BANK 0/DIMM0
      2 GB DDR3 1333 MHz ok
      BANK 1/DIMM0
      2 GB DDR3 1333 MHz ok
      Bluetooth: Old - Handoff/Airdrop2 not supported
      Wireless:  en1: 802.11 a/b/g/n
    Video Information: ℹ️
      Intel HD Graphics 3000 - VRAM: 384 MB
      Color LCD 1280 x 800
    System Software: ℹ️
      OS X 10.10.1 (14B25) - Uptime: one day 6:55:8
    Disk Information: ℹ️
      TOSHIBA MK5065GSXF disk0 : (500.11 GB)
      EFI (disk0s1) <not mounted> : 210 MB
      Recovery HD (disk0s3) <not mounted>  [Recovery]: 650 MB
      HD (disk1) /  [Startup]: 498.88 GB (5.04 GB free) (Low!)
      Core Storage: disk0s2 499.25 GB Online
      MATSHITADVD-R   UJ-8A8 
    USB Information: ℹ️
      Apple Inc. FaceTime HD Camera (Built-in)
      Apple Inc. BRCM2070 Hub
      Apple Inc. Bluetooth USB Host Controller
      Apple Inc. Apple Internal Keyboard / Trackpad
      Apple Computer, Inc. IR Receiver
    Thunderbolt Information: ℹ️
      Apple Inc. thunderbolt_bus
    Gatekeeper: ℹ️
      Mac App Store and identified developers
    Kernel Extensions: ℹ️
      /System/Library/Extensions
      [loaded] com.epson.driver.EPSONProjectorUDAudio (1.30 - SDK 10.4) [Support]
      [not loaded] com.seagate.driver.PowSecDriverCore (5.2.6 - SDK 10.4) [Support]
      /System/Library/Extensions/Seagate Storage Driver.kext/Contents/PlugIns
      [not loaded] com.seagate.driver.PowSecLeafDriver_10_4 (5.2.6 - SDK 10.4) [Support]
      [not loaded] com.seagate.driver.PowSecLeafDriver_10_5 (5.2.6 - SDK 10.5) [Support]
      [not loaded] com.seagate.driver.SeagateDriveIcons (5.2.6 - SDK 10.4) [Support]
    Problem System Launch Agents: ℹ️
      [killed] com.apple.CallHistoryPluginHelper.plist
      [killed] com.apple.coreservices.appleid.authentication.plist
      [killed] com.apple.icloud.fmfd.plist
      [killed] com.apple.telephonyutilities.callservicesd.plist
      4 processes killed due to memory pressure
    Problem System Launch Daemons: ℹ️
      [killed] com.apple.ctkd.plist
      [killed] com.apple.icloud.findmydeviced.plist
      [killed] com.apple.ifdreader.plist
      [killed] com.apple.nehelper.plist
      [killed] com.apple.wdhelper.plist
      [running] com.seagate.TBDecorator.plist [Support]
      5 processes killed due to memory pressure
    Launch Agents: ℹ️
      [not loaded] com.adobe.AAM.Updater-1.0.plist [Support]
      [loaded] com.carbonite.launchd.carbonitealerts.plist [Support]
      [running] com.carbonite.launchd.carbonitestatus.plist [Support]
      [loaded] com.coupons.coupond.plist [Support]
      [loaded] com.hp.help.tocgenerator.plist [Support]
      [loaded] com.trendmicro.itis.dca.plist [Support]
      [running] com.trendmicro.itis.uimgmt.agent.plist [Support]
    Launch Daemons: ℹ️
      [failed] com.adobe.fpsaud.plist [Support]
      [running] com.carbonite.launchd.carbonitedaemon.plist [Support]
      [loaded] com.microsoft.office.licensing.helper.plist [Support]
      [running] com.trendmicro.icore.av.plist [Support]
      [running] com.trendmicro.icore.main.plist [Support]
      [running] com.trendmicro.icore.wp.plist [Support]
      [running] com.trendmicro.itis.plugin.plist [Support]
    User Launch Agents: ℹ️
      [loaded] com.adobe.AAM.Updater-1.0.plist [Support]
      [loaded] com.google.keystone.agent.plist [Support]
      [invalid?] com.jdibackup.JustCloud.autostart.plist [Support]
      [invalid?] com.jdibackup.JustCloud.backupstart.plist [Support]
      [loaded] com.trendmicro.itis.uninstaller.plist [Support]
    User Login Items: ℹ️
      iTunesHelper Application (/Applications/iTunes.app/Contents/MacOS/iTunesHelper.app)
      bomgar-scc-20130819-104735 UNKNOWN (missing value)
      bomgar-scc-20130905-143949 UNKNOWN (missing value)
      USB Display Agent Application (/Applications/USB Display/USB Display.app/Contents/Resources/USB Display Agent.app)
      WDDriveUtilityHelper Application (/Applications/WD Drive Utilities.app/Contents/Resources/WDDriveUtilityHelper.app)
      WDSecurityHelper Application (/Applications/WD Security.app/Contents/Resources/WDSecurityHelper.app)
      USB Display Agent Application (/Applications/USB Display/USB Display.app/Contents/Resources/USB Display Agent.app)
      bomgar-scc-20130819-104735 UNKNOWN (missing value)
      bomgar-scc-20130905-143949 UNKNOWN (missing value)
      HP Scheduler Application (/Library/Application Support/Hewlett-Packard/Software Update/HP Scheduler.app)
      HP Product Research Application (/Library/Application Support/Hewlett-Packard/Customer Participation/HP Product Research.app)
    Internet Plug-ins: ℹ️
      SharePointBrowserPlugin: Version: 14.4.7 - SDK 10.6 [Support]
      FlashPlayer-10.6: Version: 15.0.0.223 - SDK 10.6 [Support]
      CouponPrinter-FireFox_v2: Version: 5.0.5 - SDK 10.6 [Support]
      Flash Player: Version: 15.0.0.223 - SDK 10.6 Mismatch! Adobe recommends 16.0.0.235
      QuickTime Plugin: Version: 7.7.3
      Default Browser: Version: 600 - SDK 10.10
    User internet Plug-ins: ℹ️
      npBcsMcTcIO: Version: Unknown [Support]
    Safari Extensions: ℹ️
      Trend Micro Toolbar [Installed]
    3rd Party Preference Panes: ℹ️
      Carbonite  [Support]
      Flash Player  [Support]
      Paragon NTFS for Mac ® OS X  [Support]
      Seagate Dashboard for Mac OSX  [Support]
    Time Machine: ℹ️
      Skip System Files: NO
      Mobile backups: ON
      Auto backup: YES
      Volumes being backed up:
      HD: Disk size: 498.88 GB Disk used: 493.84 GB
      Destinations:
      Jens Seagate Backup [Local]
      Total size: 999.86 GB
      Total number of backups: 6
      Oldest backup: 2014-06-24 10:33:56 +0000
      Last backup: 2014-12-17 17:14:18 +0000
      Size of backup disk: Too small
      Backup size 999.86 GB < (Disk used 493.84 GB X 3)
      My Passport for Mac [Local]
      Total size: 2.00 TB
      Total number of backups: 14
      Oldest backup: 2013-08-21 19:19:35 +0000
      Last backup: 2014-12-19 11:44:23 +0000
      Size of backup disk: Excellent
      Backup size 2.00 TB > (Disk size 498.88 GB X 3)
    Top Processes by CPU: ℹ️
          6% coreaudiod
          5% CarboniteDaemon
          4% iMovie
          3% JustCloud
          3% Wondershare Player
    Top Processes by Memory: ℹ️
      335 MB iPhoto Library Manager
      180 MB Finder
      142 MB iMovie
      70 MB Preview
      51 MB Microsoft Word
    Virtual Memory Information: ℹ️
      149 MB Free RAM
      1.04 GB Active RAM
      897 MB Inactive RAM
      1.17 GB Wired RAM
      30.53 GB Page-ins
      1.42 GB Page-outs
    Diagnostics Information: ℹ️
      Dec 26, 2014, 05:17:12 PM /Library/Logs/DiagnosticReports/iPhoto_2014-12-26-171712_[redacted].cpu_resourc e.diag [Details]
      Dec 26, 2014, 03:47:17 PM /Library/Logs/DiagnosticReports/CarboniteDaemon_2014-12-26-154717_[redacted].cp u_resource.diag [Details]
      Dec 26, 2014, 02:22:01 PM Self test - passed
      Dec 26, 2014, 11:48:03 AM /Library/Logs/DiagnosticReports/CarboniteDaemon_2014-12-26-114803_[redacted].cp u_resource.diag [Details]

    You have nearly run out of disk space.  Either purchase a larger one or start cleaning out the one you have?

  • EtreCheck version: 2.1.5 (108) Report generated 4 January 2015 14:29:26 GMT  Click the [Support] links for help with non-Apple products. Click the [Details] links for more information about that line. Click the [Adware] links for help removing adware

    My Mac is very slow and applications take a long time to load, especially Safari and iTunes.  Please help.    I have run the Etrecheck report and these are results.
    Thanks Pat
    EtreCheck version: 2.1.5 (108)
    Report generated 4 January 2015 14:29:26 GMT
    Click the [Support] links for help with non-Apple products.
    Click the [Details] links for more information about that line.
    Click the [Adware] links for help removing adware.
    Hardware Information: ℹ️
      iMac (21.5-inch, Mid 2011) (Verified)
      iMac - model: iMac12,1
      1 2.7 GHz Intel Core i5 CPU: 4-core
      4 GB RAM Upgradeable
      BANK 0/DIMM0
      2 GB DDR3 1333 MHz ok
      BANK 1/DIMM0
      2 GB DDR3 1333 MHz ok
      BANK 0/DIMM1
      empty empty empty empty
      BANK 1/DIMM1
      empty empty empty empty
      Bluetooth: Old - Handoff/Airdrop2 not supported
      Wireless:  en1: 802.11 a/b/g/n
    Video Information: ℹ️
      AMD Radeon HD 6770M - VRAM: 512 MB
      iMac 1920 x 1080
    System Software: ℹ️
      OS X 10.10.1 (14B25) - Uptime: 0:32:50
    Disk Information: ℹ️
      ST31000528AS disk0 : (1 TB)
      EFI (disk0s1) <not mounted> : 210 MB
      Macintosh HD (disk0s2) / : 999.35 GB (717.51 GB free)
      Recovery HD (disk0s3) <not mounted>  [Recovery]: 650 MB
      OPTIARC DVD RW AD-5690H 
    USB Information: ℹ️
      Apple Inc. FaceTime HD Camera (Built-in)
      Seagate Expansion Desk 2 TB
      EFI (disk1s1) <not mounted> : 210 MB
      Seagate Expansion Drive (disk1s2) /Volumes/Seagate Expansion Drive : 2.00 TB (1.66 TB free)
      Apple Inc. BRCM2046 Hub
      Apple Inc. Bluetooth USB Host Controller
      Apple Inc. iPhone
      Apple Internal Memory Card Reader
      Apple Computer, Inc. IR Receiver
    Thunderbolt Information: ℹ️
      Apple Inc. thunderbolt_bus
    Gatekeeper: ℹ️
      Mac App Store and identified developers
    Kernel Extensions: ℹ️
      /Library/Application Support/Avast/components/fileshield/unsigned
      [loaded] com.avast.AvastFileShield (2.1.0 - SDK 10.9) [Support]
      /Library/Application Support/Avast/components/proxy/unsigned
      [loaded] com.avast.PacketForwarder (2.0 - SDK 10.9) [Support]
    Problem System Launch Agents: ℹ️
      [failed] com.apple.syncservices.SyncServer.plist
    Launch Agents: ℹ️
      [loaded] com.avast.userinit.plist [Support]
      [running] com.epson.Epson_Low_Ink_Reminder.launcher.plist [Support]
      [loaded] com.epson.esua.launcher.plist [Support]
      [running] com.epson.eventmanager.agent.plist [Support]
      [loaded] com.oracle.java.Java-Updater.plist [Support]
      [running] com.trusteer.rapport.rapportd.plist [Support]
    Launch Daemons: ℹ️
      [loaded] com.adobe.fpsaud.plist [Support]
      [loaded] com.avast.init.plist [Support]
      [loaded] com.avast.uninstall.plist [Support]
      [failed] com.avast.update.plist [Support]
      [loaded] com.microsoft.office.licensing.helper.plist [Support]
      [loaded] com.oracle.java.Helper-Tool.plist [Support]
      [running] com.trusteer.rooks.rooksd.plist [Support]
    User Launch Agents: ℹ️
      [loaded] com.adobe.ARM.[...].plist [Support]
      [invalid?] com.avast.home.userinit.plist [Support]
      [running] com.microsoft.LaunchAgent.SyncServicesAgent.plist [Support]
    User Login Items: ℹ️
      iTunesHelper ApplicationHidden (/Applications/iTunes.app/Contents/MacOS/iTunesHelper.app)
    Internet Plug-ins: ℹ️
      FlashPlayer-10.6: Version: 16.0.0.235 - SDK 10.6 [Support]
      Default Browser: Version: 600 - SDK 10.10
      AdobePDFViewerNPAPI: Version: 11.0.07 - SDK 10.6 [Support]
      AdobePDFViewer: Version: 11.0.07 - SDK 10.6 [Support]
      DivXBrowserPlugin: Version: 2.2 [Support]
      Flash Player: Version: 16.0.0.235 - SDK 10.6 [Support]
      OVSHelper: Version: 1.1 [Support]
      QuickTime Plugin: Version: 7.7.3
      JavaAppletPlugin: Version: Java 8 Update 25 Check version
    Safari Extensions: ℹ️
      wrc [Installed]
    3rd Party Preference Panes: ℹ️
      DivX  [Support]
      Flash Player  [Support]
      Flip4Mac WMV  [Support]
      GoToMyPC Preferences  [Support]
      Java  [Support]
      Trusteer Endpoint Protection  [Support]
    Time Machine: ℹ️
      Skip System Files: NO
      Auto backup: YES
      Volumes being backed up:
      Macintosh HD: Disk size: 999.35 GB Disk used: 281.84 GB
      Destinations:
      Seagate Expansion Drive [Local]
      Total size: 2.00 TB
      Total number of backups: 78
      Oldest backup: 2013-07-28 18:09:06 +0000
      Last backup: 2015-01-04 14:29:38 +0000
      Size of backup disk: Adequate
      Backup size 2.00 TB > (Disk used 281.84 GB X 3)
    Top Processes by CPU: ℹ️
          2% WindowServer
          1% mds
          0% fontd
          0% mds_stores
          0% com.avast.daemon
    Top Processes by Memory: ℹ️
      120 MB Safari
      112 MB com.avast.daemon
      94 MB com.apple.WebKit.WebContent
      56 MB spindump
      52 MB mds_stores
    Virtual Memory Information: ℹ️
      479 MB Free RAM
      1.56 GB Active RAM
      1.11 GB Inactive RAM
      904 MB Wired RAM
      5.37 GB Page-ins
      75 MB Page-outs
    Diagnostics Information: ℹ️
      Jan 4, 2015, 01:57:18 PM Self test - passed
      Standard users cannot read /Library/Logs/DiagnosticReports.
      Run as an administrator account to see more information.

    patbythesea wrote:
    Can I assume that with my Mac I do not need any additional virus protection software?  If I do, what should I use?
    See my Mac Malware Guide for help on protecting yourself from malware. You generally don't need anti-virus software.
    (Fair disclosure: I may receive compensation from links to my sites, TheSafeMac.com and AdwareMedic.com, in the form of buttons allowing for donations. Donations are not required to use my site or software.)

  • Loading Non-English Characters using VBA and BAPI

    Hi Experts,
    I am trying to load Non-English characters (Chinese, Korean, Japanese, etc.) into a SAP Table using BAPI and VBA. I have set the connection language and codepage values but when I run the tool, the non-English characters display as ????? or #####. Do you know how to fix this issue?
    Thanks!

    If your language is a unicode tehn you need to change the options  like IN SAP you need to change it to unicode  in the initial screen Customize local layout(ALT F12) options 118  --> Encoding ....

  • To load non cumulative cube initialize opening balance in R/3. explain?

    To load non-cumulative cube i have to initialize opening balance in R/3(S278). please elaborate and what is S278 means is it LIS datasource please explain?
    Thank you,
    York

    Dear all,
    The data source 0EC_PCA_1  doesn't consider the opening balances i believe, can any experts help me solve this problem.
    Regards,
    M.M
    Edited by: Magesh Magesh on Jun 26, 2009 2:55 PM

  • How do I fix error message "unable to load sync UI Corel localized.dll"

    How do I fix an error message "Unable to load sync UI Corel localized.dll"? All of a sudden I can no longer sync my Windows PC to my iphone. I also noticed that just prior to the problem occuring there was an itunes software upgrade that occurred. It may or may not be related to the problem.

    Hi Barrlee,
    Thanks for using Apple Support Communities.  If iTunes doesn't recognize your iPhone, this article may help:
    iOS: Device not recognized in iTunes for Windows
    http://support.apple.com/kb/TS1538
    If issues persist, a thorough removal and reinstall of iTunes would be the next thing to try:
    Removing and reinstalling iTunes and other software components for Windows Vista, Windows 7, or Windows 8
    http://support.apple.com/kb/HT1923
    Cheers,
    - Ari

  • "There was an error loading the preference bundle for accessibility" it appears when i open my accessibility, that is why i cant use my assistive touch

    "There was an error loading the preference bundle for accessibility" it appears when i open my accessibility

    We had the same issue after applying the SP2 & August CU. we open the case with MSFT and get the same resolution as you mentioned.
    I blog about this issue and having the office reference.
    Later MSFT release the Hotfix for this on December 10, 2013 which i am 100% positive should be part of future CUs.
    So if you apply the April CU then you will be fine.
    Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. ****************************************************************************************** Thanks -WS MCITP(SharePoint 2010, 2013) Blog: http://wscheema.com/blog

  • Loading Non-Financial Data in Essbase

    I am new to Essbase and would some help understanding how I would load non-financial data into Essbase. The specific type of data that I'm looking to report on is from a university, reporting on the number of students that fall into various categories. I consider that this project would be similar to an employee reporting application. The project was originally implemented using OBIEE, but I was wondering how it could be done in Essbase.
    Thanks for any help,
    Mark

    My recommendation is to model the database in excel with the following restrictions:
    1) Use a single data grid (per sheet) with consistent "dimensions" for rows and columns, and an overall "header" to represent the entire set if more than one sheet is needed.
    2) Establish subtotals and totals with any appropriate formulas kept as simple as possible (i.e. SUM(range)).
    3) Use unique, meaningful names for all headers.
    This is an oversimplification, but if you can model your database this way, you will have a direct baseplate to use when creating the database in Essbase. You may have to make some changes, but you'll have a good start.
    A suggestion on the initial dimensionality based on what you said:
    - Accounts
    - Students
    - Classes
    - Categories
    - Periods
    If you can put a pivot table together with the data, you are nearly done already (well, mostly).

  • How to create a userdefined non Iso standard Locale

    Hi
    I m able to create a non standard locale with following code
    new locale("en_IDC")
    where IDC is the non standard Country but i want to specify some settings or parameter for this locale
    I want that for IDC I must be able to speciify
    "LocaleString" , "Languages", "Countries", "DateTimePatterns", etc...
    For std locale eg. fr_FR jvm read it from the LocaleElements_fr_FR class.
    How its possible for non standard en_IDC locale
    shall create the LocaleElements_en_IDC java file.
    Pls help me
    Thanks in advance.
    Novin

    Hi John,
    Thanks for ur valuable reply.
    I want to make one thing clear like for
    suppose i have set the default locale as "fr_FR" and when i try to use any of the formater for e.g Numberformat
    Here is the code
    Locale objLocale = new Locale("fr","FR");
    Locale.setDefault(objLocale);
    double value = 12345.56;
    NumberFormat nf = NumberFormat.getInstance(objLocale);
    String formattedValue = nf.format(value);
    System.out.println("formattedValue="+formattedValue);
    The jvm automatically pick up the "java.text.resources.LocaleElements_fr_FR" resourcebudle from the cache and the number format class fetch the "NumberPatterns" keys value from the resource budle and apply it to the double.
    Above thing managed by the jvm
    Is the same thing is possible for userdefined Locale class which extend the ListResourcebudle
    for eg. I had created following locale where
    Language="xx" (fake or non existing language)
    Country ="IDC"( fake or non existing language)
    where i had defined some "NumberPatterns" "##,##0.###"
    class LocaleElements_xx_IDC extends ListResourceBundle
    getcontent(){
    new Object[] {
         "NumberPatterns", new String[] {                         "#,##0.###;-#,##0.###", "\244#,##0.00; (\244#,##0.00)", "#,##0%"
    when i use follwoing code for the xx_IDC locale its not formating the double value with the NumberPatterns i had specified in the class
    Locale objLocale = new Locale("xx" , "IDC");
    Locale.setDefault(objLocale);
    double value = 12345.56;
    NumberFormat nf = NumberFormat.getInstance(objLocale);
    String formattedValue = nf.format(value);
    System.out.println("formattedValue="+formattedValue);
    when i try the above code jvm is not responding in the same way in comparision to "fr_FR" locale
    Its not picking up the "NumberPatterns" which i had specified.
    ///according to ur reply the above thing is not possible uptill jDK 1.5 but it is possible in jdk1.6
    So u want to say that the "xx_IDC" implementation is possible in jdk1.6
    Pls reply
    Thanks a lot.
    Novin

  • IOS - ANE - Cannot load resource in bundle

    Hi,
    I'm using a xib file. And as I searched, I found this discussion: Re: Is XIB not supported in static library (for creating Native Extension)?
    I was able to create an bundle containing the xib file, but when I try to use it, it returns with the error: 'NSInternalInconsistencyException', reason: 'Could not load NIB in bundle:"
    I also used the same bundle to a pure iOS project, but it works. I'm not pretty sure what I'm missing here. Please help.

    Additional info.  The app runs and displays the name of the sound file, and also displays the duration of the sound, so I think it is loading the file OK.  It gives the problem when I hit play.  I have a break point in this method, at [p play] below, and it gives the first error at that point.  The second error message is just reporting the result of the first error:
    -(void)startPlaybackForPlayer:(AVAudioPlayer*)p
        if ([p play])
            [self updateViewForPlayerState:p];
        else
            NSLog(@"Could not play %@\n", p.url);

  • Error "Unable to load word breaker for locale 0. Error code 8007007e." with search service application.

    I recreate the Search service application and the default Content source stayning in the 'Recovering' status.
    The log give multiple error 'Unable to load word breaker for locale 0. Error code 8007007e.'
    The default language is English and the reference in registry for word breaker dll is naturallanguage1.dll but I found only the naturallanguage6.dll.

    Hi,
    For your issue, check your current language settings and ensure that search supports the current language.
    On the SharePoint Server open Registry Editor (Start -> type “Regedit” and hit enter). 
    Point to : HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\OfficeServer\14.0\Search\Setup\ContentIndexCommon\LanguageResources\Default\English
    Under the registry key for each of the languages there is a value called StemmerDLLPath and WBDLLPathOverride
    Updated the registry entry with NATURA~1.dll to NATURA~2.dll
    Point to Start -> Administrative Tools -> Services, right click on SharePoint Server Search 14 and click on Restart.
    Performed a Full Crawl and wait for the Full Crawl to complete and try searching again.
    For more detailed information, refer to the following blogs:
    http://blog.ithinksharepoint.com/2008/04/20/a-word-breaker-was-not-found-for-the-given-language-error-when-crawling-content/
    http://www.sharepoint2013.me/Blog/Post/175/Word-breakers-in-SharePoint-2013
    Best Regards,
    Lisa Chen
    Lisa Chen
    TechNet Community Support

  • I am unable to password protect a pdf file. Any thoughts. I went to help and none of the options wer

    I am unable to password protect a pdf file. Any thoughts. I went to help and none of the options were available to me.. I pay for pdf conversion to word and excel

    Password protection is ONLY available with Acrobat Standard or Pro. The PDF to Word converter is just what the name implies... PDF to Word... No encryption, no protection.

  • When I try to change the keyword.url settings in about:config to do a "I'm Felling Lucky" Google search, it just resets to chrome://browser-region/locale/region.properties whenever I restart Firefox.

    I just installed Firefox 4 today. When I try to change the keyword.url settings in about:config to do a "I'm Felling Lucky" Google search, it just resets to chrome://browser-region/locale/region.properties whenever I restart Firefox.

    Start Firefox in [[Safe Mode]] to check if one of the add-ons is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Appearance/Themes).
    * Don't make any changes on the Safe mode start window.
    See:
    * [[Troubleshooting extensions and themes]]
    See also:
    * http://kb.mozillazine.org/Preferences_not_saved

  • Help loading a binary tree from file

    Hi all,
    So I am working on making a 20 question game using a binary tree. I have set it up so each time the user plays, if the computer cannot guess what they are thinking of, they tell the computer and it saves it. I am saving the tree in a text file recursively, in a format that looks something like this:
    Do you use it outside?
    a shovel
    [null]
    [null]
    is it round?
    a ball
    [null]
    [null]
    a TV
    [null]
    [null]
    The problem is now, I am having a very hard time rebuilding the tree when the user restarts the game. As you can see, the "{" indicates the beginning of a path and the "}" is the end. Can someone suggest a nice way to load this back up into my data structure? Thanks!!

    Cross-post here: [http://www.java-forums.org/java-2d/14237-help-loading-binary-tree-file.html]
    Recommended looking into XML

Maybe you are looking for

  • Year End Close Fiscal year/Asset End Closing

    Dear FI Experts, User ran t.code F.16  fiscal year balance carry forward, before running AJAB for Year End asset accounting.  Per my knowledge SAp requires to do  AJAB prior of closing assets. Do I have to reverse fiscal year balance carry forward an

  • Podcast New Episodes Not Showing in Search Directory Listings

    I have added new episodes and changes to my current episodes in my XML files and pinged the iTunes store to update. If you are subscribed to the podcast, you get the updates and new episodes so it seems everything is fine. However, I can't get the se

  • Intit from ods to cube

    hai Experts, I am having a ods and i am doing init from that ods to 5 cubes. and know want to delete a init request from one cube and do the init for that single cube. Can we do this for a singlle cube. Regards. Singh.

  • I downloaded Adobe reader for Macbook, it won't automatically open when I click on pdf in Ancestry

    I recently converted from a DOS PC to a MACBook.  Today I downloaded Adobe Reader. (11.0,4).  In Dos, when I clicked on a Pdf file in Ancestry, it automatically opened so I could read it.  That is not happening now.  How can I fix this. When I click

  • Which Tortoise SVN plug IN to use?

    Hi, I am using "Visual source safe control" since many year as a source code control. Now, my company switch to SVN server for source code control. I would like to know if you could suggest me a plug in that will be compatible for tortoise svn and La