Skip to content

Commit 4a3e941

Browse files
committed
set the GUI visible after all components are initialized & sign
Signed-off-by: Roberto Marquez <[email protected]>
1 parent f862e90 commit 4a3e941

File tree

1 file changed

+2
-1
lines changed
  • dl4j-examples/src/main/java/org/deeplearning4j/examples/feedforward/classification/detectgender

1 file changed

+2
-1
lines changed

dl4j-examples/src/main/java/org/deeplearning4j/examples/feedforward/classification/detectgender/PredictGenderTest.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,6 @@ public void prepareInterface()
6969
this.jd.setLocationRelativeTo(null);
7070
this.jd.setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE);
7171
this.jd.setTitle("Predict Gender By Name");
72-
this.jd.setVisible(true);
7372

7473
//jd.add(jp);
7574

@@ -123,6 +122,8 @@ else if (predicted.getDouble(0) < predicted.getDouble(1))
123122
});
124123

125124
this.jd.add(this.btnNext);
125+
126+
this.jd.setVisible(true);
126127
}
127128

128129
private String getBinaryString(String name)

0 commit comments

Comments
 (0)