Main objective of this project is to
implement an application which deals with court case Management  systems like pending cases or disposed cases.
Initially, all the information about Customers  
will be entered and maintained, which in turn helps to generate case
number ,
Title (petitioner & respondent
name),advocate name ,court details. This system will reduce Manual  work for maintaining records in files. This
system provides effective mechanism to Manage  
court case management system for admin by recording each and every
activity. The court   case management
system(CCMS) is primarily engrossed on managing case Registration, court  types, courts ,counsel fees ,case positions
,damages ,documents, payment, upload scanning documents .
 INTRODUCTION
1.1What is
the court case management system?
Court case management system is
nothing but which deals with all types of cases, clients, judges and judgments
and other related details too.
It  tracks 
all  the  details 
of  a  clients 
from  starting  to 
ending  of  the 
case  which  is 
used  for reporting purpose,
knowing of judgment‟s, which judge is dealing the case, how the case is going
and finally who wins the case.
1.2 Problem
definition?
The  court 
case  management  system 
is  meant  for 
maintaining  the  court 
record,  cases,  and client‟s very carefully. The system
should maintain the details of various clients. The judges can open the court
record whenever he/she wants to see about client‟s information.
1.3 Platform
requirements:
Hardware/    Hardware / Software element                                           Specification
/version
Software
Hardware     Processor                                                                         
Intel core to duo
RAM                                                                                
1 GB Hard Disk                                                                         
100 GB
Software      OS                                                            
                        Windows 8
Java and Net beans 8.0.2 IDE
1.4 Software Requirements Specification:
1    Check the weather of client name is valid
or invalid?
2    Admin should manage the details of cases.
3    Admin should manage the details of clients.
4   It must be checked only by the admin
Functional requirements:
      In this project court case management system we have
used the concepts of files, method overloading, static variables and final
keyword. Along with these we include a menu, security and data validation. Menu
is used to choose what action should be done. Security is used to secure the
project. The data validation plays the main role in the project .the input
given by the user should be validate and show the result or output.
Files:
In Java, FileInputStream and FileOutputStream classes
are used to read and write data in file. In another words, they are used for
file handling in java. Java FileInputStream class obtains input  bytes 
from  a  file. 
It  is  used 
for  reading  streams 
of  raw  bytes 
such  as  image 
data.  For reading streams of
characters, consider using File Reader. It should be used to read byteoriented
data for example to read image, audio, video etc. Java FileOutputStream is an
output stream for writing data to a file. If you have to write primitive values
then use FileOutputStream. Instead, for 
character-oriented  data,  prefer 
File  Writer  .But 
you  can  write 
byte-oriented  as  well 
as character-oriented data.
2. ANALYSIS
& DESIGN
2.1 Analysis of class:
The
software requirements specifications are analysed and the following classes are
identified
1.   Class for court record
2.   Class for lawyer
3.   Class for judges
4.   Class for judgments
5.   A main class court
2.2     Program Architectural Design:
Various Modules of court case management system are shown below: Serial Number                      Name of the Module
1.                                         
Management of court record
2.                                         
Management of lawyers
3.                                         
Management of judges
4.                                         
Managements of judgment
       5.                                         
Integration
 2.3 Function Identification
- module
wise:
3. SOURCE CODE OF THE PROJECT
import java.io.*;
import java.util.*;
interface inf
{
void disp(String lawyer);
}
class B
{
void intro()
{
System.out.println("\n\n\t\t welcome to court case mangement ");
}
}
class A extends B implements inf
{
void disp(String lawyer)
{
System.out.println("\n\n\t\t enter the name of the lawyer:"+lawyer);
}
void murder()
{
try{
File fl=new File( "murder.txt");
if(!fl.exists())
{
fl.createNewFile();
}
BufferedWriter pw5=new BufferedWriter(new FileWriter("murder.txt",true));
int a;
String n,p;
Scanner s=new Scanner(System.in);
System.out.println("\n\n\t\t enter the name of the culprit:");
n=s.next();
System.out.println("\n\n\t\t enter the age of the culprit:");
a=s.nextInt();
System.out.println("\n\n\t\t enter the punishment given to the culprit:");
p=s.next();
pw5.write("\n\n\t\tname of the culprit is:"+n);
pw5.write("\n\n\t\ttage of the culprit is:"+a);
pw5.write("\n\n\t\ttthe punishment given to the culprit is:"+p);
pw5.close();
}catch(IOException e)
{
System.out.println(e.getMessage());
}
}
void kidnap()
{
try{
File fl=new File( "kidnap.txt");
if(!fl.exists())
{
fl.createNewFile();
}
BufferedWriter pw5=new BufferedWriter(new FileWriter("kidnap.txt",true));
int a;
String n,p;
Scanner s=new Scanner(System.in);
System.out.println("\n\n\t\t enter the name of the culprit:");
n=s.next();
System.out.println("\n\n\t\t enter the age of the culprit:");
a=s.nextInt();
System.out.println("\n\n\t\t enter the punishment given to the culprit:");
p=s.next();
pw5.write("\n\n\t\tname of the culprit is:"+n);
pw5.write("\n\n\t\ttage of the culprit is:"+a);
pw5.write("\n\n\t\ttthe punishment given to the culprit is:"+p);
pw5.close();
}catch(IOException e)
{
System.out.println(e.getMessage());
}
}
void atmr()
{
try{
File fl=new File( "atmr.txt");
if(!fl.exists())
{
fl.createNewFile();
}
BufferedWriter pw5=new BufferedWriter(new FileWriter("atmr.txt",true));
int a;
String n,p;
Scanner s=new Scanner(System.in);
System.out.println("\n\n\t\t enter the name of the culprit:");
n=s.next();
System.out.println("\n\n\t\t enter the age of the culprit:");
a=s.nextInt();
System.out.println("\n\n\t\t enter the punishment given to the culprit:");
p=s.next();
pw5.write("\n\n\t\tname of the culprit is:"+n);
pw5.write("\n\n\t\ttage of the culprit is:"+a);
pw5.write("\n\n\t\ttthe punishment given to the culprit is:"+p);
pw5.close();
}catch(IOException e)
{
System.out.println(e.getMessage());
}
}
void smuggling()
{
try{
File fl=new File( "smuggling.txt");
if(!fl.exists())
{
fl.createNewFile();
}
BufferedWriter pw5=new BufferedWriter(new FileWriter("smuggling.txt",true));
int a;
String n,p;
Scanner s=new Scanner(System.in);
System.out.println("\n\n\t\t enter the name of the culprit:");
n=s.next();
System.out.println("\n\n\t\t enter the age of the culprit:");
a=s.nextInt();
System.out.println("\n\n\t\t enter the punishment given to the culprit:");
p=s.next();
pw5.write("\n\n\t\tname of the culprit is:"+n);
pw5.write("\n\n\t\ttage of the culprit is:"+a);
pw5.write("\n\n\t\ttthe punishment given to the culprit is:"+p);
pw5.close();
}catch(IOException e)
{
System.out.println(e.getMessage());
}
}
void harrasement()
{
try{
File fl=new File( "harrasement.txt");
if(!fl.exists())
{
fl.createNewFile();
}
BufferedWriter pw5=new BufferedWriter(new
FileWriter("harrasement.txt",true));
int a;
String n,p;
Scanner s=new Scanner(System.in);
System.out.println("\n\n\t\t enter the name of the culprit:");
n=s.next();
System.out.println("\n\n\t\t enter the age of the culprit:");
a=s.nextInt();
System.out.println("\n\n\t\t enter the punishment given to the culprit:");
p=s.next();
pw5.write("\n\n\t\tname of the culprit is:"+n);
pw5.write("\n\n\t\ttage of the culprit is:"+a);
pw5.write("\n\n\t\ttthe punishment given to the culprit is:"+p);
pw5.close();
}catch(IOException e)
{
System.out.println(e.getMessage());
}
}
void dowry()
{
try{
File fl=new File( "dowry.txt");
if(!fl.exists())
{
fl.createNewFile();
}
BufferedWriter pw5=new BufferedWriter(new FileWriter("dowry.txt",true));
int a;
String n,p;
Scanner s=new Scanner(System.in);
System.out.println("\n\n\t\t enter the name of the culprit:");
n=s.next();
System.out.println("\n\n\t\t enter the age of the culprit:");
a=s.nextInt();
System.out.println("\n\n\t\t enter the punishment given to the culprit:");
p=s.next();
pw5.write("\n\n\t\tname of the culprit is:"+n);
pw5.write("\n\n\t\ttage of the culprit is:"+a);
pw5.write("\n\n\t\ttthe punishment given to the culprit is:"+p);
pw5.close();
}catch(IOException e)
{
System.out.println(e.getMessage());
}
}
void display()
{
int i;
System.out.print("\n\t 1.MURDER \n\t 2.KIDNAP \n\t 3.ATTEMPT MURDER\n\t 4.SMUGLING \n\t 5.HARRASEMENT \n\t 6.DOWRY");
}
}
public class Cou
{
public static void main(String args[])throws Exception
{
System.out.print("\n\n\t\t WELCOME TO COURT CASE MANAGEMENT SYSTEM");
String n,t;
int i;
Scanner s=new Scanner(System.in);
System.out.print("\n\n\t\t enter the name of the lawyer:");
n=s.next();
O.disp(n);
System.out.print("\n\n\t\t enter the type of the lawyer:");
t=s.next();
A O=new A();
O.display();
System.out.print("\n\n\t\t select the type of the case:");
i=s.nextInt();
O.intro();
switch(i)
{
case 1:O.murder();
 break;
case 2:O.kidnap();
 break;
case 3:O.atmr();
 break;
case 4:O.smuggling();
 break;
case 5:O.harrasement();
 break;
case 6:O.dowry();
 break;
}
}
}
5.Conclusion and Future Scope:
5.1 Conclusion:
The project is successfully completed
to the extent possible. The results of the project are shown earlier.
5.2 Future Scope:
Some  more 
functions  or  modules 
may  be  added 
to  project.  After 
studying  and  understanding Graphic User Interface (GUI) of
java, the inputs and outputs can be improved and implemented using GUI.



Comments
Post a Comment