File tree Expand file tree Collapse file tree 6 files changed +38
-3
lines changed
src/projetarm_v2/simulator/ui/javafx Expand file tree Collapse file tree 6 files changed +38
-3
lines changed Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+ cd /users/dut/info/$USER /git/projet_s2/
3
+ export JAVA_HOME=" /users/dut/info/demmanuv/git/jdk-11.0.1"
4
+ JAVA_HOME=" /users/dut/info/demmanuv/git/jdk-11.0.1" mvn package
5
+ $JAVE_HOME /bin/java -jar target/project-armstrong-0.0.1-SNAPSHOT-jar-with-dependencies.jar
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+ cd /users/dut/info/$USER /git/projet_s2/
3
+ export JAVA_HOME=" /users/dut/info/demmanuv/git/jdk-11.0.1"
4
+ JAVA_HOME=" /users/dut/info/demmanuv/git/jdk-11.0.1" mvn package
5
+ $JAVE_HOME /bin/java -jar target/project-armstrong-0.0.1-SNAPSHOT-jar-with-dependencies.jar gui
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+ ~ /git/eclipse/eclipse
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+ mkdir ~ /.m2/
3
+ settings=$( cat << EOF
4
+ <settings>
5
+ <proxies>
6
+ <proxy>
7
+ <id>example-proxy</id>
8
+ <active>true</active>
9
+ <protocol>http</protocol>
10
+ <host>172.30.1.1</host>
11
+ <port>3128</port>
12
+ </proxy>
13
+ </proxies>
14
+ </settings>
15
+ EOF
16
+ )
17
+ echo $settings > ~ /.m2/settings.xml
18
+ cd ~ /git
19
+ wget http://ftp.fau.de/eclipse/technology/epp/downloads/release/2018-12/R/eclipse-java-2018-12-R-linux-gtk-x86_64.tar.gz
20
+ tar -xvf eclipse*
21
+ rm * tar.gz
22
+ echo " export PATH=$PATH :/users/dut/info/$USER /git/projet_s2/iutScripts" >> ~ /.bashrc
23
+ source ~ /.bashrc
Original file line number Diff line number Diff line change @@ -85,6 +85,7 @@ public static void main(String[] args) {
85
85
@ Override
86
86
public void start (Stage primaryStage ) {
87
87
this .simulator = new ArmSimulator ();
88
+ this .simulator .setRandomPattern ();
88
89
this .executionMode = false ;
89
90
this .running = new AtomicBoolean (false );
90
91
this .interfaceBeingUpdated = new AtomicBoolean (false );
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ public class RamView {
39
39
private ScrollBar memoryScrollBar ;
40
40
private TableView <NewLineRam > tableView ;
41
41
42
- private int firstDisplayedAddress ;
42
+ private int firstDisplayedAddress = 0 ;
43
43
44
44
private RamObservableListAdapter UneSuperImplemFournieParValentinLeBg ;
45
45
@@ -54,8 +54,7 @@ public class RamView {
54
54
* @param simulator the simulator
55
55
*/
56
56
public RamView (ArmSimulator simulator ) {
57
- this .simulator = simulator ;
58
- this .firstDisplayedAddress = simulator .getStartingAddress ();
57
+ this .simulator =simulator ;
59
58
try {
60
59
mainPane = FXMLLoader .load (getClass ().getResource ("/resources/MemoryView.fxml" ));
61
60
} catch (IOException e ) {
You can’t perform that action at this time.
0 commit comments