Академический Документы
Профессиональный Документы
Культура Документы
Instructions to Candidate
Marks Obtained:
----------------------------------------------------------------------------------------------------------------
Question
Program Output to be Pasted
No.
1. A) Project The project is created to manage cosmetic items in shop the project is created
Planning: mainly manage to import and export and availability of the items in the shop.
1.C) Diagram:
SECTION JAVA Programming [20 Marks]
Question
Program Logic to be Pasted Program Output to be Pasted
No.
1. A) private void
Part I submitActionPerformed(java.awt.event.
ActionEvent evt) {
// TODO add your handling code
here:
String user=user_name.getText();
String pass=password.getText();
if(user_name.equals("admin")&&
password.equals("1234"))
{
JOptionPane.showMessageDialog(null,
"login succesful");
}
else
{
JOptionPane.showMessageDialog(null,
"invalid Details");
}
private void
exitActionPerformed(java.awt.event.Ac
tionEvent evt) {
System.exit(0);
}
private void
clearActionPerformed(java.awt.event.A
ctionEvent evt) {
clear.setText(null);
clear.setText(null);
}
1. A)
Part II
1. B)
Part I
1. B)
Part II