branch develop updated (67c410a -> b8992c3)
This is an automated email from the git hooks/post-receive script. New change to branch develop in repository jaxx. See https://gitlab.nuiton.org/nuiton/jaxx.git from 67c410a [jgitflow-maven-plugin]Updating develop poms back to pre merge state new b8992c3 Be able to clean a CardLayout2 (fixes #4095) The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. Detailed log of new commits: commit b8992c32468dbf9e73439f6e179d946054f83d89 Author: Tony CHEMIT <chemit@codelutin.com> Date: Wed Dec 14 09:41:11 2016 +0100 Be able to clean a CardLayout2 (fixes #4095) Summary of changes: jaxx-runtime/src/main/java/jaxx/runtime/swing/CardLayout2.java | 6 ++++++ 1 file changed, 6 insertions(+) -- To stop receiving notification emails like this one, please contact nuiton.org SCM administrator <admin+scm@nuiton.org>.
This is an automated email from the git hooks/post-receive script. New commit to branch develop in repository jaxx. See https://gitlab.nuiton.org/nuiton/jaxx.git commit b8992c32468dbf9e73439f6e179d946054f83d89 Author: Tony CHEMIT <chemit@codelutin.com> Date: Wed Dec 14 09:41:11 2016 +0100 Be able to clean a CardLayout2 (fixes #4095) --- jaxx-runtime/src/main/java/jaxx/runtime/swing/CardLayout2.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/jaxx-runtime/src/main/java/jaxx/runtime/swing/CardLayout2.java b/jaxx-runtime/src/main/java/jaxx/runtime/swing/CardLayout2.java index 8529384..f0fa1a9 100644 --- a/jaxx-runtime/src/main/java/jaxx/runtime/swing/CardLayout2.java +++ b/jaxx-runtime/src/main/java/jaxx/runtime/swing/CardLayout2.java @@ -67,12 +67,18 @@ public class CardLayout2 extends CardLayout { @Override public void addLayoutComponent(Component comp, Object constraints) { super.addLayoutComponent(comp, constraints); + contexts.remove(constraints); contexts.add((Serializable) constraints); if (log.isDebugEnabled()) { log.debug(this + " new constraints : " + constraints); } } + public void removeLayoutComponent(Component comp, Serializable constraints) { + removeLayoutComponent(comp); + contexts.remove(constraints); + } + /** * Test if a constrains is contained in the layout. * -- To stop receiving notification emails like this one, please contact nuiton.org SCM administrator <admin+scm@nuiton.org>.
participants (1)
-
nuiton.org scm