-
-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into Executable-installer-and-GUI-Launcher
- Loading branch information
Showing
4 changed files
with
45 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 23 additions & 0 deletions
23
src/main/java/DNAnalyzer/ui/gui/DNAnalyzerRatingFXMLController.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
package DNAnalyzer.ui.gui; | ||
|
||
import javafx.event.ActionEvent; | ||
import javafx.fxml.FXML; | ||
import org.controlsfx.control.Rating; | ||
|
||
import javafx.scene.control.TextArea; | ||
|
||
public class DNAnalyzerRatingFXMLController { | ||
|
||
@FXML | ||
private Rating dnaRating=null; | ||
|
||
@FXML | ||
private TextArea dnaRatingTxt= null; | ||
|
||
@FXML | ||
private void btnSubmitClicked(ActionEvent event) { | ||
double rating = dnaRating.getRating(); | ||
String ratingTxt = dnaRatingTxt.getText(); | ||
System.out.print("Rating:"+rating); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters