Hello all . . .
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
I have a project with multiple JForm pages and I switch from the "main page" in and
back to the pages. I have multiple property files - and a "static variable" to select which language I want to
use on the pages. My problem is that the "initComponents()" line
"java.util.ResourceBundle bundle = java.util.ResourceBundle.getBundle("PKG_MAIN/StegFDE"); // NOI18N"
loses its ", locVar" ( the locale ) parameter everytime I make a change in the page design. I can add the parameter by hand to the "page.java" file and the language switching works, but it is removed the next time I change the page design.
"java.util.ResourceBundle bundle = java.util.ResourceBundle.getBundle("PKG_MAIN/StegFDE", locVar); // NOI18N"
I have looked for a way to get the parameter into the above string, but cannot find anything. Am I totally wrong in this approach ?? Has anyone a solution / suggestion ??
Many thanks,
Harvey