Skip to content

Commit bad6994

Browse files
committed
Add title to window
1 parent d59aa36 commit bad6994

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

src/main/java/nl/rug/jbi/jsm/frontend/GUIFrontend.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
package nl.rug.jbi.jsm.frontend;
22

33
import com.google.common.base.Function;
4-
import com.google.common.base.Preconditions;
54
import com.google.common.base.Predicate;
65
import com.google.common.collect.FluentIterable;
76
import com.google.common.collect.ImmutableList;
@@ -28,6 +27,8 @@
2827
import java.util.List;
2928
import java.util.Set;
3029

30+
import static com.google.common.base.Preconditions.checkNotNull;
31+
3132
public class GUIFrontend extends JFrame implements Frontend, ActionListener {
3233
private final static Logger logger = LogManager.getLogger(GUIFrontend.class);
3334
private final UserConsole console = new UserConsole(this);
@@ -38,7 +39,8 @@ public class GUIFrontend extends JFrame implements Frontend, ActionListener {
3839
private final JSMCore core;
3940

4041
public GUIFrontend(final JSMCore core) {
41-
this.core = Preconditions.checkNotNull(core);
42+
super("Java Source Metrics - GUI");
43+
this.core = checkNotNull(core);
4244
this.tabbedResults = new TabbedResultScreen(this.core);
4345
}
4446

0 commit comments

Comments
 (0)