Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public static void main(String[] args) throws Exception {

@Override
public void start(Stage primaryStage) {
final TextArea textArea = new TextArea();
TextArea textArea = new TextArea();
textArea.setPrefRowCount(10);
textArea.setPrefColumnCount(20);
textArea.setWrapText(true);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public void start(Stage primaryStage) {
root.setTop(menuBar);
ImageView imageView = new ImageView(new Image(getClass().getResource("javaduke_html5.png").toExternalForm()));
root.setCenter(imageView);
final ContextMenu contextMenu = new ContextMenu();
ContextMenu contextMenu = new ContextMenu();
MenuItem halloMenuItem = new MenuItem("Sag 'Hallo'");
halloMenuItem.setOnAction(
e -> System.out.println("Duke: 'Hallo!'"));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ public static void main(String[] args) throws Exception {
@Override
public void start(Stage primaryStage) {
SplitPane splitPane = new SplitPane();
final StackPane stackPane = new StackPane(new Label("Hilfsfenster1"));
StackPane stackPane = new StackPane(new Label("Hilfsfenster1"));
SplitPane.setResizableWithParent(stackPane, false);
splitPane.getItems().add(stackPane);
splitPane.getItems().add(new StackPane(new Label("Dokumentenfenster")));
final StackPane stackPane1 = new StackPane(new Label("Hilfsfenster2"));
StackPane stackPane1 = new StackPane(new Label("Hilfsfenster2"));
SplitPane.setResizableWithParent(stackPane1, false);
splitPane.getItems().add(stackPane1);
StackPane pane = new StackPane(splitPane);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public void start(Stage stage) throws Exception {
Button button = new Button("\uf015");
button.setFont(Font.font("FontAwesome", 40));
BorderPane root = new BorderPane();
final HomeTimeline homeTimeline = new HomeTimeline();
HomeTimeline homeTimeline = new HomeTimeline();
homeTimeline.refresh();
root.setCenter(homeTimeline);
ToolBar toolBar = new ToolBar();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public class StatusView extends HBox {
private final VBox textBox;
private final Label screenName;
private final Label statusText;
private VBox toolbar;
private final VBox toolbar;

public StatusView() {
setPadding(new Insets(4));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ public void start(Stage primaryStage) throws URISyntaxException {
String[] values = {"2", "3", "4", "5", "6", "7", "8", "9", "10", "ace", "jack", "king", "queen"};
String[] colors = {"clubs", "diamonds", "hearts", "spades"};
EventHandler<MouseEvent> clickHandler;
final CardStackLayout cardStackLayout = new CardStackLayout();
final CardStackLayout cardStackLayout2 = new CardStackLayout();
CardStackLayout cardStackLayout = new CardStackLayout();
CardStackLayout cardStackLayout2 = new CardStackLayout();
clickHandler = new EventHandler<MouseEvent>() {

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public static void main(String[] args) throws Exception {
public void start(Stage primaryStage) {
Button btn = new Button();
btn.setText("Run");
final Task<Integer> task = new Task<Integer>() {
Task<Integer> task = new Task<Integer>() {
@Override
protected Integer call() throws Exception {
int iterationen;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public void start(Stage stage) throws Exception {
button.getStyleClass().add("view-button");
button.setFont(Font.font("FontAwesome", 40));
BorderPane root = new BorderPane();
final HomeTimeline homeTimeline = new HomeTimeline();
HomeTimeline homeTimeline = new HomeTimeline();
// homeTimeline.refresh();
root.setCenter(homeTimeline);
ToolBar toolBar = new ToolBar();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public class StatusView extends HBox {
private final VBox textBox;
private final Label screenName;
private final Label statusText;
private VBox toolbar;
private final VBox toolbar;

public StatusView() {
setPadding(new Insets(4));
Expand Down