-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathFastCash.java
More file actions
41 lines (33 loc) · 978 Bytes
/
Copy pathFastCash.java
File metadata and controls
41 lines (33 loc) · 978 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
package src;
import java.awt.Color;
import java.awt.Component;
import java.awt.Font;
import java.awt.Image;
import java.awt.LayoutManager;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.sql.ResultSet;
import java.util.Date;
import javax.swing.ImageIcon;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JOptionPane;
import javax.swing.JTextField;
public class FastCash extends JFrame implements ActionListener{
JLabel l1,l2 ;
JButton b1,b2,b3,b4,b5,b6,b7,b8;
JTextField t1;
String pin;
FastCash(String pin)
{
this.pin =pin;
ImageIcon i1 = new ImageIcon(ClassLoader.getSystemResources("Bank managemnt system/atm.jpg"));
Image i2 = i1.getImage().getScaledInstance(1000, 1180, 1);
ImageIcon i3 = new ImageIcon(i2);
Jlabel l3 = new JLabel(i3);
l3.setBounds(0,0,960,1000);
}
public static void main(String[] args) {
}
}