🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: International Default Dialog

#9063
From: Greg Hamer
Date: Thu, 08 Jun 2000 00:00
29 lines
1904 bytes
That is what the com.borland.dbswing.IntlSwingSupport bean is for. From its
javadoc:

IntlSwingSupport provides Swing internationalization support for several
locales. It automatically updates Swing's internal
localizable resources appropriately for the current system locale when
instantiated. IntlSwingSupport needs to be instantiated
only once in an application, and should be instantiated on application
startup, before any Swing components are displayed. To
initialize IntlSwingSupport for a locale other than the default locale (in a
multilingual application, for example), set
IntlSwingSupport's locale property to the target locale.

You can use it or look at it to see how it does it (if you have pro or
enterprise)
Klaus Kaiser <kkaiser@s24bs.de> wrote in message
news:393F582F.B51FF6B0@s24bs.de...
> Hallo,
>
> I am writing a multi lingual app with JBuilder3.0 english. The App
> should run also in non english environment, e.g. german. With my own
> dialogs, it's not a problem, but when I use standard swing dialogs
> (JOptionPane, JFileChooser, ...), the components of these dialogs
> (buttons, ...) are allways english.
>
> Is there any easy way to change this?
>
> Thanks for your help,
> Klaus
Technical Details
Message-ID: <8hp1ep$52l3@bornews.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <393F582F.B51FF6B0@s24bs.de>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,36abfa3e1ef2ec4b
X-Google-Attributes: gid111d45,public
X-Google-Thread: f868d,36abfa3e1ef2ec4b
X-Google-Attributes: gidf868d,public
From: "Greg Hamer" <ghamer@corp.netzero.net>
Subject: Re: International Default Dialog
Date: 2000/06/08
Message-ID: <8hp1ep$52l3@bornews.borland.com>
X-Deja-AN: 632766897
References: <393F582F.B51FF6B0@s24bs.de>
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
Organization: Another Netscape Collabra Server User
X-MSMail-Priority: Normal
Newsgroups: borland.public.jbuilder.java.swing,borland.public.jbuilder.multi-lingual-apps