I am going to make a project.
My professor told us to make any java program.
I am planning to create a grading system.
That outputs:
Name:
Student Number:
Course:
Class Standing:
Seatworks Grade: 5%
Homeworks Grade: 5%
Quizes Grade: 15%
Preliminary Exam: 35%
Final Exam: 40%
Total: 100%

and also output this numerical 5 Point System:

96 - 100 1.00 Excellent
94 - 95 1.25 Very Good
92 - 93 1.50 Very Good
89 - 91 1.75 Good
87 - 88 2.00 Good
84 - 86 2.25 Good
82 - 83 2.50 Fair
79 - 81 2.75 Fair
75 - 78 3.00 Pass
Below 75 5.00 Failure

Please Help me.. Thank you so much.

So where is the code............... Its a easy assignement
check:
scanner class for input through console mode
JOptionPane input dialogue box for input through GUI
code after creating a bit logic and submit here... We will help you further...

Comments
right

My professor had change her mind.
She was planning to have a mini thesis.
and want us to create a simple program.
Can you suggest a program that fit it.

Thanks.

I think the program you were going to create is the most simple for you. Also try to build a calculator, or a notepad.

I think the program you were going to create is the most simple for you. Also try to build a calculator, or a notepad.

The Calculator cannot be used.
The other group used it.

You better create a simple game so your professor will be impressed on you. You create the Tic-Tac-Toe

I had tried making a grading system.
But i dont know how to add a next button that continue to a next page.

I had tried making a grading system.
But i dont know how to add a next button that continue to a next page.

Here is the code:

import javax.swing.*;
import javax.swing.event.*;
import java.awt.*;
import java.awt.event.*;


public class Grade extends JFrame
{
private JLabel lastnameL, firstnameL, middlenameL, studentnoL, courseL;


private JTextField lastnameTF, firstnameTF, middlenameTF, studentnoTF;


private JComboBox courseCB;
private static final String[] courseList =
{
"BS Information Technology",
"BS Computer Science"
};


private JButton continueB, exitB;


private ExitButtonHandler ebHandler;


public Grade()
{
lastnameL = new JLabel("Last Name:", SwingConstants.LEFT);
firstnameL = new JLabel("First Name:", SwingConstants.LEFT);
middlenameL = new JLabel("Middle Name:", SwingConstants.LEFT);
studentnoL = new JLabel("Student Number:", SwingConstants.LEFT);
courseL = new JLabel("Course:", SwingConstants.LEFT);


lastnameTF = new JTextField(10);
firstnameTF = new JTextField(10);
middlenameTF = new JTextField(10);
studentnoTF = new JTextField(10);


courseCB = new JComboBox(courseList);


continueB = new JButton("Continue");


exitB = new JButton("Exit");
ebHandler = new ExitButtonHandler();
exitB.addActionListener(ebHandler);


setTitle("Grades");


Container pane;
pane = getContentPane();


pane.setLayout(new GridLayout(6,2));


pane.add(lastnameL);
pane.add(lastnameTF);
pane.add(firstnameL);
pane.add(firstnameTF);
pane.add(middlenameL);
pane.add(middlenameTF);
pane.add(studentnoL);
pane.add(studentnoTF);
pane.add(courseL);
pane.add(courseCB);
pane.add(continueB);
pane.add(exitB);


setSize(300,200);
setVisible(true);
setDefaultCloseOperation(EXIT_ON_CLOSE);


}


private class ExitButtonHandler implements ActionListener
{
public void actionPerformed(ActionEvent e)
{
System.exit(0);
}
}


public static void main(String[] args)
{
Grade newGrade = new Grade();
}


}

Edited 3 Years Ago by Nick Evan: Fixed formatting

This article has been dead for over six months. Start a new discussion instead.