diff --git a/designer/designer.iml b/designer/designer.iml
index 276f91e810..c798a6fe09 100644
--- a/designer/designer.iml
+++ b/designer/designer.iml
@@ -17,6 +17,5 @@
-
\ No newline at end of file
diff --git a/designer_base/designer_base.iml b/designer_base/designer_base.iml
index 15ff9cc8c6..d20642b282 100644
--- a/designer_base/designer_base.iml
+++ b/designer_base/designer_base.iml
@@ -1,7 +1,7 @@
-
+
diff --git a/designer_base/src/com/fr/design/style/background/BackgroundFactory.java b/designer_base/src/com/fr/design/style/background/BackgroundFactory.java
index c41639c8a2..2706f81b1e 100644
--- a/designer_base/src/com/fr/design/style/background/BackgroundFactory.java
+++ b/designer_base/src/com/fr/design/style/background/BackgroundFactory.java
@@ -9,7 +9,7 @@ import com.fr.design.style.background.impl.*;
import com.fr.general.Background;
import com.fr.general.Inter;
-import java.util.HashMap;
+import java.util.LinkedHashMap;
import java.util.Map;
import java.util.Set;
@@ -18,8 +18,8 @@ import java.util.Set;
*/
public class BackgroundFactory {
- private static Map, BackgroundUIWrapper> map = new HashMap<>();
- private static Map, BackgroundUIWrapper> browser = new HashMap<>();
+ private static Map, BackgroundUIWrapper> map = new LinkedHashMap<>();
+ private static Map, BackgroundUIWrapper> browser = new LinkedHashMap<>();
static {
registerUniversal(map);
@@ -96,7 +96,7 @@ public class BackgroundFactory {
return createByWrapper(wrapper);
}
- public static BackgroundDetailPane createBrowerIfAbsent(int index) {
+ public static BackgroundDetailPane createBrowserIfAbsent(int index) {
for (BackgroundUIWrapper wrapper : browser.values()) {
if (wrapper.getIndex() == index) {
return createByWrapper(wrapper);
diff --git a/designer_base/src/com/fr/design/style/background/BackgroundPane4Browser.java b/designer_base/src/com/fr/design/style/background/BackgroundPane4Browser.java
index 490cb82e49..705bbc2dea 100644
--- a/designer_base/src/com/fr/design/style/background/BackgroundPane4Browser.java
+++ b/designer_base/src/com/fr/design/style/background/BackgroundPane4Browser.java
@@ -16,7 +16,7 @@ public class BackgroundPane4Browser extends BackgroundPane {
protected void initTabPane() {
int index = 0;
for (Class extends Background> key : BackgroundFactory.browserKindsOfKey()) {
- BackgroundUIWrapper wrapper = BackgroundFactory.getWrapper(key);
+ BackgroundUIWrapper wrapper = BackgroundFactory.getBrosweWrapper(key);
wrapper.setIndex(index++);
tabbedPane.addTab(Inter.getLocText(wrapper.getTitle()), FRGUIPaneFactory.createY_AXISBoxInnerContainer_L_Pane());
}
@@ -37,7 +37,7 @@ public class BackgroundPane4Browser extends BackgroundPane {
protected BackgroundDetailPane getTabItemPaneByIndex(int index) {
BackgroundDetailPane quickPane = cacheMap.get(index);
if (quickPane == null) {
- quickPane = BackgroundFactory.createBrowerIfAbsent(index);
+ quickPane = BackgroundFactory.createBrowserIfAbsent(index);
tabbedPane.setComponentAt(index, quickPane);
cacheMap.put(index, quickPane);
quickPane.addChangeListener(backgroundChangeListener);