Normand Briere
2019-05-01 a742f6cebf1d471217d836e07934e5c02c22b6db
ObjEditor.java
....@@ -951,10 +951,6 @@
951951
952952 void SetupUI2(ObjEditor oe)
953953 {
954
-// oe.aConstraints.weightx = 0;
955
-// oe.aConstraints.weighty = 0;
956
-// oe.aConstraints.gridx = 0;
957
-// oe.aConstraints.gridy = 0;
958954 //SetupName(oe);
959955
960956 namePanel = new cGridBag();
....@@ -971,7 +967,8 @@
971967 setupPanel = new cGridBag().setVertical(false);
972968
973969 liveCB = AddCheckBox(setupPanel, "Live", copy.live);
974
- link2masterCB = AddCheckBox(setupPanel, "Supp", copy.link2master);
970
+ if (Globals.ADVANCED)
971
+ link2masterCB = AddCheckBox(setupPanel, "Supp", copy.link2master);
975972 hideCB = AddCheckBox(setupPanel, "Hide", copy.hide);
976973 // Return();
977974 markCB = AddCheckBox(setupPanel, "Mark", copy.marked);
....@@ -3205,7 +3202,7 @@
32053202 if (!Globals.ANIMATION)
32063203 {
32073204 FileDialog browser = new FileDialog(frame, "Save Animation As...", FileDialog.SAVE);
3208
- browser.show();
3205
+ browser.setVisible(true);
32093206 String filename = browser.getFile();
32103207 if (filename != null && filename.length() > 0)
32113208 {