Loading presentation...

Present Remotely

Send the link below via email or IM

Copy

Present to your audience

Start remote presentation

  • Invited audience members will follow you as you navigate and present
  • People invited to a presentation do not need a Prezi account
  • This link expires 10 minutes after you close the presentation
  • A maximum of 30 users can follow your presentation
  • Learn more about this feature in our knowledge base article

Do you really want to delete this prezi?

Neither you, nor the coeditors you shared it with will be able to recover it again.

DeleteCancel

Make your likes visible on Facebook?

Connect your Facebook account to Prezi and let your likes appear on your timeline.
You can change this under Settings & Account at any time.

No, thanks

COFFEE SHOP PROJECT

No description
by

Merve Karakoca

on 12 January 2015

Comments (0)

Please log in to add your comment.

Report abuse

Transcript of COFFEE SHOP PROJECT

COFFEE SHOP PROJECT
Problems
In PriceList, Selected coffee could not be placed to jTextArea. It admitted only one line.Because of this problem, I used a lot of space as a single line with jTextField.
Second problem occurs that,I could not calculate the price of selected coffee.For this reason,I used a simple calculator in this project.
I did not get data to jCombobox from database.Therefore, I changed the "coffee_size" table as the "prices" table.
What was used in Project?
-This is just a simple JAVA GUI Application I made using NetBeans IDE 8.0.2
-This is only a simple SWING GUI application.
-phpMyAdmin was used in project.
-It was created using three tables in database.
(Tables : cold_coffee, hot_coffee, prices.
Database name : gui_schema)
-Including three JFrame Form(PriceList,CoffeeShop,
calculator)
-Price calculation of selected coffee.




REFERENCES :
http://stackoverflow.com/questions/21519541/select-query-and-will-appear-to-combobox-in-netbeans-mysql
https://netbeans.org/
http://stackoverflow.com/questions/15173325/execute-an-action-when-an-item-on-the-combobox-is-selected
http://stackoverflow.com/questions/6187289/how-do-i-connect-jbutton-to-jtextfield
http://www.sourcecodester.com/java/java-calculator.html
How did I use the database in project?
Merve KARAKOCA
Which components are used?
In PriceList ;
TextField,
jPanel,
jButton,
jScrollPane,
jComboBox,
jLabel,
jTextArea

In CoffeeShop ;
jButton,
jTabbedPane,
jTextField,
jPanel,
jMenuBar,
jPanel,
jScrollPane,
jTextArea

In calculator ;
jButton,
jTextField
("cold_coffee" table)
("hot_coffee" table)
("prices" table)
In CoffeeShop, It was used to demonstrate the descriptions according to id.
String SQL = "select description from hot_coffee where id='coffee name'";
Then, Description was sent with jTextArea1.setText(desc);
In CoffeeShop, It was used to demonstrate the descriptions according to id.
String SQL = "select description from hot_coffee where id='coffee name'";
Then, Description was sent with jTextArea1.setText(desc);
In that table,according to size, I got coffee's price.
THANKS FOR YOUR KIND ATTENDANCE
:)
Full transcript