From: hansonr Date: Tue, 18 Dec 2018 04:37:13 +0000 (-0600) Subject: table work X-Git-Tag: Develop-2_11_2_0-d20201215~24^2~68^2~347 X-Git-Url: http://source.jalview.org/gitweb/?p=jalview.git;a=commitdiff_plain;h=6250668c38fdf150302c58022559572e96b40410 table work - fixed use of save/restore of ui nodes in tables - default background white - inadvertent resetting of table background via JPopupMenu --- diff --git a/src/jalview/gui/FeatureSettings.java b/src/jalview/gui/FeatureSettings.java index 36af39a..9a0114a 100644 --- a/src/jalview/gui/FeatureSettings.java +++ b/src/jalview/gui/FeatureSettings.java @@ -472,6 +472,8 @@ public class FeatureSettings extends JPanel { if (e.getSource() == variableColourCB) { + men.setVisible(true); // BH 2018 for JavaScript because this is a checkbox + men.setVisible(false); // BH 2018 for JavaScript because this is a checkbox if (featureColour.isSimpleColour()) { /* @@ -512,7 +514,9 @@ public class FeatureSettings extends JPanel */ FeatureColourI fci = fr.getFeatureColours().get(type); table.setValueAt(fci, rowSelected, COLOUR_COLUMN); - table.validate(); + // BH 2018 setting a table value does not invalidate it. + System.out.println("FeatureSettings is valied" + table.isValid()); +// table.validate(); } } } diff --git a/swingjs/SwingJS-site.zip b/swingjs/SwingJS-site.zip index 4553ba7..7ff9aa9 100644 Binary files a/swingjs/SwingJS-site.zip and b/swingjs/SwingJS-site.zip differ diff --git a/swingjs/timestamp b/swingjs/timestamp index 3abdd82..b1ec896 100644 --- a/swingjs/timestamp +++ b/swingjs/timestamp @@ -1 +1 @@ -20181217180014 +20181217223342 diff --git a/swingjs/ver/3.2.4/SwingJS-site.zip b/swingjs/ver/3.2.4/SwingJS-site.zip index 4553ba7..7ff9aa9 100644 Binary files a/swingjs/ver/3.2.4/SwingJS-site.zip and b/swingjs/ver/3.2.4/SwingJS-site.zip differ diff --git a/swingjs/ver/3.2.4/timestamp b/swingjs/ver/3.2.4/timestamp index 3abdd82..b1ec896 100644 --- a/swingjs/ver/3.2.4/timestamp +++ b/swingjs/ver/3.2.4/timestamp @@ -1 +1 @@ -20181217180014 +20181217223342