@@ -0,0 +1,2425 @@
+package view;%0A%0Aimport dataObjects.Document;%0Aimport javafx.scene.Scene;%0Aimport javafx.scene.control.Label;%0Aimport javafx.scene.layout.StackPane;%0Aimport javafx.scene.layout.VBox;%0Aimport javafx.scene.text.Text;%0Aimport javafx.scene.text.TextAlignment;%0Aimport javafx.stage.Modality;%0Aimport javafx.stage.Stage;%0A%0A/**%0A * Created by Thagus on 05/09/16.%0A */%0Apublic class DocumentView %7B%0A    public DocumentView(Document document)%7B%0A        Stage stage = new Stage();%0A        stage.initModality(Modality.NONE);%0A%0A        VBox layout = new VBox();%0A        layout.setSpacing(10);%0A        Scene scene = new Scene(layout);%0A%0A        //,classification,citations%0A        Label idLabel = new Label(%22ID%22);%0A        Text idText = new Text();%0A        idText.setText(String.valueOf(document.getIdDoc()));%0A%0A        Label titleLabel = new Label(%22Title%22);%0A        Text titleText = new Text();%0A        titleText.setText(document.getTitle());%0A%0A        Label journalLabel = new Label(%22Journal%22);%0A        Text journalText = new Text();%0A        journalText.setText(document.getJournal());%0A%0A        Label libraryNotesLabel = new Label(%22Library Notes%22);%0A        Text libraryNotesText = new Text();%0A        libraryNotesText.setText(document.getLibraryNotes());%0A%0A        Label authorsLabel = new Label(%22Authors%22);%0A        Text authorsText = new Text();%0A        authorsText.setText(document.getAuthors());%0A%0A        Label abstractLabel = new Label(%22Abstract%22);%0A        Text abstractText = new Text();%0A        abstractText.setText(document.getAbstractText());%0A        abstractText.setWrappingWidth(400);%0A        abstractText.setTextAlignment(TextAlignment.JUSTIFY);%0A%0A        Label keywordsLabel = new Label(%22Keywords%22);%0A        Text keywordsText = new Text();%0A        keywordsText.setText(document.getKeywords());%0A%0A        Label classificationLabel = new Label(%22Classification%22);%0A        Text classificationText = new Text();%0A        classificationText.setText(document.getClassification());%0A%0A        layout.getChildren().addAll(%0A                idLabel, idText,%0A                titleLabel, titleText,%0A                journalLabel, journalText,%0A                libraryNotesLabel, libraryNotesText,%0A                authorsLabel, authorsText,%0A                abstractLabel, abstractText,%0A                keywordsLabel, keywordsText,%0A                classificationLabel, classificationText%0A        );%0A%0A        stage.setScene(scene);%0A        stage.showAndWait();%0A    %7D%0A%7D%0A

Document view window