Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Answers Viewqa Swing-AWT project on bank management system
Login         

View Questions and Answers by Category

Advertisements


 
Have Programming Question? Ask it here!
 
 
 


raman
project on bank management system
2 Answer(s)      4 years and 4 months ago
Posted in : Swing AWT


plz give me code to move from by clicking a button on one panel to other panel and the add textfield and label such as name , address etc to second panel and textfield are one below to other.

Advertisement
View Answers

July 13, 2010 at 3:19 PM


Hi Friend,

Try the following code:

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

public class SwingFrame{
public static void main(String[] args) throws Exception{
SwingFrame sf=new SwingFrame();
}
public SwingFrame(){
JFrame f = new JFrame("Frame in Java Swing");
JPanel p=new JPanel(new GridLayout(2,1,2,2));
JPanel p1=new JPanel(new GridLayout());
final JPanel p2=new JPanel(new GridLayout(2,1,2,2));
JTextField text=new JTextField(15);
JLabel lab1 = new JLabel("Hello");
JButton b=new JButton("Move");
p1.add(b);
p2.add(text);
p2.add(lab1);
p.add(p1);
p.add(p2);
b.addActionListener(new ActionListener(){
public void actionPerformed(ActionEvent e){
p2.setVisible(true);
}
});
p2.setVisible(false);
f.add(p);
f.pack();
f.setVisible(true);
f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
}
}

Thanks


December 7, 2010 at 6:49 PM


hello sir I want Project for Hospital System in Java Back end-Oracle 9i plz Give Me source code or website to download it. plz Help Me



Related Tutorials/Questions & Answers:
Bank Management System
Bank Management System  I need a Bank Management System Project in Java Swing
project on bank management system - Swing AWT
project on bank management system  plz give me code to move from by clicking a button on one panel to other panel and the add textfield and label such as name , address etc to second panel and textfield are one below to other
Advertisements
library management system jsp project
library management system jsp project  i need a project of library management system using jsp/java bean
library management system jsp project
library management system jsp project  i need a project of library management system using jsp/java bean
library management system jsp project
library management system jsp project  i need a project of library management system using jsp/java bean
Bank project
Bank project   Create a class Customer a. Having Instance variables Customer id(int), Customer Name(String), Customer Address(String), Customer Telephone(String) and Customer Email id(String) b. Method which generates Customer Id
bank management - Java Beginners
bank management  Assume that the bank maintains two kinds of accounts for its customers, one called savings account and the other current account. The savings account provides compound interest and withdrawal facilities
project on bank - XML
project on bank  how to add textfield and label to panel one below the other  Hi Friend, Try the following code: import java.awt.*; import javax.swing.*; public class SwingFrame{ public static void main
Project Management
Project Management  What is Project Management and how it useful in managing a software project. What all certification courses are available for Software Project Management? How to become a good project manager? Thanks
attendance management system
attendance management system  i want to project demo on attendance management system
for management system
for management system  i need to store some data and to display the stored data and again to modify the data that have been stored and also with either java swing or java awt in format of similar to tat of form
material management system
material management system  hi frnds i need a mini project based on material management system if u have the project please post to me on java beginners
Project Management Importance
Project Management Importance  Hi, Why Project Management is so... Developer, Software project management is very important for the success of any... risk management Project delivery. Thanks
Employee Management System
Employee Management System  coding for employee management system
coding for employee management system
coding for employee management system  coding for employee management system
library management system
library management system  coding for library management system
Employee Management System
Employee Management System  coding for employee management system
Project Management Training
Project Management Training  Hi, What is Project Management Training? Thanks
Fleek Management System(FMS)
Fleek Management System(FMS)  Hi, Please anybody can reply....I wanna develop a project(FMS) in Java , which was already developed in PHP. Now what technologies should i apply for developing this project. The main aim
Attendence Management system
Attendence Management system  coding for Attendance management system using java applet
Pilipa hotel management project
Pilipa hotel management project  hotel management project
Hostel management information system
Hostel management information system  Can u send me mvc based project of hostel management systenm source code
Pharmacy Management System
Pharmacy Management System  hi all i wanna Pharmacy management system in java or vb.net or web application >> << thx all
contact and activity management system
contact and activity management system  how to make a web application on contact and activity management system. can anyone help me
generic workflow management system
generic workflow management system  How to design a generic workflow system for applying scholarship and its processes in online
generic workflow management system
generic workflow management system  How to design a generic workflow system for applying scholarship and its processes in online
Degree in Project Management
Degree in Project Management  What all Degree courses are available in Project Management? How to achieve Degree in Project Management? Thanks
Software Project Management
Software Project Management  Hi, What is Software Project Management...   Hi, The Software Project Management is process of planning, executing, delivering and maintaining the software project. The Project Management uses
Online project management degrees
Online project management degrees  Is there any Online project management degrees course available? What are the duration of the course? Thanks   Hi check the page Online Business Management Degree. Thanks
Complaint Management System
Complaint Management System  Hi......i have to create a complaint management system where the user calls a toll free number and a computerized voice... with the complaint number. I have no idea as to how I should go about this system
STUDENT MANAGEMENT SYSTEM
STUDENT MANAGEMENT SYSTEM  can any one help me with the coding if this using awt please!!!!!!! STUDENT MANAGEMENT SYSTEM Table details Student (STUDENTID, NAME, ADDRESS, PHONE, MAILID, COURSEID (Foreign Key)) Course (COURSEID
 

 

 

DMCA.com