List of commits:
Subject Hash Author Date (UTC)
just to update 2fa820634306068c8a97315ecb29661604bb34dc SF2311 2018-04-25 14:21:33
Fixed menu loading problems 9858b4b11fd912d8b40e681b772bf0ef16678ca6 SF2311 2018-04-20 17:07:20
Added Menu loading 428354d568e6bf97e45ec4c416ce9b3db227eea4 SF2311 2018-04-20 16:12:55
designed main window added launching main window added first menu part in form of gridpane 1f4e52733f4aeb9524fb0f40f8cf7604aaf17898 SF2311 2018-04-19 16:15:30
prepared User interface cfad65413554fbd7a1026f2c8e73e73e996df69d SF2311 2018-04-18 18:51:26
initial commit 272ab94837f2e39f77b768df08a25a78466d52d1 SF2311 2018-04-18 18:43:17
Commit 2fa820634306068c8a97315ecb29661604bb34dc - just to update
Author: SF2311
Author date (UTC): 2018-04-25 14:21
Committer name: SF2311
Committer date (UTC): 2018-04-25 14:21
Parent(s): 9858b4b11fd912d8b40e681b772bf0ef16678ca6
Signing key:
Tree: f76725d13fcb7104b2c84fec4773a9a2c6c27e55
File Lines added Lines deleted
src/salesman/salesman/data/City.java 27 0
src/salesman/ui/MainWindow.fxml 38 1
File src/salesman/salesman/data/City.java added (mode: 100644) (index 0000000..35d2d6e)
1 package salesman.salesman.data;
2
3 import java.util.Random;
4
5 public class City {
6 private int x, y;
7
8 public City(int x, int y) {
9 this.x = x;
10 this.y = y;
11 }
12
13 public City() {
14 x = new Random().nextInt(600);
15 y = new Random().nextInt(800);
16 }
17
18 public int getX() {
19 return x;
20 }
21
22 public int getY() {
23 return y;
24 }
25
26
27 }
File src/salesman/ui/MainWindow.fxml changed (mode: 100644) (index 0e23a0c..2a5f00a)
1 1 <?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
2 2
3 <?import javafx.scene.chart.CategoryAxis?>
4 <?import javafx.scene.chart.LineChart?>
5 <?import javafx.scene.chart.NumberAxis?>
3 6 <?import javafx.scene.control.ComboBox?> <?import javafx.scene.control.ComboBox?>
4 7 <?import javafx.scene.control.Label?> <?import javafx.scene.control.Label?>
5 8 <?import javafx.scene.control.SplitPane?> <?import javafx.scene.control.SplitPane?>
9 <?import javafx.scene.control.Tab?>
10 <?import javafx.scene.control.TabPane?>
6 11 <?import javafx.scene.control.TextField?> <?import javafx.scene.control.TextField?>
7 12 <?import javafx.scene.layout.AnchorPane?> <?import javafx.scene.layout.AnchorPane?>
8 13 <?import javafx.scene.layout.ColumnConstraints?> <?import javafx.scene.layout.ColumnConstraints?>
 
62 67 </AnchorPane> </AnchorPane>
63 68 <AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="160.0" prefWidth="100.0"> <AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="160.0" prefWidth="100.0">
64 69 <children> <children>
65 <Pane fx:id="paneCities" layoutY="3.0" onMouseClicked="#paneCitiesMouseClick" prefHeight="598.0" prefWidth="770.0" style="-fx-background-color: #FFFFFF;" AnchorPane.bottomAnchor="-3.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="3.0" />
70 <TabPane layoutY="3.0" AnchorPane.bottomAnchor="-3.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="3.0">
71 <tabs>
72 <Tab text="TSP">
73 <content>
74 <Pane fx:id="paneCities" onMouseClicked="#paneCitiesMouseClick" prefHeight="600.0" prefWidth="800.0" style="-fx-background-color: #FFFFFF;" />
75 </content>
76 </Tab>
77 <Tab text="Daten">
78 <content>
79 <SplitPane dividerPositions="0.5" orientation="VERTICAL" prefHeight="200.0" prefWidth="160.0">
80 <items>
81 <LineChart>
82 <xAxis>
83 <CategoryAxis side="BOTTOM" />
84 </xAxis>
85 <yAxis>
86 <NumberAxis side="LEFT" />
87 </yAxis>
88 </LineChart>
89 <LineChart>
90 <xAxis>
91 <CategoryAxis side="BOTTOM" />
92 </xAxis>
93 <yAxis>
94 <NumberAxis side="LEFT" />
95 </yAxis>
96 </LineChart>
97 </items>
98 </SplitPane>
99 </content>
100 </Tab>
101 </tabs>
102 </TabPane>
66 103 </children></AnchorPane> </children></AnchorPane>
67 104 </items> </items>
68 105 </SplitPane> </SplitPane>
Hints:
Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://rocketgit.com/user/SF2311/travelling-salesman

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@ssh.rocketgit.com/user/SF2311/travelling-salesman

Clone this repository using git:
git clone git://git.rocketgit.com/user/SF2311/travelling-salesman

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a merge request:
... clone the repository ...
... make some changes and some commits ...
git push origin main