introduction motivation this project will develop an application that allows users to rate the cars...
Post on 21-Dec-2015
213 views
TRANSCRIPT
Introduction
Motivation This project will develop an application that allows users to rate
the cars step by step. By comparing the detailed descriptions of certain given models, users can rate the models in each specification. After rating, the application will show the overall rate for each model. By the revealed result, users can discover the satisfaction rates of different parts for each models.
Target users Users who will be the buying cars customers Users who need to do the vehicle survey Users who need to collect customers data
ISE582 Final Project – Java Applet – [Cars Rating]
Yun-Ching Chen 887-30-3320
Scheme
ISE582 Final Project – Java Applet – [Cars Rating]
Yun-Ching Chen 887-30-3320
Cars
DataValue[ ] : ArrayInputData[ ]: Array
Cars( )Getter( ), Setter( )Mouseclicked( )Paint( )Repaint( )Show( )
CarsFile.data UserFile.data
Rating
RatingValue( ): Vector
Rating( )Getter( ), Setter( )OverallRating( )
Read from file Output result to file
Cars Rating
ISE582 Final Project – Java Applet – [Cars Rating]
Yun-Ching Chen 887-30-3320
import java.awt.*;import javax.swing.*;
public class Cars extends Japplet{ //Define variables, vectors, array,… double InputData[ ][ ];
//Create necessary button, label, panel, table, … java.awt.Button Button = new java.awt.Button( );
//Add Listener Object.addActionListener( );
//Define class and method class SymMouse extends java.awt.event.MouseAdapter{ public void mouseClicked(java.awt.event.MouseEvent event){ Object object = event.getSource() } }
//Use paint method to create colorful interface public void paint( Graphics g ){ g.setColor ( Color.white );g.fillRect ( 0,0,700,530 ); }}
Preview
Useful tools Symantec Visual Café 4
Borland Jbuilder 5 (Personal)
Reference material Yahoo! Autos http://autos.yahoo.com/ MSN Carpoint http://carpoint.msn.com/homepage/default.asp AIC Autosite http://www.autosite.com/
ISE582 Final Project – Java Applet – [Cars Rating]
Yun-Ching Chen 887-30-3320