Ajp Ob
Ajp Ob
Project Report
On
Ms.Kamble K.S
DEPARTMENT OF INFORMATIONTECHNOLOGY
certificate
This is to certify that the project “develop a program converter into INR to
Dollar” has been presented successfully and submitted by.
PLACE- KORTI,
PANDARPUR-
DATE-
Acknowledgement
I hereby declare that the work presented in this Mini project report entitled,
“develop a program converter into INR to Dollar” in partial fulfillment for the
Diploma of " INFORMATION TECHNOLOGY " in Our extreme gratitude
Ms.Kamble K.S who guided us throughout the project. Without his willing
disposition, spirit of accommodation, frankness, timely clarification and above all
faith in us, this project could not have been completed in due time.
They can view the result at the same time. Thus the purpose
of the site is to provide a system that saves the efforts
INDEX
1. Introduction 1
2. Program Code 2
3. Output 3
6. Conclusion 8
7. Reference 12
1.Introduction
packagecom.AJP;
importjavax.swing.*;
importjava.awt.event.ActionEvent;
importjava.awt.event.ActionListener;
importjava.awt.event.WindowAdapter;
importjava.awt.event.WindowEvent;
public class CFG{
public static voidConverter()
{
JFrame f=newJFrame("CONVERTER");
JLabel l1,l2;
JTextField t1,t2;
JButton b1,b2,b3;
l1 =newJLabel("Rupees"); l1.setBounds(20,40,60,30);
l2 =newJLabel("Dollars"); l2.setBounds(170,40,60,30);
t1 =newJTextField("0");
t1.setBounds(80,40,50,30);
t2 =newJTextField("0");
t2.setBounds(240,40,50,30);
b1 =newJButton("INR");
b1.setBounds(50,80,80,15);
b2 =newJButton("Dollar");
b2.setBounds(190,80,75,15);
b3 =newJButton("close");
b3.setBounds(130,130,75,30);
b1.addActionListener(newActionListener()
{
public voidactionPerformed(ActionEvent e)
{
doubled =Double.parseDouble(t1.getText());
doubled1 = (d /75.13);
String str1 = String.valueOf(d1);
t2.setText(str1); } });
b2.addActionListener(newActionListener()
{
public voidactionPerformed(ActionEvent e)
{
doubled2 = Double.parseDouble(t2.getText());
doubled3 = (d2 *75.13);
String str2 = String.
valueOf(d3); t1.setText(str2); } });
b3.addActionListener(newActionListener()
{
public voidactionPerformed(ActionEvent e)
{
f.dispose(); } });
f.addWindowListener(newWindowAdapter()
{
public voidwindowClosing(WindowEvent e)
{
System.exit(0); }
});
f.add(l1);
f.add(t1);
f.add(l2);
f.add(t2);
f.add(b1);
f.add(b2);
f.add(b3);
f.setLayout(null);
f.setSize(400,300);
f.setVisible(true);
}
public static voidmain(String args[]) {
Converter();
}
3.Output:
4.Conclusion
The project involves a good knowledge of javaprogramming language. The
developer will be able toimplement it easily as it doesn’t require any database and
thesourse code is also available for free. This project is veryaffordable and useful
for the people who are inbusiness,shares or finance. As it is a web-based
program,itwill update automatically.
5.References
www.google.com
www.java.toturial.com
www.javatpoint.com