college website management (java programming)
TRANSCRIPT
8/3/2019 College Website Management (Java programming)
http://slidepdf.com/reader/full/college-website-management-java-programming 1/39
Mini Project Report
C.I.T. WEBSITE
MANAGEMENT
Submitted in Partial Fulfillment for the Degree of
Bachelor of Technology in Computer Science
SUBMITTED BY
Ravi Rajak (07/CSE/2K7)
Abhishek Kumar (20/CSE/2K7)
Ashutosh Kr. Jha (41/CSE/2K7)
Saurav Suman (46/CSE/2K7)
Anubhav Agrawal (87/CSE/2K7)
UNDER SUPERVISION OF:
Mr. BINOD KUMAR
DEPARTMENT OF COMPUTER SCIENCE AND
ENGINEERING
CAMBRIDGE INSTITUTE OF
TECHNOLOGY
TATISILWAI, RANCHI-835103
8/3/2019 College Website Management (Java programming)
http://slidepdf.com/reader/full/college-website-management-java-programming 2/39
(2011)
DECLARATION CERTIFICATE
This to certify that the work presented in the project entitled
“CIT WEBSITE MANAGEMENT” in partial fulfillment of the
requirement for award of degree of Bachelor of Technology in
Computer Science & Engineering, of Cambridge Institute of
Technology, Tatisilwai, Ranchi is an authentic work carried out
under my supervision and guidance.
To the best of my knowledge, the content of this project does
not form a basis for the award of any previous Degree to
anyone else.
Date : 05/04/2011 Mr. Binod Kumar
Dept. of Computer Science and Engineering
Cambridge Institute of Technoogy.
Tatisilwai, Ranchi – 835103.
Head of Department
Dept. of Computer Science and Engineering
8/3/2019 College Website Management (Java programming)
http://slidepdf.com/reader/full/college-website-management-java-programming 3/39
Cambridge Institute of Technoogy.
Tatisilwai, Ranchi – 835103
CERTIFICATE OF APPROVAL
The foregoing project entitled “CIT WEBSITE MANAGEMENT”
is hereby approved as a creditable work on the topic and has been
presented in satisfactory manner to warrant its acceptance as
prerequisite to the degree for which it has been submitted.
It is understood that by this approval, the undersigned do notnecessarily endorse any conclusion drawn or opinion expressed
therein, but approve the project for the purpose for which it is
submitted.
(Internal Examiner ) (External Examiner )
Head of Department
Dept. of Computer Science and Engineering
Cambridge Institute of Technoogy.
8/3/2019 College Website Management (Java programming)
http://slidepdf.com/reader/full/college-website-management-java-programming 4/39
Tatisilwai, Ranchi – 835103
8/3/2019 College Website Management (Java programming)
http://slidepdf.com/reader/full/college-website-management-java-programming 5/39
ACKNOWLEDGEMENTS
We extend our sincere thanks to Mr Arshad Usmani who continuously helped usthroughout the project and without his guidance, this project would have been an
uphill task.
We are pleased to acknowledge Mr Binod Kumar for his invaluable guidance during
the course of this project work.
We are also grateful to other members of the CIT team who co-operated with usregarding someissues.
We would also like to thank ‘Software Farm’ ( www.swfm.com ) for writing the veryuseful Mica Graphics Framework Toolkit for Java under the Open Source banner which greatly helped us in writingthe visualization part.
Last but not the least, Our friends who also co-operated with us nicely for thesmooth development of this project.
April 5, 2011
Anubhav, Ashutosh, Saurav, Ravi, Abhishek
8/3/2019 College Website Management (Java programming)
http://slidepdf.com/reader/full/college-website-management-java-programming 6/39
Contents
ACKNOWLEDGEMENTS...................................................................................................................................2
CONTENTS............................................................................................................................................................3
INTRODUCTION..................................................................................................................................................4
OVERVIEW.................................................................................................................................................................4
BACKGROUND AND
MOTIVATION..............................................................................................................................................................4
OBJECTIVES...............................................................................................................................................................5
METHODOLOGY..........................................................................................................................................................5
TOOL
DESCRIPTION......................................................................................................................................................6
USER I NTERFACE.......................................................................................................................................................6FEATURES..................................................................................................................................................................6
TOLLS USED...............................................................................................................................................................7
SPECIFICATION...........................................................................................................................................................8
CALLING THE DESIGN TOOLS....................................................................................................................................10
A NALYSIS................................................................................................................................................................11
VISUALIZATION........................................................................................................................................................12
SYNTHESIS...............................................................................................................................................................13
MODULARITY OF ANALYSIS AND
VISUALIZATION................................................................................................................................................14
OVERVIEW...............................................................................................................................................................14
IMPLEMENTATION.....................................................................................................................................................14
FUTURE SCOPE.................................................................................................................................................16
ADDITIONAL INFORMATION...................................................................................................................................................................16ECONOMIC SUPPORT.................................................................................................................................................................................17
MORE SOPHISTICATED ANALYSIS..........................................................................................................................................................17
CODING................................................................................................................................................................18
CIT FRAME 1.................................................................................................................................................................................................18
CIT FRAME 3.................................................................................................................................................................................................26
SCREENSHOTS..................................................................................................................................................33
REFERENCES.....................................................................................................................................................36
8/3/2019 College Website Management (Java programming)
http://slidepdf.com/reader/full/college-website-management-java-programming 7/39
Introduction
Overview
This report discusses the result of the work done in development of “ CambridgeInstitute of Technology Management" on Java Platform. It is a part of the CIT Web( A Part of college management) project going in Computer Science Department,CIT Ranchi and aims at the development of an application framework for providing acommon platform for facilitating the use of methodological approach developed bythe CIT Web team and integration of various tools developed during the execution of the project.
Background and Motivation
Web Technology can be found in a large variety of applications today like sitedevelopment, networking and wireless communication. They essentially comprise of a server and some other platform built around it. The software is used for achievingfast turn around times while the pictorial representation is used to ease the user interface. Till now, the design of CIT Web was largely carried out in an ad-hocmanner. With dramatically decreasing net costs, it is now possible to easily acceccall the informations on a single platform. With over 1000s of users expected bythe turn of the decade, the expected complexity of such systems will require a
rigorous design methodology with the development of supporting design tools. Thisis precisely the focus of AASRA project.
The AASRA project aims at the development of a design methodology for embeddedplatform for easy and useful applications. The idea is that given a systemspecification, by following the methodology and with the help of the tools developedto support it, the user will be able to synthesize a system that meets his constraints.A tool was required to integrate all the design tools discussed above along with thecapability to perform the same functions manually. Analysis and Visualization of thetarget platform was also required to know its performance. This project deals with thedevelopment of such a tool which will assist in the implementation of the abovemethodology.
8/3/2019 College Website Management (Java programming)
http://slidepdf.com/reader/full/college-website-management-java-programming 8/39
Objectives
The final goal of the project was twofold.1. An Integrated Framework was required for interaction with the various users (like
Student/Teacher Staffs, Parents, Professionals etc.) with the platform specificationbeing done in the application itself.2. Based on the final platform configuration and bindings, an Analysis andVisualization framework was required for getting performance metrics of the websiteand for visualization of the analysis results and the target platform.Along with above main goals , capability to design the target platform manually wasalso desired.
Methodology
To implement the above goals , the following methodology needs to be followed :1. Specifying the Application and various components of the Architecture.2. Specifying the bindings between the tasks and the resources either manually or bythe design tools.3. Specifying the different interconnections between the various department.
4. Analysis : Extracting the data required for analysis and the doing the analysis.5. Synthesis using the synthesis tools developed by the AASRA team.
8/3/2019 College Website Management (Java programming)
http://slidepdf.com/reader/full/college-website-management-java-programming 9/39
Tool Description
User Interface
The tool is very user friendly and intuitive and uses a GUI interface implemented inJAVA to communicate wih the user. Various features are self – explanatory.Forms are easy to fill in and components can be added , removed and updated veryeasily through a single dialog box. The application includes tool-tip hints to give abrief description of the particular input field.List boxes are used to display all the components at once so that user can see allthe components of a particular type at once. One can just select the component and
modify and remove the component.
Features
1.Intuitive interface2. Clean separation of various components to facilitate easy modification and
revision.3. All the configuration data is maintained in a separate file to facilitate easymodification If the tool needs to be upgraded to include more features, for instance if it is desired to include more elaborate specification of INFOs then the separation of the data file containing all the data of the specification will prove to be extremelyuseful. Also maintaining a separate file for the purpose helps in centralisation of thedata for easy understanding of the source code and the implementationmethodology.4. Analysis Component is kept modular to facilitate multiple analysis models.Analysis models may need upgradation from time to time depending upon thevarying nature of the systems the tool may be used for. To facilitate easy
upgradation of analysis model great care has been undertaken- All the data required for analysis is kept in a separate file.
8/3/2019 College Website Management (Java programming)
http://slidepdf.com/reader/full/college-website-management-java-programming 10/39
- The data is collected by a 'data collator' which collects data from the various datasources (application specification, target platform specification, e-mail specifications,user etc.). As the data is generated by the other tools and stored in the data collator,only this data collator needs to bechanged without disturbing the rest of the analysis.
- The 'analyzer' i.e. the actual analysis model is clearly separated from the other analysis mcomponents (like the data collator, the visualizer etc.). So moresophisticated analysis models only needs the modification of the ‘analyzer’ withoutbeing concerned with the rest of the analysis.- Visualization of the analysis result is also made modular. The 'visualizer' reads theanalysis result kept in a separate file and generate the desired visualizations of theseresults (currently it generates pie charts).5. Quick and easy saving and loading of System configuration.Since the specification of the Application and the Target Platform can be veryintricate, a option for saving the current configuration is a very much desired. All theconfiguration data (including the binding'and the interconnection information) could be easily stored in different files. So onecan work on multiple configurations simultaneously. In fact, it is made as convenientas saving, loading and editing a text file from a standard text-editor.6. Option of seemingly 3D interfaces for viewing analysis results.7. Visualizer features preset layout and draggable components to provide flexibility tothe user for choosing between different layouts or designing his own.8. Includes an internal Source code Editor for easy viewing and editing of application( JAVA files), info description etc. from within the tool.9. All the Data Structures for storing configuration data is maintained in a separatefile to facilitate easy modification.
TOOLS USED
The various tools used in support of the whole website:1. Jdk 1.52. Oracle 10G3. VSO Image Resizer 4. Adobe Photoshop5. Nitro pdf
8/3/2019 College Website Management (Java programming)
http://slidepdf.com/reader/full/college-website-management-java-programming 11/39
8/3/2019 College Website Management (Java programming)
http://slidepdf.com/reader/full/college-website-management-java-programming 12/39
2. Architecture Components Specification
eButtonseCheckboxeseTextfieldseLabelseRadioButtonseTextarea
See the Component Specification table for the parameters required for eachcomponent.
3. Binding Specification
Here, the bindings between the various tasks and resources are specified manually.The interface is intuitive to facilitate manual binding. The two list boxes on the leftdisplay the tasks and resources respectively. To bind a task, select a task andcorresponding resource from the list boxes and clickBind. The bound pairs are shown in the list box on the right. After pressing Bind , thechannel – port binding Dialog pops up to specify the bindings between the variouschannels of the task and the ports of the resource.From the above dialog, provision is also there to directly estimate the performance of the task on the chosen resource. Tool automatically calls the Software or HardwareEstimator depending on the chosen resource.After specifying a binding , one can re-edit the channel – port bindings or delete thebinding.
8/3/2019 College Website Management (Java programming)
http://slidepdf.com/reader/full/college-website-management-java-programming 13/39
4. Interconnection Specification
The interconnections between the various resources can be specified here.The interface and procedure to connect two resources is similar to Binding discussedpreviously.Whenever the user clicks on a resource in one of the resource lists, informationregarding its total and remaining number of ports is also displayed at the bottom.
Calling the Design tools
After specifying the various components one can also use the tools to automate thetask of binding etc.
The tools currently supported are:ij
Note : Currently , the actual tools are not called since some tools are not ready.However the tool calling interface ad paramter passing was tested with the help of adummy tool which was written in dot net.
8/3/2019 College Website Management (Java programming)
http://slidepdf.com/reader/full/college-website-management-java-programming 14/39
Analysis
Before doing the Analysis, the following steps are to be followed.1. Extract DataBefore proceeding with the analysis, the data needed by the Analyzer must beextracted from the various sources as required. The exact procedure of extractingthe data is specified in the FillData() function in the Class CAnalysis_Data. One onlyneeds to modify this function and recompile this file to change the data extractionprocess. After clicking this option, if the data is extracted successfully, the tool isready for analysis.Note: Some data may also come directly from the user. To facilitate this, the conceptof User TemplateFile is introduced. See Appendix B for more details.
8/3/2019 College Website Management (Java programming)
http://slidepdf.com/reader/full/college-website-management-java-programming 15/39
Visualization
In Platform Visualization, two types of Visualization schemes are supported :
1. Platform Visualization
As shown above, all the components along with their interconnections are displayed.The various components are colour coded according to their type for easyidentification. The Visualizer also supports the following options:
.Preset layouts are included like Star Layout, Ring Layout, which arrange thecomponents according to fixed style..The components displayed above are can be dragged with the mouse to provideflexibility to the user to choose a custom layout.2. Binding Visualization
8/3/2019 College Website Management (Java programming)
http://slidepdf.com/reader/full/college-website-management-java-programming 16/39
In the binding visualization, the tasks bound to resources are also shown along withthe platform. The tasks are shown as dark green circles, which are connected to theappropriate resource. Tasks, which are not currently bound, are also shown.
Synthesis
The synthesis tools currently supported are:.Hardware ( VHDL ).Software ( RC ).Interface.Kernel.ASIP
Currently the above tools are not called. Dummy functions ( Event handlers for above options ) are included where one just has to fill in the code for calling theabove tools appropriately.
8/3/2019 College Website Management (Java programming)
http://slidepdf.com/reader/full/college-website-management-java-programming 17/39
Modularity of Analysis andVisualization
The main highlight of the analysis and visualization part is that it is modular for easymodification and upgradation to more advanced analytic models.
Overview
¬ ®¯°±²±
The Analysis part consists of two components :1. Data Collator 2. Analyzer The responsibility of the Data Collator is to collect all the data required for analysisfrom various sources and fill the data in the data structures required by the analyzer.The analysis part is not concerned with the source of the data and just produces theresults.³²±´®¯²µ®¶²·
The output coming from the Analyzer is used by the Visualizer to display the resultsgraphically.
Implementation
The Data Collator and the data structures required by the analyzer are present in the
Class CAnalysis_Data.Chapter ¸¹¹
8/3/2019 College Website Management (Java programming)
http://slidepdf.com/reader/full/college-website-management-java-programming 18/39
The FillData() function present in the above class fills all the data structures fromvarious sources.The analysis is done in the Class CAnalysis.For each analysis , separate functions are present. Each of these functions can bechanged independently to implement a different analysis model. The functions
assume that the data structures required for the analysis have already been filled upthe Data collator.Currently the functions present are :public void MemorySpaceUtilization(String memname);public void MemoryBandwidthUtilization(String memname);public void ProcessorUtilization(String processorname);public void BusBandwidthUtilization(String busname);Each of these functions changes the Global.graphdata data structure which is usedby the Visualizer to display the results.
8/3/2019 College Website Management (Java programming)
http://slidepdf.com/reader/full/college-website-management-java-programming 19/39
Future Scope
Right now the application runs only on the platform Java Applets.The crisis of web
space as also limited its use to be only run on individual computers rather then to beaccessed all over the internet .
All these things would come true with the availablility of some register spaces on theinternet .This would take just a leap forwad for the Gigantic affects to be reflected onthe web page.The use of Java tools would also take its security level to a better sidecompared to the DotNet frame works,Visual Basic Interfaces or the limiting factors of DHTML.
Additional Informations
Though all the pains have been taken to gather as much information as possible viadifferent legal site and authentic sources.
The horizon would have greater dimension and user interfaces to satisfy the onlineusers.The time limiting factor had also been an stumbling block and a hinderance inorder to accumulate all the required messages being scripted on the front and backends.With the passage of time these constraints would be eliminated. Doing away
these road blocks would make the application –full fledged
8/3/2019 College Website Management (Java programming)
http://slidepdf.com/reader/full/college-website-management-java-programming 20/39
8/3/2019 College Website Management (Java programming)
http://slidepdf.com/reader/full/college-website-management-java-programming 21/39
CODING
CIT Frame1
import java.awt.event.*;import java.awt.*;import javax.swing.*;
public class CitFrame1 implements ActionListener{JLabel
l1,l2,l3,l4,l5,l6,l7,l8,l9,l10,l11,l13,l14,l15,l16,l17,l18,l19,l20,l21,l
22,l23,l24,l25,l26,l27,l28,l29,l30,l31,l32,l33;TextField t1,t2;JButton b1,b2,b3;JFrame frame;JPanel p;MenuBar menubar;Menu abt,dept,admin,place,career,faculty,contact;MenuItem VisionandMission, QualityPolicy,
ManagementProfile, Location, Engineering,
ManagementStudies, Advertisement, CoursesOffered, TutionFee, Introduction, OurRecruiters, ContactUs, JobOpenings, Profile, Contact;
public CitFrame1(){frame=new JFrame("CIT");p=new JPanel();l1=new JLabel(new ImageIcon("citm1.jpg"));l2=new JLabel("WELCOME TO CAMBRIDGE INSTITUTE OF
TECHNOLOGY");
8/3/2019 College Website Management (Java programming)
http://slidepdf.com/reader/full/college-website-management-java-programming 22/39
l3=new JLabel("Username");l4=new JLabel("Password");l5=new JLabel(new ImageIcon("faculty.jpg"));l6=new JLabel("About the Institute");
l7=new JLabel("Admin/Faculty Login");l8=new JLabel("Latest News");l9=new JLabel("End Semester Examination datesheet
published.. >>read more");l10=new JLabel("Sample question papers published.. >>read
more");l11=new JLabel("Extra classes for 2k7 batch.. >>read
more");l13=new JLabel("CLICK HERE for Student Login");
l14=new JLabel("©2011 Cambridge Institute of Technology.All Rights Reserved. Best Viewed on 1024x768. Validated byW3C.");
l15=new JLabel("Powered by: AASRA group");l16=new JLabel("Industry Tieup");l17=new JLabel(new ImageIcon("cisco.jpg"));l18=new JLabel(new ImageIcon("ibm.jpg"));l19=new JLabel(new ImageIcon("cypress.jpg"));l21=new JLabel(">>more");
l22=new JLabel(new ImageIcon("new.gif"));l23=new JLabel(new ImageIcon("new.gif"));l24=new JLabel("If you are the person with the will to win,
desire to succeed, the urge to reach");l25=new JLabel("your potential, Step in, Dream, Discover
and Explore !");l26=new JLabel("Cambridge Institute of Technology is
synonymous with academic excellence.");l27=new JLabel("Affiliated to Ranchi University and approved
by AICTE, the college offers quality");l28=new JLabel("education and technical competencies
along with a strong foundation of values");l29=new JLabel("ideals and rich culture to the students
across the country and beyond.Located");l30=new JLabel("an arcadian environment, the college is
equipped with world class infrastructure");l31=new JLabel("and highly qualified and experienced faculty
members.An active Placement");l32=new JLabel("Training and Welfare Cell is functioning with
full enthusiasm with the aim of");
8/3/2019 College Website Management (Java programming)
http://slidepdf.com/reader/full/college-website-management-java-programming 23/39
8/3/2019 College Website Management (Java programming)
http://slidepdf.com/reader/full/college-website-management-java-programming 24/39
place.add(ContactUs);career=new Menu("Career ");career.add(JobOpenings);faculty=new Menu("Faculty ");
faculty.add(Profile);contact=new Menu("Contact Us");contact.add(Contact);menubar.add(abt);menubar.add(dept);menubar.add(admin);menubar.add(place);menubar.add(career);menubar.add(faculty);
menubar.add(contact);
VisionandMission.addActionListener(this);QualityPolicy.addActionListener(this);ManagementProfile.addActionListener(this);Location.addActionListener(this);Engineering.addActionListener(this);ManagementStudies.addActionListener(this);Advertisement.addActionListener(this);
CoursesOffered.addActionListener(this);TutionFee.addActionListener(this);Introduction.addActionListener(this);OurRecruiters.addActionListener(this);ContactUs.addActionListener(this);JobOpenings.addActionListener(this);Profile.addActionListener(this);Contact.addActionListener(this);
frame.setMenuBar(menubar);
l3.setForeground(Color.blue);l4.setForeground(Color.blue);l2.setForeground(Color.red);l8.setForeground(Color.blue);l16.setForeground(Color.red);
p.add(l1);p.add(l2);p.add(l6);
8/3/2019 College Website Management (Java programming)
http://slidepdf.com/reader/full/college-website-management-java-programming 25/39
p.add(l24);p.add(l25);p.add(l26);p.add(l27);
p.add(l28);p.add(l29);p.add(l30);p.add(l31);p.add(l32);p.add(l33);p.add(l5);p.add(l7);p.add(l8);
p.add(l9);p.add(l22);p.add(l10);p.add(l23);p.add(l11);p.add(l16);p.add(l17);p.add(l18);p.add(l19);
p.add(l21);p.add(l3);p.add(t1);p.add(l4);p.add(t2);p.add(b1);p.add(b2);p.add(l13);p.add(b3);p.add(l14);p.add(l15);
b1.addActionListener(this);b2.addActionListener(this);b3.addActionListener(this);
t2.setEchoChar('*');
p.setLayout(null);l1.setBounds(0,0,1280,84);
8/3/2019 College Website Management (Java programming)
http://slidepdf.com/reader/full/college-website-management-java-programming 26/39
l2.setBounds(450,83,320,50);l6.setBounds(340,140,160,60);l24.setBounds(360,170,450,40);l25.setBounds(360,185,450,40);
l26.setBounds(360,210,450,40);l27.setBounds(360,225,450,40);l28.setBounds(360,240,450,40);l29.setBounds(360,255,450,40);l30.setBounds(360,270,450,40);l31.setBounds(360,285,450,40);l32.setBounds(360,300,450,40);l33.setBounds(360,315,450,40);l5.setBounds(0,455,1280,220);
l7.setBounds(50,140,150,50);l8.setBounds(1000,140,150,50);l22.setBounds(910,190,23,33);l9.setBounds(940,180,300,50);l23.setBounds(910,230,23,33);l10.setBounds(940,220,300,50);l11.setBounds(940,260,300,50);l16.setBounds(970,330,140,50);l17.setBounds(955,370,60,63);
l18.setBounds(1030,370,60,63);l19.setBounds(1105,370,60,63);l21.setBounds(1105,425,60,25);l3.setBounds(30,180,100,50);t1.setBounds(140,190,130,25);l4.setBounds(30,220,100,50);t2.setBounds(140,230,130,25);b1.setBounds(30,270,70,25);b2.setBounds(120,270,70,25);l13.setBounds(30,310,250,50);b3.setBounds(50,360,150,25);l14.setBounds(250,670,900,25);l15.setBounds(1100,700,150,25);
frame.add(p);frame.setVisible(true);frame.setSize(1280,960);frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
}
8/3/2019 College Website Management (Java programming)
http://slidepdf.com/reader/full/college-website-management-java-programming 27/39
public void actionPerformed(ActionEvent ae){Object obj=ae.getSource();
if(obj==b1){new CitFrame2("Cit2");frame.setVisible(false);}
if(obj==b2){t1.setText("");t2.setText("");
}if(obj==b3){new CitFrame3("Cit3");frame.setVisible(false);}
if(obj==VisionandMission){new Vision();
frame.setVisible(false);}if(obj==QualityPolicy){new Quality();frame.setVisible(false);}
if(obj==ManagementProfile){new Management();frame.setVisible(false);}
if(obj==Engineering){new Engineering();frame.setVisible(false);}
if(obj==ManagementStudies){new MS();
8/3/2019 College Website Management (Java programming)
http://slidepdf.com/reader/full/college-website-management-java-programming 28/39
frame.setVisible(false);}
if(obj==Advertisement){
new Adv();frame.setVisible(false);}
if(obj==Introduction){new Introduction();frame.setVisible(false);}
if(obj==OurRecruiters)
{new Recuiters();frame.setVisible(false);}
if(obj==JobOpenings){new Jobs();frame.setVisible(false);}
}
public static void main(String args[]){new CitFrame1();
}}
CIT Frame3
8/3/2019 College Website Management (Java programming)
http://slidepdf.com/reader/full/college-website-management-java-programming 29/39
import javax.swing.*;import java.awt.*;import java.awt.event.*;
public class CitFrame3 extends JFrame implementsActionListener{
JFrame frame;JPanel p;JLabel l,l1,l2,l3,l4,l5,l6,l7,l8,l9,l10,l11,l12;TextField t1,t2,t3,t4,t5,t6,t7;Choice dd,mm,yyyy;Checkbox ch1,ch2,ch3;
JButton b1,b2,b3,b4;
public CitFrame3(String name){frame=new JFrame("CitFrame3");
p=new JPanel();
l=new JLabel("Create an Account");l1=new JLabel("First Name");l2=new JLabel("Last Name");l3=new JLabel("Login Name");l4=new JLabel("@cit.nic.in");l5=new JLabel("Password");l6=new JLabel("Re-Password");l7=new JLabel("D.O.B");l8=new JLabel("Gender");l9=new JLabel("Existing User ?");l10=new JLabel("Login Name");l11=new JLabel("Password");l12=new JLabel(new ImageIcon("citm2.jpg"));
t1=new TextField(10);t2=new TextField(10);t3=new TextField(10);t4=new TextField(10);t5=new TextField(10);t6=new TextField(10);
8/3/2019 College Website Management (Java programming)
http://slidepdf.com/reader/full/college-website-management-java-programming 30/39
t7=new TextField(10);
dd=new Choice();dd.add("dd");
dd.add("01");dd.add("02");dd.add("03");dd.add("04");dd.add("05");dd.add("06");dd.add("07");dd.add("08");dd.add("09");
dd.add("10");dd.add("11");dd.add("12");dd.add("13");dd.add("14");dd.add("15");dd.add("16");dd.add("17");dd.add("18");
dd.add("19");dd.add("20");dd.add("21");dd.add("22");dd.add("23");dd.add("24");dd.add("25");dd.add("26");dd.add("27");dd.add("28");dd.add("29");dd.add("30");dd.add("31");
mm=new Choice();mm.add("mm");mm.add("Jan");mm.add("Feb");mm.add("Mar");
8/3/2019 College Website Management (Java programming)
http://slidepdf.com/reader/full/college-website-management-java-programming 31/39
mm.add("Apr");mm.add("May");mm.add("June");mm.add("July");
mm.add("Aug");mm.add("Sept");mm.add("Oct");mm.add("Nov");mm.add("Dec");
yyyy=new Choice();yyyy.add("yyyy");
yyyy.add("1960");yyyy.add("1961");yyyy.add("1962");yyyy.add("1963");yyyy.add("1964");yyyy.add("1965");yyyy.add("1966");yyyy.add("1967");yyyy.add("1968");
yyyy.add("1969");yyyy.add("1970");yyyy.add("1971");yyyy.add("1972");yyyy.add("1973");yyyy.add("1974");yyyy.add("1975");yyyy.add("1976");yyyy.add("1977");yyyy.add("1978");yyyy.add("1979");yyyy.add("1980");yyyy.add("1981");yyyy.add("1982");yyyy.add("1983");yyyy.add("1984");yyyy.add("1985");yyyy.add("1986");yyyy.add("1987");yyyy.add("1988");
8/3/2019 College Website Management (Java programming)
http://slidepdf.com/reader/full/college-website-management-java-programming 32/39
yyyy.add("1989");yyyy.add("1990");yyyy.add("1991");yyyy.add("1992");
yyyy.add("1993");yyyy.add("1994");yyyy.add("1995");yyyy.add("1996");yyyy.add("1997");yyyy.add("1998");yyyy.add("1999");yyyy.add("2000");
ch1=new Checkbox("Male");ch2=new Checkbox("Female");ch3=new Checkbox("I accept Terms and Condition");
b1=new JButton("SignUp");b2=new JButton("Back");b3=new JButton("Login");b4=new JButton("Back");
p.add(l);p.add(l1);p.add(l2);p.add(l3);p.add(l4);p.add(l5);p.add(l6);p.add(l7);p.add(l8);p.add(l9);p.add(l10);p.add(l11);p.add(l12);
p.add(t1);p.add(t2);p.add(t3);p.add(t4);p.add(t5);p.add(t6);
8/3/2019 College Website Management (Java programming)
http://slidepdf.com/reader/full/college-website-management-java-programming 33/39
8/3/2019 College Website Management (Java programming)
http://slidepdf.com/reader/full/college-website-management-java-programming 34/39
8/3/2019 College Website Management (Java programming)
http://slidepdf.com/reader/full/college-website-management-java-programming 35/39
SCREENSHOTS
8/3/2019 College Website Management (Java programming)
http://slidepdf.com/reader/full/college-website-management-java-programming 36/39
8/3/2019 College Website Management (Java programming)
http://slidepdf.com/reader/full/college-website-management-java-programming 37/39
8/3/2019 College Website Management (Java programming)
http://slidepdf.com/reader/full/college-website-management-java-programming 38/39
References
8/3/2019 College Website Management (Java programming)
http://slidepdf.com/reader/full/college-website-management-java-programming 39/39
- Official CIT site (www.cit.nic.in)
- IEEE
- Programming with java by E. Balagurusamy
- The Complete Reference Java 2 by Herbert Schildt
- www.google.com