WideComboBox is now more intelligent

This commit is contained in:
huangyuhui
2017-02-11 19:03:01 +08:00
parent 25fb73809e
commit 2fa0a182ff
9 changed files with 161 additions and 86 deletions

View File

@@ -130,6 +130,10 @@ public final class Config implements Cloneable {
Settings.save();
}
/**
* Last selected profile name.
*/
public String getLast() {
if (last == null)
last = Settings.DEFAULT_PROFILE;

View File

@@ -64,7 +64,6 @@ import org.jackhuang.hellominecraft.util.sys.FileUtils;
import org.jackhuang.hellominecraft.util.ui.SwingUtils;
import org.jackhuang.hellominecraft.util.sys.Java;
import org.jackhuang.hellominecraft.util.task.TaskWindow;
import org.jackhuang.hellominecraft.util.ui.GraphicsUtils;
import org.jackhuang.hellominecraft.util.ui.JSystemFileChooser;
import org.jackhuang.hellominecraft.util.ui.LogWindow;