Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
battleships
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
bradley.vernon
battleships
Commits
ae50d988
Commit
ae50d988
authored
May 04, 2019
by
Darth Vernon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
GUI bugs resolved
parent
47506859
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
BSGUI.fxml
src/BSGUI.fxml
+3
-3
BSMain.java
src/BSMain.java
+1
-1
No files found.
src/BSGUI.fxml
View file @
ae50d988
...
@@ -5,9 +5,9 @@
...
@@ -5,9 +5,9 @@
<?import javafx.scene.control.Label?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.layout.Pane?>
<?import javafx.scene.layout.Pane?>
<Pane
maxHeight=
"1.7976931348623157E308"
maxWidth=
"1.7976931348623157E308"
prefHeight=
"749.0"
prefWidth=
"1054.0"
xmlns=
"http://javafx.com/javafx/1
1
.0.1"
xmlns:fx=
"http://javafx.com/fxml/1"
fx:controller=
"BSMain"
>
<Pane
maxHeight=
"1.7976931348623157E308"
maxWidth=
"1.7976931348623157E308"
prefHeight=
"749.0"
prefWidth=
"1054.0"
xmlns=
"http://javafx.com/javafx/1
0
.0.1"
xmlns:fx=
"http://javafx.com/fxml/1"
fx:controller=
"BSMain"
>
<children>
<children>
<Pane
fx:id=
"admiral"
accessibleRole=
"COMBO_BOX"
layoutY=
"-14.0"
maxHeight=
"1.7976931348623157E308"
maxWidth=
"1.7976931348623157E308"
prefHeight=
"749
.0"
prefWidth=
"1054.0"
>
<Pane
accessibleRole=
"COMBO_BOX"
layoutY=
"-14.0"
maxHeight=
"1.7976931348623157E308"
maxWidth=
"1.7976931348623157E308"
prefHeight=
"761
.0"
prefWidth=
"1054.0"
>
<children>
<children>
<ChoiceBox
fx:id=
"DPx"
layoutX=
"30.0"
layoutY=
"651.0"
prefHeight=
"28.0"
prefWidth=
"184.0"
/>
<ChoiceBox
fx:id=
"DPx"
layoutX=
"30.0"
layoutY=
"651.0"
prefHeight=
"28.0"
prefWidth=
"184.0"
/>
<ChoiceBox
fx:id=
"DPy"
layoutX=
"214.0"
layoutY=
"651.0"
prefHeight=
"28.0"
prefWidth=
"184.0"
/>
<ChoiceBox
fx:id=
"DPy"
layoutX=
"214.0"
layoutY=
"651.0"
prefHeight=
"28.0"
prefWidth=
"184.0"
/>
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
<Button
fx:id=
"fire"
layoutX=
"582.0"
layoutY=
"651.0"
mnemonicParsing=
"false"
onAction=
"#fireAction"
prefHeight=
"28.0"
prefWidth=
"184.0"
text=
"*FIRE*"
/>
<Button
fx:id=
"fire"
layoutX=
"582.0"
layoutY=
"651.0"
mnemonicParsing=
"false"
onAction=
"#fireAction"
prefHeight=
"28.0"
prefWidth=
"184.0"
text=
"*FIRE*"
/>
<Button
fx:id=
"quit"
layoutX=
"398.0"
layoutY=
"681.0"
mnemonicParsing=
"false"
onAction=
"#quitAction"
prefHeight=
"25.0"
prefWidth=
"184.0"
text=
"*QUIT*"
/>
<Button
fx:id=
"quit"
layoutX=
"398.0"
layoutY=
"681.0"
mnemonicParsing=
"false"
onAction=
"#quitAction"
prefHeight=
"25.0"
prefWidth=
"184.0"
text=
"*QUIT*"
/>
<Button
fx:id=
"battleStage"
layoutX=
"582.0"
layoutY=
"681.0"
mnemonicParsing=
"false"
onAction=
"#stageAction"
prefHeight=
"25.0"
prefWidth=
"184.0"
text=
"*BATTLE STAGE*"
/>
<Button
fx:id=
"battleStage"
layoutX=
"582.0"
layoutY=
"681.0"
mnemonicParsing=
"false"
onAction=
"#stageAction"
prefHeight=
"25.0"
prefWidth=
"184.0"
text=
"*BATTLE STAGE*"
/>
<Label
layoutX=
"30.0"
layoutY=
"634.0"
prefHeight=
"17.0"
prefWidth=
"734.0"
text=
"Admiral Nutsey : "Place your ships Captain!!!""
/>
<Label
fx:id=
"admiral"
layoutX=
"30.0"
layoutY=
"634.0"
prefHeight=
"17.0"
prefWidth=
"734.0"
text=
"Admiral Nutsey : "Place your ships Captain!!!""
/>
</children>
</children>
</Pane>
</Pane>
</children>
</children>
...
...
src/BSMain.java
View file @
ae50d988
...
@@ -107,7 +107,7 @@ public class BSMain extends Application{
...
@@ -107,7 +107,7 @@ public class BSMain extends Application{
label
.
setText
(
"Cordinates are taken. not added to grid"
);
label
.
setText
(
"Cordinates are taken. not added to grid"
);
}
}
else
{
else
{
admiral
.
setText
(
"Your in Battle
now son
, try *FIRE*"
);
admiral
.
setText
(
"Your in Battle, try *FIRE*"
);
}
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment