GUI Designer and ResourceBundle

is there a way to set the classloader to load a ResourceBundle in the GUI Designers generated code?

currently the GUI designer creates the following code:

        this.$$$loadLabelText$$$(testLabel, ResourceBundle.getBundle("i18n/Test").getString("Test(Label)"));

2 comments
Comment actions Permalink

or is it possible to change the way a resource is loaded by the gui designers code ?

0
Comment actions Permalink

Hello Armin,

No, there is no possibility to customize it. You can write your own code
to load the property values instead of relying on the UI Designer generated
code.

is there a way to set the classloader to load a ResourceBundle in the
GUI Designers generated code?

currently the GUI designer creates the following code:

this.$$$loadLabelText$$$(testLabel,
ResourceBundle.getBundle("i18n/Test").getString("Test(Label)"));


--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0

Please sign in to leave a comment.