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

So the pdf fike has the specifications. The zip file submitted has the UDP Clinet and UDP Server java class as mentioned in the assignment. The text file has got the phone number and the gui. Please...

1 answer below »
So the pdf fike has the specifications. The zip file submitted has the UDP Clinet and UDP Server java class as mentioned in the assignment. The text file has got the phone number and the gui. Please go through the specifications and it clearly has whatever needs to done with designing gui for the UDP server and client java. Please only use the UDP server and Client files in the zip folder and then design the gui for hills public school as mentioned in the specifications. Please use the text file as details. Also go through the interface design of the gui as mentioned in the specifications.
Answered Same Day Apr 04, 2020 COIT13229 Central Queensland University

Solution

Snehil answered on Apr 05 2020
144 Votes
1.JPG
2.JPG
3.JPG
4.JPG
5.JPG
6.JPG
7.JPG
8.JPG
Documentation.docx
Serve
The server runs in the background when you start the server GUI. Make sure that the file containing the username and password is provided to the server. The name and contents of the file should be in the required order as coded in the server.
The Server continuously waits for clients to send requests and provides appropriate response.
The Server maintains a log of events which are written to a log file every 2 seconds. The user can clear the log using the “Clear Log” button on the UI if needed.
Client
When you start the client UI, it will inquire about the user’s location. The program cannot continue without this information, so it will repeatedly prompt user to enter location if user cancels the request.
Once the client has the users location, it will be displayed on the title bar of the following window. This window contains the main interface of the program.
The user is able to enter Mobile number, pin, reason and then send the information to the server for validation.
Once the request has been sent to the server, its status is displayed so that the user can see if the request is under process or if its processed with the success or failure.
If the server is dead or not running, when client sends the request, it will keep waiting for a response indefinitely unless a timeout was set. If the timeout was set, then the client will stop waiting for a response from server when the timeout expires.
UDP Client
uild.xml

Builds, tests, and runs the project UDP Client.


UDP Client
uild
uilt-jar.properties
#Thu, 05 Apr 2018 11:48:39 +0530
C\:\\Programming\\TFTH\\29019\\My\ Work\\UDP\ Client=
UDP Client
uild/classes/.netbeans_automatic_build
UDP Client
uild/classes/.netbeans_update_resources
UDP Client
uild/classes/UDPClient$1.class
synchronized class UDPClient$1 implements java.awt.event.ActionListener {
void UDPClient$1(UDPClient);
public void actionPerformed(java.awt.event.ActionEvent);
}
UDP Client
uild/classes/UDPClient$2.class
synchronized class UDPClient$2 implements java.awt.event.ActionListener {
void UDPClient$2(UDPClient);
public void actionPerformed(java.awt.event.ActionEvent);
}
UDP Client
uild/classes/UDPClient$3.class
final synchronized class UDPClient$3 implements Runnable {
void UDPClient$3();
public void run();
}
UDP Client
uild/classes/UDPClient.class
public synchronized class UDPClient extends javax.swing.JFrame {
private static final String SERVERNAME = localhost;
private static final int SERVERPORT = 8888;
private static String location;
private javax.swing.JButton clearButton;
private javax.swing.JComboBox comboBox;
private javax.swing.JLabel jLabel1;
private javax.swing.JLabel jLabel2;
private javax.swing.JTextField mobileTF;
private javax.swing.JTextField pinTF;
private javax.swing.JButton sendButton;
private javax.swing.JLabel statusLabel;
public void UDPClient();
private void initComponents();
private void sendButtonActionPerformed(java.awt.event.ActionEvent);
private void clearButtonActionPerformed(java.awt.event.ActionEvent);
public static void main(String[]);
}
UDP Client
uild/classes/UDPClient.form






























































































































UDP Client/dist/README.TXT
========================
BUILD OUTPUT DESCRIPTION
========================
When you build an Java application project that has a main class, the IDE
automatically copies all of the JAR
files on the projects classpath to your projects dist/lib folder. The IDE
also adds each of the JAR files to the Class-Path element in the application
JAR files manifest file (MANIFEST.MF).
To run the project from the command line, go to the dist folder and
type the following:
java -jar "UDP_Client.jar"
To distribute this project, zip up the dist folder (including the lib folder)
and distribute the ZIP file.
Notes:
* If two JAR files on the project classpath have the same name, only the first
JAR file is copied to the lib folder.
* Only JAR files are copied to the lib folder.
If the classpath contains other types of files or folders, these files (folders)
are not copied.
* If a li
ary on the projects classpath also has a Class-Path element
specified in the manifest,the content of the Class-Path element has to be on
the projects runtime path.
* To set a main class in a standard Java project, right-click the project node
in the Projects window and choose Properties. Then click Run and enter the
class name in the Main Class field. Alternatively, you can manually type the
class name in the manifest Main-Class element.
UDP Client/dist/UDP_Client.ja
META-INF/MANIFEST.MF
Manifest-Version: 1.0
Ant-Version: Apache Ant 1.9.7
Created-By: 1.8.0_92-b14 (Oracle Corporation)
Class-Path:
X-COMMENT: Main-Class will be added automatically by build
Main-Class: UDPClient
UDPClient$1.class
synchronized class UDPClient$1 implements java.awt.event.ActionListener {
void UDPClient$1(UDPClient);
public void actionPerformed(java.awt.event.ActionEvent);
}
UDPClient$2.class
final synchronized class UDPClient$2 implements Runnable {
void UDPClient$2();
public void run();
}
UDPClient.class
public synchronized class UDPClient extends javax.swing.JFrame {
private static final String SERVERNAME = localhost;
private static final int SERVERPORT = 8888;
private static String location;
private javax.swing.JButton clearButton;
private javax.swing.JComboBox comboBox;
private javax.swing.JLabel jLabel1;
private javax.swing.JLabel jLabel2;
private javax.swing.JTextField mobileTF;
private javax.swing.JTextField pinTF;
private javax.swing.JButton sendButton;
private javax.swing.JLabel statusLabel;
public void UDPClient();
private void initComponents();
private void sendButtonActionPerformed(java.awt.event.ActionEvent);
public static void main(String[]);
}
UDP Client/manifest.mf
Manifest-Version: 1.0
X-COMMENT: Main-Class will be added automatically by build
UDP Client/nbproject
uild-impl.xml















































































































































































































Must set src.di
Must set test.src.di
Must set build.di
Must set dist.di
Must set build.classes.di
Must set dist.javadoc.di
Must set build.test.classes.di
Must set build.test.results.di
Must set build.classes.excludes
Must set dist.ja




































































































Must set javac.includes
































































































































No tests executed.























































































































































































































































Must set JVM to use for profiling in profiler.info.jvm
Must set profiler agent JVM arguments in profiler.info.jvmargs.agent





























































































































































































































Must select some files in the IDE or set javac.includes













































To run this application from the command line without Ant, try:

java -jar "${dist.jar.resolved}"










































Must select one file in the IDE or set run.class



Must select one file in the IDE or set run.class






















Must select one file in the IDE or set debug.class




Must select one file in the IDE or set debug.class




Must set fix.includes









This target only works when run from inside the NetBeans IDE.








Must select one file in the IDE or set profile.class
This target only works when run from inside the NetBeans IDE.








This target only works when run from inside the NetBeans IDE.






...
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here