🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #8700

IntlSwingSupport getBundle Error when use jar-index in JDK1.3

#8700
From: Brain
Date: Fri, 21 Jul 2000 00:00
31 lines
2165 bytes
Hi:
    I Use DBSwing in my Applet,and run it as applet in JRE1.3.
    when I switch between my applets,it's load slowly than in JRE1.2.2, So I
use jar tools in JDK1.3 that support Jar-Index ,jar -i option,compress
dbswing classes and generate jar-index in the jar file , but when IE Load
this applet , get following Exception,my local is zh_CN:
java.util.MissingResourceException: Can't find bundle for base name
com.borland.dbswing.IntlSwingSupportRes, locale zh_CN
 at java.util.ResourceBundle.throwMissingResourceException(Unknown Source)
 at java.util.ResourceBundle.getBundleImpl(Unknown Source)
 at java.util.ResourceBundle.getBundle(Unknown Source)
 at com.borland.dbswing.IntlSwingSupport.<init>(IntlSwingSupport.java:63)
 at com.borland.dbswing.IntlSwingSupport.<init>(IntlSwingSupport.java:58)
 at
com.borland.dbswing.DBTextDataBinder.<clinit>(DBTextDataBinder.java:2534)
 at com.borland.dbswing.JdbTextField.commonInit(JdbTextField.java:133)
 at com.borland.dbswing.JdbTextField.<init>(JdbTextField.java:119)
 at com.borland.dbswing.JdbTextField.<init>(JdbTextField.java:102)
 at mobile.data.Latn.<init>(Latn.java:33)
 at java.lang.Class.newInstance0(Native Method)
 at java.lang.Class.newInstance(Unknown Source)
 at sun.applet.AppletPanel.createApplet(Unknown Source)
 at sun.plugin.AppletViewer.createApplet(Unknown Source)
 at sun.applet.AppletPanel.runLoader(Unknown Source)
 at sun.applet.AppletPanel.run(Unknown Source)
 at java.lang.Thread.run(Unknown Source)

    But it work fine when I don't use jar-index(not use "jar -i " add index
file),WHY???
    It's a JDK1.3 BUG or DBSwing BUG?
    Please Help me!!!
Technical Details
Message-ID: <39780b54@dnews>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,8b500f1de2faa93c,start
X-Google-Attributes: gid111d45,public
From: "Brain" <Brain_Wang@21cn.com>
Subject: IntlSwingSupport getBundle Error when use jar-index in JDK1.3
Date: 2000/07/21
Message-ID: <39780b54@dnews>
X-Deja-AN: 649007016
X-Trace: 21 Jul 2000 01:35:32 -0800, 127.0.0.1
X-MSMail-Priority: Normal
X-Priority: 3
Newsgroups: borland.public.jbuilder.java.swing
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700