































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
In this document topics covered which are Developing a Java Client, Introduction, Developing a Java client, What are we building?,Creating the Project, Creating a Package.
Typology: Lecture notes
1 / 39
This page cannot be seen from the preview
Don't miss anything!
































Distributed InformationDistributed Information
Systems Systems
Markus A. Wolf & Elena I. Teodorescu^ Markus A. Wolf & Elena I. Teodorescu
team leader to log in and see a list of tasksthat the project manager (administrator) hasassigned to them
File -> New Project
Categories
pane select
General
and
from the
Projects
pane select
Java
Application
SourcePackages
folder and
select
New -> Java Package
Let’s add a userinterface file to thepackage^ – Right-click on the
newly created
ptsclient
package and select New -> JFrameForm…
ClientFrame
and click
Finish
Open the ClientFrame class in Design view
-^
From the
Palette
pane (Swing category) drag
the following controls onto the form:^ – 3 JLabels with text set to
Username, Password
and
Your projects
Rename theJTextField you addedto
txtUsername
jTextField
in the
Inspector pane andselect
Change
Variable Name…
txtUsername
as
the new name
When completed, the form should look like this:
The only functionality we will implement is thatwhen the button is pressed the access detailsare checked and, on successful authentication,the list of projects that the team leader isworking on is displayed
-^
We will have three methods:^ – Event handling method called when the button is
pressed
and displays in in the text area