Great Deal! Get Instant $10 FREE in Account on First Order + 10% Cashback on Every Order Order Now

You are to create a complete Java application. This application must be approved by your instructor; however, you will decide what this application is about. This application must include at a...

1 answer below »

You are to create a complete Java application. This application must be approved by your instructor; however, you will decide what this application is about.

This application must include at a minimum:

  • Three classes minimum

  • At least one class must use inheritance

  • At least one class must be abstract

  • JavaFX front end – as you will see, JavaFX will allow you to create a GUI user interface.

  • The User Interface must respond to events.

  • If your application requires a data backend, you can choose to use a database or to use text files.

  • Error handling - The application should be able to handle invalid data.

Answered Same Day Jul 22, 2021

Solution

Aditya answered on Jul 30 2021
137 Votes
StudentAdmission
uild.xml

Builds, tests, and runs the project StudentAdmission.


StudentAdmission
uild
uilt-jar.properties
#Thu, 30 Jul 2020 01:32:23 +0530
F\:\\eclips
enze4julyeprgram\\StudentAdmission=
StudentAdmission
uild/classes/LoginFrame$1.class
synchronized class LoginFrame$1 implements java.awt.event.ActionListener {
void LoginFrame$1(LoginFrame);
public void actionPerformed(java.awt.event.ActionEvent);
}
StudentAdmission
uild/classes/LoginFrame$2.class
synchronized class LoginFrame$2 implements java.awt.event.ActionListener {
void LoginFrame$2(LoginFrame);
public void actionPerformed(java.awt.event.ActionEvent);
}
StudentAdmission
uild/classes/LoginFrame$3.class
final synchronized class LoginFrame$3 implements Runnable {
void LoginFrame$3();
public void run();
}
StudentAdmission
uild/classes/LoginFrame.class
public synchronized class LoginFrame extends javax.swing.JFrame {
private javax.swing.JButton jButton1;
private javax.swing.JButton jButton2;
private javax.swing.JLabel jLabel1;
private javax.swing.JLabel jLabel2;
private javax.swing.JLabel jLabel3;
private javax.swing.JPasswordField jPasswordField1;
private javax.swing.JTextField jTextField1;
public void LoginFrame();
private void initComponents();
private void jButton1ActionPerformed(java.awt.event.ActionEvent);
private void jButton2ActionPerformed(java.awt.event.ActionEvent);
public static void main(String[]);
}
StudentAdmission
uild/classes/Student.class
public abstract synchronized class Student {
private int id;
private String firstName;
private String lastName;
private int age;
private static int nextId;
public void Student(String, String, int);
public int getId();
public void setId(int);
public String getFirstName();
public void setFirstName(String);
public String getLastName();
public void setLastName(String);
public int getAge();
public void setAge(int);
public static int getNextId();
public static void setNextId(int);
public String toString();
public abstract void CalculateMarks();
static void ();
}
StudentAdmission
uild/classes/StudentDriver.class
public synchronized class StudentDriver {
private static StudentDriver instance;
java.util.A
ayList studentList;
public static StudentDriver getInstance();
private void StudentDriver();
public void addStudent(String, String, int, float, float);
public void display();
static void ();
}
StudentAdmission
uild/classes/StudentFrame$1.class
synchronized class StudentFrame$1 implements java.awt.event.ActionListener {
void StudentFrame$1(StudentFrame);
public void actionPerformed(java.awt.event.ActionEvent);
}
StudentAdmission
uild/classes/StudentFrame$2.class
synchronized class StudentFrame$2 implements java.awt.event.ActionListener {
void StudentFrame$2(StudentFrame);
public void actionPerformed(java.awt.event.ActionEvent);
}
StudentAdmission
uild/classes/StudentFrame$3.class
synchronized class StudentFrame$3 implements java.awt.event.ActionListener {
void StudentFrame$3(StudentFrame);
public void actionPerformed(java.awt.event.ActionEvent);
}
StudentAdmission
uild/classes/StudentFrame$4.class
synchronized class StudentFrame$4 implements java.awt.event.ActionListener {
void StudentFrame$4(StudentFrame);
public void actionPerformed(java.awt.event.ActionEvent);
}
StudentAdmission
uild/classes/StudentFrame$5.class
synchronized class StudentFrame$5 implements java.awt.event.ActionListener {
void StudentFrame$5(StudentFrame);
public void actionPerformed(java.awt.event.ActionEvent);
}
StudentAdmission
uild/classes/StudentFrame$6.class
final synchronized class StudentFrame$6 implements Runnable {
void StudentFrame$6();
public void run();
}
StudentAdmission
uild/classes/StudentFrame.class
public synchronized class StudentFrame extends javax.swing.JFrame {
StudentDriver s;
private javax.swing.JButton jButton1;
private javax.swing.JButton jButton2;
private javax.swing.JButton jButton3;
private javax.swing.JButton jButton4;
private javax.swing.JLabel jLabel1;
private javax.swing.JLabel jLabel2;
private javax.swing.JLabel jLabel3;
private javax.swing.JLabel jLabel4;
private javax.swing.JLabel jLabel5;
private javax.swing.JSpinner jSpinner1;
private javax.swing.JSpinner jSpinner2;
private javax.swing.JSpinner jSpinner3;
private javax.swing.JTextField jTextField1;
private javax.swing.JTextField jTextField2;
public void StudentFrame();
private void initComponents();
private void jButton1ActionPerformed(java.awt.event.ActionEvent);
private void jTextField2ActionPerformed(java.awt.event.ActionEvent);
private void jButton4ActionPerformed(java.awt.event.ActionEvent);
private void jButton3ActionPerformed(java.awt.event.ActionEvent);
private void jButton2ActionPerformed(java.awt.event.ActionEvent);
public static void main(String[]);
}
StudentAdmission
uild/classes/StudentMarks.class
public synchronized class StudentMarks extends Student {
private float assingmentMarks;
private float practicalMarks;
private float overallMarks;
public void StudentMarks(String, String, int, float, float);
public float getAssingmentMarks();
public void setAssingmentMarks(float);
public float getPracticalMarks();
public void setPracticalMarks(float);
public float getOverallMarks();
public String toString();
public void CalculateMarks();
}
StudentAdmission/dist/StudentAdmission.html
Test page for StudentAdmission
Webstart: click to launch this app as webstart


StudentAdmission/dist/StudentAdmission.ja
META-INF/MANIFEST.MF
Manifest-Version: 1.0
Implementation-Title: StudentAdmission
Implementation-Version: 1.0
Permissions: sandbox
Codebase: *
JavaFX-Version: 8.0
Class-Path:
Created-By: JavaFX Package
Implementation-Vendor: Aditya_Lakhera
Main-Class: LoginFrame
LoginFrame$1.class
synchronized class LoginFrame$1 implements java.awt.event.ActionListener {
void LoginFrame$1(LoginFrame);
public void actionPerformed(java.awt.event.ActionEvent);
}
LoginFrame$2.class
synchronized class LoginFrame$2 implements java.awt.event.ActionListener {
void LoginFrame$2(LoginFrame);
public void actionPerformed(java.awt.event.ActionEvent);
}
LoginFrame$3.class
final synchronized class LoginFrame$3 implements Runnable {
void LoginFrame$3();
public void run();
}
LoginFrame.class
public synchronized class LoginFrame extends javax.swing.JFrame {
private javax.swing.JButton jButton1;
private javax.swing.JButton jButton2;
private javax.swing.JLabel jLabel1;
private javax.swing.JLabel jLabel2;
private javax.swing.JLabel jLabel3;
private javax.swing.JPasswordField jPasswordField1;
private javax.swing.JTextField jTextField1;
public void LoginFrame();
private void initComponents();
private void jButton1ActionPerformed(java.awt.event.ActionEvent);
private void jButton2ActionPerformed(java.awt.event.ActionEvent);
public static void main(String[]);
}
Student.class
public abstract synchronized class Student {
private int id;
private String firstName;
private String lastName;
private int age;
private static int nextId;
public void Student(String, String, int);
public int getId();
public void setId(int);
public String getFirstName();
public void setFirstName(String);
public String getLastName();
public void setLastName(String);
public int getAge();
public void setAge(int);
public static int getNextId();
public static void setNextId(int);
public String toString();
public abstract void CalculateMarks();
static void ();
}
StudentDriver.class
public synchronized class StudentDriver {
private static StudentDriver instance;
java.util.A
ayList studentList;
public static StudentDriver getInstance();
private void StudentDriver();
public void addStudent(String, String, int, float, float);
public void display();
static void ();
}
StudentFrame$1.class
synchronized class StudentFrame$1 implements java.awt.event.ActionListener {
void StudentFrame$1(StudentFrame);
public void actionPerformed(java.awt.event.ActionEvent);
}
StudentFrame$2.class
synchronized class StudentFrame$2 implements java.awt.event.ActionListener {
void StudentFrame$2(StudentFrame);
public void actionPerformed(java.awt.event.ActionEvent);
}
StudentFrame$3.class
synchronized class StudentFrame$3 implements java.awt.event.ActionListener {
void StudentFrame$3(StudentFrame);
public void actionPerformed(java.awt.event.ActionEvent);
}
StudentFrame$4.class
synchronized class StudentFrame$4 implements java.awt.event.ActionListener {
void StudentFrame$4(StudentFrame);
public void actionPerformed(java.awt.event.ActionEvent);
}
StudentFrame$5.class
synchronized class StudentFrame$5 implements java.awt.event.ActionListener {
void StudentFrame$5(StudentFrame);
public void actionPerformed(java.awt.event.ActionEvent);
}
StudentFrame$6.class
final synchronized class StudentFrame$6 implements Runnable {
void StudentFrame$6();
public void run();
}
StudentFrame.class
public synchronized class StudentFrame extends javax.swing.JFrame {
StudentDriver s;
private javax.swing.JButton jButton1;
private javax.swing.JButton jButton2;
private javax.swing.JButton jButton3;
private javax.swing.JButton jButton4;
private javax.swing.JLabel jLabel1;
private javax.swing.JLabel jLabel2;
private javax.swing.JLabel jLabel3;
private javax.swing.JLabel jLabel4;
private javax.swing.JLabel jLabel5;
private javax.swing.JSpinner jSpinner1;
private javax.swing.JSpinner jSpinner2;
private javax.swing.JSpinner jSpinner3;
private javax.swing.JTextField jTextField1;
private javax.swing.JTextField jTextField2;
public void StudentFrame();
private void initComponents();
private void jButton1ActionPerformed(java.awt.event.ActionEvent);
private void jTextField2ActionPerformed(java.awt.event.ActionEvent);
private void jButton4ActionPerformed(java.awt.event.ActionEvent);
private void jButton3ActionPerformed(java.awt.event.ActionEvent);
private void jButton2ActionPerformed(java.awt.event.ActionEvent);
public static void main(String[]);
}
StudentMarks.class
public synchronized class StudentMarks extends Student {
private float assingmentMarks;
private float practicalMarks;
private float overallMarks;
public void StudentMarks(String, String, int, float, float);
public float getAssingmentMarks();
public void setAssingmentMarks(float);
public float getPracticalMarks();
public void setPracticalMarks(float);
public float getOverallMarks();
public String toString();
public void CalculateMarks();
}
StudentAdmission/dist/StudentAdmission.jnlp


StudentAdmission
Aditya_Lakhera
null









StudentAdmission/dist/StudentAdmission_
owser.jnlp


StudentAdmission
Aditya_Lakhera
null









StudentAdmission/dist/web-files/dtjava.js
*
* Copyright (c) 2006, 2016, Oracle and/or its affiliates. All rights reserved.
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*
**
The Java Deployment Toolkit is a utility to deploy Java content in
the
owser as applets or applications using the right version of Java.
If needed it can initiate an upgrade of user's system to install required
components of Java platform.
Note that some of the Deployment Toolkit methods may not be fully operational if
used before web page body is loaded (because DT native plugins could not be instantiated).
If you intend to use it before web page DOM tree is ready then dtjava.js
needs to be loaded inside the body element of the page and before use of other DT APIs.
@module java/deployment_toolkit
*
var dtjava = function() {
function notNull(o) {
return (o != undefined && o != null);
}
function isDef(fn) {
return (fn != null && typeof fn != "undefined");
}

eturn true if any of patterns from query list is found in the given string
function containsAny(lst, str) {
for (var q = 0; q < lst.length; q++) {
if (str.indexOf(lst[q]) != -1) {
return true;
}
}
return false;
}
/* Location of static web content - images, javascript files. *
var jscodebase = (function () {