🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Internationalization-problems

#9409
From: Ralf Steenbock
Date: Wed, 12 Apr 2000 00:00
45 lines
2447 bytes
Hi all,

I've got a problem with internationalization. I  inserted the line

IntlSwingSupport intlSwingSupport = new IntlSwingSupport();

into my main class and when startet inside JBuilder everything works
fine, all dialogs are displayed in the right language (german). But
after deploying the application with the Deployment-Wizard and starting
it outside the IDE, I get a NullPointerException. When removing the line
in my main class, it works but all dialogs are displayed in english.
Anybody out there with a hint for me?
Below you can find the error-messages, when started outside the IDE.
Thanks for any help

Ralf

Exception in thread "main" java.lang.ExceptionInInitializerError:
java.lang.NullPointerException
at javax.swing.ImageIcon.<init>(ImageIcon.java:106)
at
com.borland.dbswing.DBTextDataBinder$UndoAction.<init>(DBTextDataBinder.java:1247)
at
com.borland.dbswing.DBTextDataBinder.<clinit>(DBTextDataBinder.java:158)
at com.borland.dbswing.JdbTextArea.commonInit(JdbTextArea.java:158)
at com.borland.dbswing.JdbTextArea.<init>(JdbTextArea.java:143)
at com.borland.dbswing.JdbTextArea.<init>(JdbTextArea.java:108)
at
com.borland.dbswing.DBExceptionDialog$1.<init>(DBExceptionDialog.java:586)
at
com.borland.dbswing.DBExceptionDialog.<init>(DBExceptionDialog.java:586)
at
com.borland.dbswing.DBExceptionDialog.<init>(DBExceptionDialog.java:90)
at
com.borland.dbswing.DBExceptionHandler.handleException(DBExceptionHandler.java:193)
at
com.borland.dbswing.DBExceptionHandler.handleException(DBExceptionHandler.java:214)
at
com.borland.dbswing.DBExceptionHandler.handleException(DBExceptionHandler.java:223)
at com.borland.dbswing.IntlSwingSupport.<init>(IntlSwingSupport.java:66)
at app.mainFrame.<init>(mainFrame.java:18)
at app.mainFrame.main(mainFrame.java:46)

-- 
Ralf Steenbock                     ralf.steenbock@nes.ruhr-uni-bochum.de
Technical Details
Message-ID: <38F42B92.34E6B6DD@nes.ruhr-uni-bochum.de>
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,c4d84d956b46f0fb,start
X-Google-Attributes: gid111d45,public
From: Ralf Steenbock <ralf.steenbock@nes.ruhr-uni-bochum.de>
Subject: Internationalization-problems
Date: 2000/04/12
Message-ID: <38F42B92.34E6B6DD@nes.ruhr-uni-bochum.de>
X-Deja-AN: 610008479
Content-Transfer-Encoding: 7bit
Organization: Another Netscape Collabra Server User
X-Accept-Language: de
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.swing