* @param key
* message bundle key for the dialog title
*/
- private void showColourChooser(final JPanel colourPanel, String key)
+ private void showColourChooser(JPanel colourPanel, String key)
{
// TODO 'final' is (currently) required here for SwingJS to work
- final JColorChooser colorChooser = new JColorChooser();
+ JColorChooser colorChooser = new JColorChooser();
colorChooser.setColor(colourPanel.getBackground());
ActionListener listener = new ActionListener()
*/
float minValue = min;
float maxValue = max;
- final int thresholdOption = threshold.getSelectedIndex();
+ int thresholdOption = threshold.getSelectedIndex();
if (thresholdIsMin.isSelected()
&& thresholdOption == ABOVE_THRESHOLD_OPTION)
{
* drop-down choice of attribute, with description as a tooltip
* if we can obtain it
*/
- final JComboBox<String> attCombo = populateAttributesDropdown(attNames,
+ JComboBox<String> attCombo = populateAttributesDropdown(attNames,
true, true);
String filterBy = setSelectedAttribute(attCombo, filter);