0% found this document useful (0 votes)
12 views3 pages

Signup 3

Uploaded by

abhi9410799101
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as ODT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
12 views3 pages

Signup 3

Uploaded by

abhi9410799101
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as ODT, PDF, TXT or read online on Scribd
You are on page 1/ 3

package bank.

management;

import javax.swing.*;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

public class Signup3 extends JFrame implements ActionListener {


JRadioButton r1,r2,r3,r4;
JComboBox c1;
JButton s,c;
Signup3(){
//image k liye.......................................
ImageIcon i1 = new ImageIcon(ClassLoader.getSystemResource("icon/bank.png") );
Image i2 = i1.getImage().getScaledInstance(100,100, Image.SCALE_DEFAULT);
ImageIcon i3 = new ImageIcon(i2);
JLabel image = new JLabel(i3);
image.setBounds(25,10,100,100);
add(image);
// Page.....................................................
JLabel jlabel1 = new JLabel("Page-3");
jlabel1.setBounds(280,40,400,40);
jlabel1.setFont(new Font("railway",Font.BOLD,22));
add(jlabel1);
// Account Detail................................................
JLabel jlabel2 = new JLabel("Account DETAIL");
jlabel2.setBounds(280,70,400,40);
jlabel2.setFont(new Font ("railway",Font.BOLD,22));
add(jlabel2);
//Account Type................................................
JLabel jlabel3 = new JLabel("Account Type:");
jlabel3.setBounds(100,140,200,30);
jlabel3.setFont(new Font ("railway",Font.BOLD,18));
add(jlabel3);
//radiobutton for account type.....................
r1 = new JRadioButton("Saving");
r1.setFont(new Font("railway",Font.BOLD,14));
r1.setBackground(new Color(215,252,252));
r1.setBounds(100,180,150,30);
add(r1);
r2 = new JRadioButton("fixed Deposit Account");
r2.setFont(new Font("railway",Font.BOLD,14));
r2.setBackground(new Color(215,252,252));
r2.setBounds(350,180,250,30);
add(r2);
r3 = new JRadioButton("Current Account");
r3.setFont(new Font("railway",Font.BOLD,14));
r3.setBackground(new Color(215,252,252));
r3.setBounds(100,220,250,30);
add(r3);
r4 = new JRadioButton("Recurring Deposit Account");
r4.setFont(new Font("railway",Font.BOLD,14));
r4.setBackground(new Color(215,252,252));
r4.setBounds(350,220,550,30);
add(r4);
//group the button of gender.....................................
ButtonGroup buttongroup = new ButtonGroup();
buttongroup.add(r1);
buttongroup.add(r2);
buttongroup.add(r3);
buttongroup.add(r4);
//Card Number.......................................................
JLabel jlabel4 = new JLabel("Card Number:");
jlabel4.setBounds(100,300,200,30);
jlabel4.setFont(new Font ("railway",Font.BOLD,18));
add(jlabel4);
//16 digit number Name.......................................................
JLabel jlabel5 = new JLabel("Your 16-digit Card Number ");
jlabel5.setBounds(100,330,200,20);
jlabel5.setFont(new Font ("railway",Font.BOLD,12));
add(jlabel5);
//Account number.......................................................
JLabel jlabel6 = new JLabel("XXXX-XXXX-XXXX-8979");
jlabel6.setBounds(330,305,250,20);
jlabel6.setFont(new Font ("railway",Font.BOLD,12));
add(jlabel6);
//cheque book.......................................................
JLabel jlabel7 = new JLabel("It would appear on atm card/cheque Book and Statements");
jlabel7.setBounds(330,330,500,20);
jlabel7.setFont(new Font ("railway",Font.BOLD,12));
add(jlabel7);
//Pin................................................................
JLabel jlabel9 = new JLabel(" PIN: ");
jlabel9.setBounds(100,370,200,20);
jlabel9.setFont(new Font ("railway",Font.BOLD,12));
add(jlabel9);
//Pin number.......................................................
JLabel jlabel8 = new JLabel(" XXXX ");
jlabel8.setBounds(330,370,200,20);
jlabel8.setFont(new Font ("railway",Font.BOLD,12));
add(jlabel8);
//4 digit password................................................
//Pin number.......................................................
JLabel jlabeli1 = new JLabel("(4-digit Password)");
jlabeli1.setBounds(100,400,200,20);
jlabeli1.setFont(new Font ("railway",Font.BOLD,12));
add(jlabeli1);
//Service required........................................................
JLabel jlabeli2 = new JLabel(" Services Required: ");
jlabeli2.setBounds(100,450,200,20);
jlabeli2.setFont(new Font ("railway",Font.BOLD,18));
add(jlabeli2);
// checkbox...........................
JCheckBox c1 = new JCheckBox("ATM");
c1.setBackground(new Color(215,252,252));
c1.setFont(new Font ("railway",Font.BOLD,16));
c1.setBounds(100,500,200,30);
add(c1);
JCheckBox c2 = new JCheckBox("Internet Banking");
c2.setBackground(new Color(215,252,252));
c2.setFont(new Font ("railway",Font.BOLD,16));
c2.setBounds(350,500,200,30);
add(c2);
JCheckBox c3 = new JCheckBox("Moblie Banking");
c3.setBackground(new Color(215,252,252));
c3.setFont(new Font ("railway",Font.BOLD,16));
c3.setBounds(350,550,200,30);
add(c3);
JCheckBox c4 = new JCheckBox("EMAIL Alerts");
c4.setBackground(new Color(215,252,252));
c4.setFont(new Font ("railway",Font.BOLD,16));
c4.setBounds(100,550,200,30);
add(c4);
JCheckBox c5 = new JCheckBox("Cheque Book");
c5.setBackground(new Color(215,252,252));
c5.setFont(new Font ("railway",Font.BOLD,16));
c5.setBounds(100,600,200,30);
add(c5);
JCheckBox c6 = new JCheckBox("E-Statement");
c6.setBackground(new Color(215,252,252));
c6.setFont(new Font ("railway",Font.BOLD,16));
c6.setBounds(350,600,200,30);
add(c6);
JCheckBox c7 = new JCheckBox("I here by declares that the above entered details correct
to the best of my knowledge");
c7.setBackground(new Color(215,252,252));
c7.setFont(new Font ("railway",Font.BOLD,12));
c7.setBounds(100,680,600,20);
add(c7);
//formno.................................................
JLabel li4 = new JLabel("form No");
li4.setFont(new Font("Raleway",Font.BOLD,14));
li4.setBounds(600,10,200,30);
add(li4);
JLabel li5 = new JLabel();
li5.setFont(new Font("Raleway",Font.BOLD,18));
li5.setBounds(700,10,200,30);
add(li5);
s = new JButton("submit");
s.setFont(new Font ("railway",Font.BOLD,14));
s.setBackground(Color.BLACK);
s.setForeground(Color.WHITE);
s.setBounds(250,720,100,30);
add(s);
c = new JButton("Cancel");
c.setFont(new Font ("railway",Font.BOLD,14));
c.setBackground(Color.BLACK);
c.setForeground(Color.WHITE);
c.setBounds(420,720,100,30);
add(c);

getContentPane().setBackground(new Color(215,252,252));
setLayout(null);
setSize(850,800);
setLocation(400,20);
setVisible(true);
}
public void actionPerformed(ActionEvent e){

}
public static void main(String[] args){
new Signup3();

}
}

You might also like