Skip to content

Commit d3f12ca

Browse files
committed
Fixed issue with updating datatypes.
1 parent 888ed1f commit d3f12ca

File tree

2 files changed

+172
-176
lines changed

2 files changed

+172
-176
lines changed

src/main/java/org/isatools/isacreatorconfigurator/configui/DataEntryPanel.java

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1367,21 +1367,17 @@ private boolean checkConflictingTables(String tableType, String tableName, Strin
13671367
* @param newPage - JLayeredPane to change to
13681368
*/
13691369
public void setCurrentPage(final JLayeredPane newPage) {
1370-
SwingUtilities.invokeLater(new Runnable() {
1371-
public void run() {
1372-
if (currentPage == null) {
1373-
currentPage = newPage;
1374-
} else {
1375-
remove(currentPage);
1376-
currentPage = newPage;
1377-
}
13781370

1379-
add(currentPage, BorderLayout.CENTER);
1380-
repaint();
1381-
validate();
1382-
}
1383-
});
1371+
if (currentPage == null) {
1372+
currentPage = newPage;
1373+
} else {
1374+
remove(currentPage);
1375+
currentPage = newPage;
1376+
}
13841377

1378+
add(currentPage, BorderLayout.CENTER);
1379+
repaint();
1380+
validate();
13851381
}
13861382

13871383
public ISAcreatorConfigurator getApplicationContainer() {

0 commit comments

Comments
 (0)