Noise menus should display descriptive names instead of class names.
FunctionMenu and NoiseMenu should put most of their information in resource files.
Hi Sid, I did a little clean up of the menus in the API version so that will be carried forward into pG 2.0 which will hopefully be a tidy up exercise in general, and beyond.
I'm not entirely sure that extra using resource files would bring us.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Sid, I did a little clean up of the menus in the API version so that will be carried forward into pG 2.0 which will hopefully be a tidy up exercise in general, and beyond.
I'm not entirely sure that extra using resource files would bring us.
Compare the code:
newMenu = new JMenu("Perlin");
item = new JMenuItem("plugins.engines.SummedPerlinWorley");
item.addActionListener(actionListener);
newMenu.add(item);
add(newMenu);
to the line in resource file:
plugins.engines.SummedPerlinWorley = Perlin/Summed Perlin-Worley
This will make it so much easier to organize the menus.