Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
Vending_Machine
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
daniel.berrow
Vending_Machine
Commits
77c5cdde
Commit
77c5cdde
authored
Jan 07, 2020
by
Daniel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
finish
parent
830c94c2
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
1 deletion
+10
-1
Receipt.txt
Receipt.txt
+9
-0
Vending_Program.java
src/Vending_Program.java
+1
-1
No files found.
Receipt.txt
0 → 100644
View file @
77c5cdde
Chocolate 3
Water 0
Drink 0
Snack 0
Sweet 0
Total = £6.00
=======================
Cash paid = £7.00
Change given = £1.00
\ No newline at end of file
src/Vending_Program.java
View file @
77c5cdde
...
@@ -32,7 +32,7 @@ public class Vending_Program extends javax.swing.JFrame {
...
@@ -32,7 +32,7 @@ public class Vending_Program extends javax.swing.JFrame {
@SuppressWarnings
(
"unchecked"
)
@SuppressWarnings
(
"unchecked"
)
// <editor-fold defaultstate="collapsed" desc="Generated Code">
// <editor-fold defaultstate="collapsed" desc="Generated Code">
private
void
initComponents
()
{
private
void
initComponents
()
{
//initiate all the components of the GUI
//initiate all the components of the GUI
for the start of the program
Chocolate_label
=
new
javax
.
swing
.
JLabel
();
Chocolate_label
=
new
javax
.
swing
.
JLabel
();
Water_label
=
new
javax
.
swing
.
JLabel
();
Water_label
=
new
javax
.
swing
.
JLabel
();
...
...
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