Hello!
Does anybody know where to change the default Replace Code Format, which is
used for setting Swing control properties?
It used to be:
java.util.ResourceBundle.getBundle("{bundleNameSlashes}").getString("{key}")
But now appears to be:
org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")
The new default is a pain if you want to change the resource bundle to a
different class, because the default autogenerated code doesn't pick up the new
resource bundle, but rather is coded to the name of the source file that
contains the Swing control. New control text-type properties are all created
with the latter code format. Please see the screenshot below for additional
details.
I used NetBeans 8.2 up until about a year ago, and then jumped to NetBeans 15,
which I am now using.
[cid:[email protected]]
Thank You!
Joe Huber
Standard Refrigeration LLC