This is a useful swing applet for institutions, who are willing to teach the chemical reactions of Benzene with the help of this editor applet…For any problem and suggestions mail me on my address..And images can be requested by sending mail on my address
/*@(#)Check.java 20/06/05
*
* Copyright 2005 Sunil Kumar Gupta All rights reserved.
* Super InfoSoft PROPRIETARY/CONFIDENTIAL. Use is subject to license
terms.
*/
/**
* This is to check the molecule combinations in
* application.
* @author Sunil Kumar Gupta
*/
public class Check{
static Result r=null;
public static String check(String tem){
switch(Integer.parseInt(tem)){
case 3:
int ans=JOptionPane.showConfirmDialog(null,”Single Atom”, “Single
Atom”, JOptionPane.YES_NO_OPTION);
if(ans==1){
int ansthr=JOptionPane.showConfirmDialog(null,”Three Atoms”,
“Single
Atom”, JOptionPane.YES_NO_OPTION);
if(ansthr==1)
return “.gif”;
else{
JOptionPane.showMessageDialog(null,”Presence of sunlight
and
absence of halogen”);
try{
r.setVisible(false);
}catch(Exception e){}
return “23”;
}
}
else{
JOptionPane.showMessageDialog(null,”<html>Presence of Anhyd.
AlCl<sub>3</sub>
and temprature between 310 to 320 K”);
try{
r.setVisible(false);
}catch(Exception e){}
return tem;
}
case 5:
JOptionPane.showMessageDialog(null,”<html>Presence of Anhyd.
FeBr<sub>3</sub>
and temprature between 310 to 320 K”);
try{
r.setVisible(false);
}catch(Exception e){}
return tem;
case 7:
return tem;
case 9:
JOptionPane.showMessageDialog(null,”<html>Presence of
SO<sub>3</sub>
and temprature 330 K”);
try{
r.setVisible(false);
}catch(Exception e){}
return tem;
case 11:
return tem;
case 13:
JOptionPane.showMessageDialog(null,”<html>Presence of
H<sub>2</sub>SO<sub>4</sub>
and temprature 330 K”);
try{
r.setVisible(false);
}catch(Exception e){}
return tem;
case 15:
JOptionPane.showMessageDialog(null,”<html>Presence of Anhydrous
and
AlCl<sub>3</sub>”);
try{
r.setVisible(false);
}catch(Exception e){}
return tem;
case 17:
JOptionPane.showMessageDialog(null,”<html>Presence of Anhydrous
and
AlCl<sub>3</sub>”);
try{
r.setVisible(false);
}catch(Exception e){}
return tem;
case 19:
JOptionPane.showMessageDialog(null,”<html>Presence of Anhydrous
and
AlCl<sub>3</sub>”);
try{
r.setVisible(false);
}catch(Exception e){}
return tem;
case 21:
JOptionPane.showMessageDialog(null,”3 Atoms of Hydrogen and
Presence
of Ni catalyst
and temprature between 473-573 K”);
try{
r.setVisible(false);
}catch(Exception e){}
return tem;
/*case 23:
JOptionPane.showMessageDialog(null,”Presence of sunlight
and
absence of halogen”);
try{
r.setVisible(false);
}catch(Exception e){}
return tem;*/
case 25:
JOptionPane.showMessageDialog(null,”3 Atoms of Ozone”);
return tem;
default:
return “.gif”;
}
}
}
/////////////////////////End OF Check.java///////////////////////////
/*
* @(#)FinalImageCanvas.java 20/06/05
*
* Copyright 2005 Sunil Kumar Gupta. All rights reserved.
* Super InfoSoft PROPRIETARY/CONFIDENTIAL. Use is subject to license
terms.
*/
import java.awt.*;
import java.awt.event.*;
import java.awt.image.*;
import javax.swing.*;
import java.net.*;
/**
* This is to show the result of adding two
* molecules.
* @author Sunil Kumar Gupta
*/
public class FinalImageCanvas extends JPanel implements
MouseListener,MouseMotionListener{
int x=0,y=0;
boolean dragFlag=false;
boolean presFlag=false;
Image image;
String name=””;
GUIDisplayApplet jp=null;
public FinalImageCanvas(String name,GUIDisplayApplet jp) {
this.name=name;
this.jp=jp;
MediaTracker media = new MediaTracker(this);
try{
image =Toolkit.getDefaultToolkit().getImage(new
URL(jp.url+name));
}catch(Exception e1){
//System.out.println(“Error========>”+e1+”—————–“+jp.url+name);
}
media.addImage(image, 0);
try {
media.waitForID(0);
} catch (Exception e) {}
addMouseListener(this);
addMouseMotionListener(this);
}
public FinalImageCanvas(){}
public FinalImageCanvas(ImageProducer imageProducer) {
image = createImage(imageProducer);
}
public void paintComponent(Graphics g) {
Graphics2D g2d=(Graphics2D)g;
super.paintComponent(g2d);
g2d.setColor(Color.red);
g2d.setFont(new Font(“Dialog”,Font.BOLD,15));
g2d.drawString(“Result”,10,15);
if(image!=null && dragFlag==false)
g2d.drawImage(image, 85,5, this);
else if(image!=null && dragFlag==true){
g2d.drawImage(image, x,y, this);
dragFlag=false;
}
if(presFlag==true){
g2d.drawString(“© Super InfoSoft”,x,y);
presFlag=false;
}
}
public void setImage(String name){
System.out.println(“Name===>”+name);
try{
image = Toolkit.getDefaultToolkit().getImage(new
URL(jp.url+name));
}catch(Exception e){}
repaint();
}
public void update(Graphics g){
paint(g);
}
public void mousePressed(MouseEvent evt){
presFlag=true;
x=evt.getX();
y=evt.getY();
repaint();
}
public void mouseEntered(MouseEvent evt){
}
public void mouseExited(MouseEvent evt){}
public void mouseClicked(MouseEvent evt){
}
public void mouseReleased(MouseEvent evt){
repaint();
}
public void mouseDragged(MouseEvent evt){
dragFlag=true;
x=evt.getX()-10;
y=evt.getY()-15;
repaint();
}
public void mouseMoved(MouseEvent evt){}
}
////////////////End of FinalImageCanvas.java//////////////////////////
/*
* @(#)GUI.java 20/06/05
*
* Copyright 2005 Sunil Kumar Gupta. All rights reserved.
* Super InfoSoft PROPRIETARY/CONFIDENTIAL. Use is subject to license
terms.
*/
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
import java.util.*;
/**
* This is the Main frame to show the GUI of this
* application.
* @author Sunil Kumar Gupta
*/
public class GUI extends JInternalFrame implements ActionListener{
public static MyImageCanvas imgOne=null;
public static MyImageCanvas imgTwo=null;
public static FinalImageCanvas fix=null;
JPanel inner=null;
JButton submit=new JButton(“Submit”);
JButton first=new JButton(“Clear First”);
JButton second=new JButton(“Clear Second”);
JButton result=new JButton(“Clear Third”);
JButton back=new JButton(“Use Result”);
String temp=new String();
String var=new String();
GUIDisplayApplet jda=null;
public GUI(GUIDisplayApplet jda){
super(“Drag Image Here”,true,true,true,true);
try{
fix=new FinalImageCanvas(“null”,jda);
}catch(Exception e){}
imgOne=new MyImageCanvas(“”,jda);
imgTwo=new MyImageCanvas(“”,jda);
JPanel pane=new JPanel();
this.jda=jda;
pane.setLayout(new BorderLayout());
pane.setBorder(BorderFactory.createEtchedBorder(Color.red,Color.yellow));
inner=new JPanel();
inner.setLayout(new GridLayout(0,1));
inner.setBorder(BorderFactory.createEtchedBorder(Color.red,Color.yellow));
imgOne.setBackground(Color.white);
imgTwo.setBackground(Color.white);
imgOne.setBorder(BorderFactory.createEtchedBorder(Color.red,Color.yellow))
;
imgTwo.setBorder(BorderFactory.createEtchedBorder(Color.red,Color.yellow))
;
fix.setBorder(BorderFactory.createEtchedBorder(Color.red,Color.yellow));
imgOne.setPreferredSize(new Dimension(400,300));
imgTwo.setPreferredSize(new Dimension(400,300));
Font f2=new Font(“Sarif”,Font.PLAIN,10);
first.setFont(f2);
second.setFont(f2);
result.setFont(f2);
back.setFont(f2);
submit.setFont(f2);
fix.setPreferredSize(new Dimension(400,300));
fix.setBackground(Color.white);
inner.add(new JScrollPane(imgOne));
inner.add(new JScrollPane(imgTwo));
inner.add(new JScrollPane(fix));
pane.add(“Center”,inner);
JPanel bottom=new JPanel();
bottom.setLayout(new FlowLayout(FlowLayout.CENTER));
bottom.setBorder(BorderFactory.createEtchedBorder(Color.red,Color.yellow))
;
bottom.add(submit);
bottom.add(first);
bottom.add(second);
bottom.add(result);
bottom.add(back);
submit.addActionListener(this);
first.addActionListener(this);
second.addActionListener(this);
result.addActionListener(this);
back.addActionListener(this);
pane.add(“South”,bottom);
setContentPane(pane);
Dimension d=Toolkit.getDefaultToolkit().getScreenSize();
int height=(int)d.getHeight();
int width=(int)d.getWidth();
setLocation(0,5);
setSize((width*3/5)-10,height-70);
setVisible(true);
}
public void actionPerformed(ActionEvent ae){
Object src=ae.getSource();
String s1=””;
String s2=””;
if(src==submit){
try{
s1=imgOne.getImage();
s2=imgTwo.getImage();
if(s1.equals(“.gif”)&& s2.equals(“.gif”)){
temp=”.gif”;
GUI.fix.setImage(temp);
var=”done”;
}
else if(s1.equals(“.gif”)&& !(s2.equals(“.gif”))){
temp=s2;
GUI.fix.setImage(temp);
var=”done”;
}
else if(s2.equals(“.gif”)&& !(s1.equals(“.gif”))){
temp=s1;
GUI.fix.setImage(temp);
var=”done”;
}
else{
String f1=null;
String f2=null;
StringTokenizer st=new StringTokenizer(s1,”.gif”);
if(st.hasMoreTokens())
f1=st.nextToken();
st=new StringTokenizer(s2,”.gif”);
if(st.hasMoreTokens())
f2=st.nextToken();
if(f1.equals(“1”)||f2.equals(“1”)){
String
te=Integer.toString(Integer.parseInt(f1)+Integer.parseInt(f2));
String se=null;
se=Check.check(te);
if(se.equals(“.gif”)){
JOptionPane.showMessageDialog(null,”Sorry No Result to
Display”);
}
temp=se+”.gif”;
Result r=null;
if(!(se.equals(“.gif”)))
r=new Result(temp,jda);
GUI.fix.setImage(temp);
var=”done”;
}
else{
JOptionPane.showMessageDialog(null,”Sorry No Result to
Display”);
GUI.fix.setImage(“.gif”);
var=”done”;
}
}
}
catch(Exception e){
// System.out.println(“What is the error”+e);
}
}
else if(src==back){
if(var.equals(“”)){
JOptionPane.showMessageDialog(null,”Please Press Submit Button to
know Result First”);
}
else{
MyImageCanvas.flag=true;
imgOne.setImage(temp);
MyImageCanvas.flag=true;
imgTwo.setImage(“.gif”);
GUI.fix.setImage(“.gif”);
}
}
else if(src==first){
MyImageCanvas.flag=true;
imgOne.setImage(“.gif”);
}
else if(src==second){
MyImageCanvas.flag=true;
imgTwo.setImage(“.gif”);
}
else if(src==result){
GUI.fix.setImage(“.gif”);
temp=”.gif”;
var=””;
}
}
}
///////////////End of GUI.java///////////////////////////////////////
/*
* @(#)GUIDisplay.java 20/06/05
*
* Copyright 2005 Sunil Kumar Gupta. All rights reserved.
* Super InfoSoft PROPRIETARY/CONFIDENTIAL. Use is subject to license
terms.
*/
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
/**
* This is the Main frame to show the GUI of this
* application.
* @author Sunil Kumar Gupta
*/
public class GUIDisplay extends JFrame implements ActionListener{
JMenuBar mbar=new JMenuBar();
JMenu help=new JMenu(“Help”);
JMenuItem h1=new JMenuItem(“How To”);
GUI gui=null;
MolContainer mcon=null;
static GUIDisplayApplet jda=null;
public GUIDisplay(GUIDisplayApplet jda){
super(“Strcture Viewer”);
setJMenuBar(mbar);
help.add(h1);
mbar.add(help);
h1.addActionListener(this);
gui=new GUI(jda);
this.jda=jda;
mcon=new MolContainer(jda);
JDesktopPane dp=new JDesktopPane();
dp.setBackground(new Color(255,220,255));
dp.add(gui);
dp.add(mcon);
setContentPane(dp);
setSize(Toolkit.getDefaultToolkit().getScreenSize());
setVisible(true);
}
public static void main(String[] arg){
new GUIDisplay(GUIDisplay.jda);
}
public void actionPerformed(ActionEvent ec){
Help h=null;
try{
h.setVisible(false);
}
catch(Exception e){}
h=new Help();
}
}
////////////////////End of GUIDisplay.java///////////////////////////
/*
* @(#)GUIDisplayApplet.java 20/06/05
*
* Copyright 2005 Sunil Kumar Gpta. All rights reserved.
* Super InfoSoft PROPRIETARY/CONFIDENTIAL. Use is subject to license
terms.
*/
import javax.swing.*;
import java.awt.*;
import java.applet.*;
import java.net.*;
import java.awt.event.*;
/**
* This is the main Applet to show the ediotor of
* molecules.
* @author Sunil Kumar Gupta
*/
public class GUIDisplayApplet extends JApplet{
public static URL url=null;
Thread t=null;
GUI gui=null;
static GUIDisplayApplet gda;
MolContainer mcon=null;
public static GUIDisplayApplet getMe(){
return new GUIDisplayApplet();
}
public GUIDisplayApplet(){
}
public void init(){
setBackground(new Color(255,120,255));
t=new Thread(){
public void run(){
while(true){
showStatus(“Structure Display Applet : Developed By Super InfoSoft
Pvt. Ltd.”);
try{
Thread.sleep(5000);
}catch(Exception e){}
}
}
};
t.start();
try{
gui=new GUI(gda=GUIDisplayApplet.getMe());
new MolContainer(gda=GUIDisplayApplet.getMe());
url=getCodeBase();
// System.out.println(“URL========>”+url.toString());
}catch(Exception e){}
JFrame.setDefaultLookAndFeelDecorated(true);
final GUIDisplay gui=new GUIDisplay(gda);
gui.addWindowListener(
new WindowAdapter()
{
public void windowClosed(WindowEvent we)
{
gui.dispose();
}
});
}
public void start(){
showStatus(“Structure Display Applet Started”);
}
public void stop(){
System.out.println(“Shutting Down”);
showStatus(“Structure Display Applet Shutdown”);
super.stop();
if(t.isAlive())
t.suspend();
t.stop();
}
}
////////////////End of GUIDisplayApplet.java///////////////////////////
/*
* @(#)Help.java 20/06/05
*
* Copyright 2005 Sunil Kumar Gupta. All rights reserved.
* Super InfoSoft PROPRIETARY/CONFIDENTIAL. Use is subject to license
terms.
*/
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
/**
* This class is to show the gui
* for help .
* @author Sunil Kumar Gupta
*/
public class Help extends JFrame implements ActionListener{
JLabel consLabel;
JButton ok=new JButton(“OK”);
public Help(){
super(“***Help***”);
consLabel=new JLabel(“<html><font color=blue><I>Drag Image on
Editor
Above and Below<br><br>and Press submit Button to know the
result.<br><br>
To Use the result again in editor Press Use Result
Button</font>”,JLabel.CENTER);
consLabel.setBorder(BorderFactory.createEtchedBorder(Color.red,Color.green
));
getContentPane().add(consLabel,BorderLayout.CENTER);
getContentPane().add(ok,BorderLayout.SOUTH);
ok.addActionListener(this);
setSize(350,300);
setLocation(10,10);
setVisible(true);
}
public void actionPerformed(ActionEvent ec ){
setVisible(false);
}
}
/////////////////////End of Help.java/////////////////////////////////
/*
* @(#)ImageCanvas.java 20/06/05
*
* Copyright 2005 Sunil Kumar Gupta. All rights reserved.
* Super InfoSoft PROPRIETARY/CONFIDENTIAL. Use is subject to license
terms.
*/
import java.awt.*;
import java.awt.event.*;
import java.awt.image.*;
import javax.swing.*;
import java.net.*;
/**
* This class is to show the molecules in the
* dragable editor .
* @author Sunil Kumar Gupta
*/
public class ImageCanvas extends JPanel implements
MouseListener,MouseMotionListener
{
Image image;
public static String imagename=””;
public static boolean dragknow=false;
GUIDisplayApplet jp=null;
String name=””;
public ImageCanvas(String name,GUIDisplayApplet jp) {
this.name=name;
this.jp=jp;
MediaTracker media = new MediaTracker(this);
// System.out.println(“JP===>”+jp.url+”———-name–“+name);
try{
image = Toolkit.getDefaultToolkit().getImage(new
URL(jp.url+name));
}catch(Exception e1){
//System.out.println(“Error here=====>”+e1);
}
media.addImage(image, 0);
try {
media.waitForID(0);
} catch (Exception e) {}
addMouseListener(this);
addMouseMotionListener(this);
}
public ImageCanvas(ImageProducer imageProducer) {
image = createImage(imageProducer);
}
public void paint(Graphics g) {
//System.out.println(“Image===<“+image);
if(image!=null)
g.drawImage(image, 0,0, this);
}
public void setImage(String name){
try{
image = Toolkit.getDefaultToolkit().getImage(new
URL(jp.url+name));
}catch(Exception e){}
repaint();
}
public void mousePressed(MouseEvent evt) {
}
public void mouseEntered(MouseEvent evt) {}
public void mouseExited(MouseEvent evt) { }
public void mouseClicked(MouseEvent evt) { }
public void mouseReleased(MouseEvent evt) { }
public void mouseDragged(MouseEvent evt)
{
dragknow=false;
imagename=name;
}
public void mouseMoved(MouseEvent evt){}
}
//////////////////////End of ImageCanvas.java/////////////////////////
/*
* @(#)MolContainer.java 20/06/05
*
* Copyright 2005 Sunil Kumar Gupta. All rights reserved.
* Super InfoSoft PROPRIETARY/CONFIDENTIAL. Use is subject to license
terms.
*/
import java.awt.*;
import javax.swing.*;
/**
* This is the class to hold all the molecules
* in an editor.
* @author Sunil Kumar Gupta
*/
public class MolContainer extends JInternalFrame {
ImageCanvas b[]=null;
public MolContainer(GUIDisplayApplet jda){
super(“Drag Image From Here”,true,true,true,true);
JPanel p=new JPanel();
b=new ImageCanvas[25];
p.setLayout(new GridLayout(0,2));
p.setBorder(BorderFactory.createEtchedBorder(Color.red,Color.yellow));
JScrollPane jsp=new JScrollPane(p,
ScrollPaneConstants.VERTICAL_SCROLLBAR_ALWAYS,
ScrollPaneConstants.HORIZONTAL_SCROLLBAR_ALWAYS
);
for(int i=0,j=1,n=1;i<b.length;i++,j++){
if(j==2*n+1){
n++;
continue;
}
b[i]=new ImageCanvas(Integer.toString(i+1)+”.gif”,jda);
b[i].setBorder(BorderFactory.createEtchedBorder(Color.red,Color.yellow));
b[i].setPreferredSize(new Dimension(150,150));
if(i!=21)
p.add(b[i]);
}
p.setBackground(Color.white);
getContentPane().add(jsp);
Dimension d=Toolkit.getDefaultToolkit().getScreenSize();
int height=(int)d.getHeight();
int width=(int)d.getWidth();
setSize((width*2/5)-20,height-70);
setLocation((width*3/5)+10,5);
setVisible(true);
}
}
/////////////////////////End of MolContainer.java//////////////////////
/*
* @(#)MyImageCanvas.java 20/06/05
*
* Copyright 2005 Sunil Kumar Gupta. All rights reserved.
* Super InfoSoft PROPRIETARY/CONFIDENTIAL. Use is subject to license
terms.
*/
import java.awt.*;
import java.awt.event.*;
import java.awt.image.*;
import javax.swing.*;
import java.net.*;
/**
* This class is to show the molecules when drag
* from another editor .
* @author Sunil Kumar Gupta
*/
public class MyImageCanvas extends JPanel implements MouseListener{
boolean dragFlag=false;
int x=0,y=0;
Image image;
public String name=””;
GUIDisplayApplet jp=null;
public static boolean flag=false;
public MyImageCanvas(){}
public MyImageCanvas(String name,GUIDisplayApplet jp) {
this.name=name;
this.jp=jp;
MediaTracker media = new MediaTracker(this);
try{
image = Toolkit.getDefaultToolkit().getImage(new
URL(jp.url+name));
}catch(Exception e1){}
media.addImage(image, 0);
try {
media.waitForID(0);
} catch (Exception e) {}
addMouseListener(this);
}
public MyImageCanvas(ImageProducer imageProducer) {
image = createImage(imageProducer);
}
public void paintComponent(Graphics g) {
super.paintComponent(g);
g.setColor(Color.red);
g.setFont(new Font(“Dialog”,Font.BOLD,11));
g.drawString(“Put Image Here”,3,15);
try{
if(image!=null)
g.drawImage(image, 100,5, this);
}catch(Exception e){}
}
public void setImage(String name){
try{
image = Toolkit.getDefaultToolkit().getImage(new
URL(jp.url+name));
this.name=name;
}
catch(Exception e){
// System.out.println(“Error+||||||”+e);
}
if(flag==true){
repaint();
name=”.gif”;
flag=false;
}
}
public void update(Graphics g){
paint(g);
}
public String getImage(){
return name;
}
public void mousePressed(MouseEvent evt){
}
public void mouseEntered(MouseEvent evt){
try{
if(ImageCanvas.dragknow==false){
setImage(ImageCanvas.imagename);
ImageCanvas.dragknow=true;
repaint();
ImageCanvas.dragknow=true;
}
}catch(Exception e){}
}
public void mouseExited(MouseEvent evt){}
public void mouseClicked(MouseEvent evt){
}
public void mouseReleased(MouseEvent evt){
}
public void mouseDragged(MouseEvent evt){
}
public void mouseMoved(MouseEvent evt){}
}
//////////////////////////End of MyImageCanvas.java///////////////////
import javax.swing.*;
import java.awt.event.*;
import java.awt.*;
import java.net.*;
public class Result extends JFrame implements ActionListener {
GUIDisplayApplet jp=null;
JButton ok=new JButton(“OK”);
ResultCanvas rc=null;
public Result(String name,GUIDisplayApplet jp){
super(“Result”);
this.jp=jp;
JPanel p=new JPanel();
p.setLayout(new FlowLayout(FlowLayout.CENTER));
p.setBorder(BorderFactory.createEtchedBorder(Color.red,Color.yellow));
ok.addActionListener(this);
p.add(ok);
rc=new ResultCanvas(jp,name);
getContentPane().add(rc,BorderLayout.CENTER);
getContentPane().add(p,BorderLayout.SOUTH);
setSize(300,300);
setLocation(200,100);
setVisible(true);
}
public void actionPerformed(ActionEvent ed){
setVisible(false);
}
}
class ResultCanvas extends Canvas{
GUIDisplayApplet jp=null;
Image img=null;
ResultCanvas(GUIDisplayApplet jp,String name){
setBackground(Color.white);
this.jp=jp;
MediaTracker media = new MediaTracker(this);
try{
img=Toolkit.getDefaultToolkit().getImage(new
URL(jp.url+name));
img=img.getScaledInstance(this.getWidth(),this.getHeight(),2);
}
catch(Exception e1){
}
media.addImage(img, 0);
try {
media.waitForID(0);
}
catch (Exception e) {}
}
public void paint(Graphics g){
if(img!=null){
g.drawImage(img,10,10,this);
}
}
public void setImage(String name){
try{
img = Toolkit.getDefaultToolkit().getImage(new
URL(jp.url+name));
}catch(Exception e){}
repaint();
}
}
///////////////////End of Result.java//////////////////////////////////
########################Start.html###################################
<html>
<head><title>Intelligent editor for chemical</title>
<body text=yellow bgcolor=#fffffg>
<form action=”Editor.html”>
<table border=4 bgcolor=red width=100% height=20>
<tr><td align=center>
<b><h2> Intelligent Editor for Chemical Reactions
</td></tr>
</table>
<applet code=”GUIDisplayApplet” width=0 height=0>
</applet>
<br><br><br><br><br><br><br>
<center>
<table border=4 bgcolor=red width=5% height=20><tr><td align=center>
<input type=submit name=”click” color=yellow value=”Back”>
</td></tr></table>
<br><br><br><br><br><br><br>
<table border=4 bgcolor=red width=100% height=20>
<tr>
<td align=center>
<b><font color=green><marquee>Copyright ©: Sunil Kumar
Gupta )</marquee></font>
</td>
<tr>
</table>
</body>