Skip to content

Commit

Permalink
Add TODOs for open issues #1 and #2
Browse files Browse the repository at this point in the history
  • Loading branch information
SolangeUG committed Mar 7, 2018
1 parent 9a62590 commit 4deb31d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main/java/Application.java
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,9 @@ private ViewPanel initGraph() {
graphPanel.getCamera().setViewPercent(0.65);
viewer.enableAutoLayout();

//TODO #1: use a progress indicator, and run the graph initialization in a different thread!
//TODO #1: make use of the edX's software design and data structures' Using Threads in Java video!

// a try-with-resources statement
// → we do not have to explicitly handle closing the stream
// → it's done for us!
Expand Down
2 changes: 2 additions & 0 deletions src/main/java/gui/MainView.java
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,8 @@ private StackPane getCenterPane() {
StackPane centerPane = new StackPane();
centerPane.setMinSize(1080, 600);

//TODO #2: handle mouse click events!

SwingNode node = new SwingNode();
SwingUtilities.invokeLater(
() -> node.setContent(graphPanel)
Expand Down

0 comments on commit 4deb31d

Please sign in to comment.