18
MLR INSTITUTE OF TECHNOLOGY DEPARTMENT COMPUTER SCIENCE AND ENGINEERING II B.TECH II-SEM MICRO PROJECT FACULTY PROFILE SYSTEM

Faculty

Embed Size (px)

DESCRIPTION

Micro Project

Citation preview

  • MLR INSTITUTE OF TECHNOLOGY DEPARTMENT COMPUTER SCIENCE AND ENGINEERINGII B.TECH II-SEM MICRO PROJECTFACULTY PROFILE SYSTEM

  • The primary objective of the project is to facilitate students to develop a GUI application to develop Faculty Profile System. As part of this project students will use swing controls to develop GUI application. By using this micro project students can create a GUI application where by selecting the faculty name the details of the particular faculty (like faculty photographs, qualification, designation, publications, awards, and service activities) can be retrieved automatically.

    Objective of the Project

  • Java is a set of several computer software and specifications developed by Sun Microsystems, that provides a system for developing application software and deploying it in a cross-platform computing environment. Java is used in a wide variety of computing platforms from embedded devices and mobile phones to enterprise servers and supercomputers. While less common, Java applets run in secure, sandboxed environments to provide many features of native applications and can be embedded in HTML pages.Faculty Profile System project uses, Event Handling, Swings and Applets. This is taught as part of Unit V. By doing Faculty Profile System Project student will get an opportunity of using all these technologies together and construct a GUI application. This project also helps students understand the concepts of Event Handling, Swings and Applets which helps them in their end examinations and in the industry.

    Relevance to the subject

  • Problem ExplanationGenerally to know the profile of any faculty it is done manually. This micro project creates a GUI application where by selecting the faculty name the details of the particular faculty can be retrieved automatically.

  • Architecture

  • Design

  • Developing Front end using Java SwingsWrite a java logic to take ComboBox with Faculty ListWhenever an item change its state write a logic to change the TextField data to display the details related to selected item.

    Implementation Procedure

  • Application Codepackage faculty;import java.awt.*;import java.awt.event.*;import javax.swing.*;/*

    */

    public class Faculty extends JApplet implements ItemListener {JLabel jl,j2;JTextArea tj,t2;JScrollPane js;JTextField t1; public JLabel j1; private Object contentPane;public void init(){// Get content paneContainer contentPane = getContentPane();contentPane.setLayout(new FlowLayout());setSize(600,700);JComboBox jc = new JComboBox();jc.setBackground(Color.CYAN);jc.setForeground(Color.black);jc.addItem("archana");jc.addItem("soumya");jc.addItemListener(this);

  • Application code// Create labelj2 = new JLabel(new ImageIcon("mlr.jpg"));jl = new JLabel(new ImageIcon("archana.jpg"));j1= new JLabel(new ImageIcon("soumya.jpg"));j1=new JLabel(new ImageIcon("vani.jpg"));j1=new JLabel(new ImageIcon("Gouse.jpg"));j1=new JLabel(new ImageIcon("chugh.jpg"));j1=new JLabel(new ImageIcon("KiranKumar.jpg"));j1=new JLabel(new ImageIcon("amarender.jpg"));

    int v = ScrollPaneConstants.VERTICAL_SCROLLBAR_AS_NEEDED;int h = ScrollPaneConstants.HORIZONTAL_SCROLLBAR_AS_NEEDED;t2 = new JTextArea(1,1);t2.setFont(new Font("Verdana", Font.BOLD+Font.ITALIC, 50));t2.setText("FACULTY PROFILE SYSTEM");t2.setForeground(Color.green);t2.setBackground(Color.LIGHT_GRAY);contentPane.setBackground(Color.GRAY);tj = new JTextArea(9,20);tj.setFont(new Font("serif", Font.ITALIC+Font.BOLD, 16));tj.setForeground(Color.black);tj.setBackground(Color.cyan);js = new JScrollPane(tj,v,h);

  • Application codecontentPane.add(j2);contentPane.add(t2);contentPane.add(jc);contentPane.add(jl);contentPane.add(js);

    }@Overridepublic void itemStateChanged(ItemEvent ie) {String s = (String)ie.getItem();jl.setIcon(new ImageIcon(s+".jpg"));

    //Object s1=ie.getSource(); switch (s) { case "archana": tj.setText("Name:Mrs.Archana"+"\n"+"Qualification:Mtech"+"\n"+"Designation:Asst.Professor"+"\n"+"Experience:7years"+"\n"+"Department:CSE"); break; case "vani": tj.setText("Name:Mrs.Vani"+"\n"+"Qualification:Btech,Mtech(Ph.D)"+"\n"+"Designation:Asst.Professor"+"\n"+"Experience:9years"+"\n"+"Department:CSE");break;

  • Output

  • Output

  • Output

  • ApplicationsThe subject is applied in development of GUI applicationsThe technologies of this subject are useful to develop GUI and web applications.The micro project enables students to develop GUI and Web applications.

  • References

    Java Fundamentals A comprehensive Introduction, Herbert Schildt and Dale Skrien, TMH.Java for Programmers, P.J. Deitel and H.M. Deitel, Pearson education (OR) Java: How to Program P.J.Deitel and H.M. Deitel, PHI.Object Oriented Programming through Java, P. Radha Krishna, Universities Press.Thinking in Java, Bruce Eckel, Peason EducationProgramming in Java, S. Malhotra and S. Choudary, Oxford Univ. Press.

  • Team Members Details:

    Hall ticket NumberNameDepartmentYear13R21A05B5Ch.Vishnu Sai ReddyComputer Science and Engineering 2nd Cse13R21A05C6Gss.KireetiComputer Science and Engineering 2nd Cse13R21A05C9IJ.Sai RamComputer Science and Engineering 2nd Cse

  • Guided by :B. Madhuravani

  • THANK YOU