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



Home Answers Viewqa XML project on bank
Login         

View Questions and Answers by Category

Advertisements


 
Have Programming Question? Ask it here!
 
 
 


raman
project on bank
1 Answer(s)      4 years and 4 months ago
Posted in : XML


how to add textfield and label to panel one below the other

Advertisement
View Answers

July 13, 2010 at 2:03 PM


Hi Friend,

Try the following code:

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

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));
JTextField jt1=new JTextField(15);
JLabel l1 = new JLabel("Hello");
p.add(jt1);
p.add(l1);

f.add(p);
f.pack();
f.setVisible(true);
f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
}
}

Thanks


Related Tutorials/Questions & Answers:
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
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
Advertisements
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
bank application
bank application  hello sir I got the simple bank application project which is very useful but I want the database for this project kindly send me database for this simple online bank application
Mini project on Book Bank using netbeans tool with java and for database using mysql
Mini project on Book Bank using netbeans tool with java and for database using mysql  hi roseindia, i have need the miniproject on bookbank with the deisgn using the netbeans tool, and create the database for that using mysql
Mini project on Book Bank using netbeans tool with java and for database using mysql
Mini project on Book Bank using netbeans tool with java and for database using mysql  hi roseindia, i have need the miniproject on bookbank with the deisgn using the netbeans tool, and create the database for that using mysql
Bank Management System
Bank Management System  I need a Bank Management System Project in Java Swing
validate bank account number
validate bank account number  how to validate bank account number in jsp
validate bank account number
validate bank account number  how to validate bank account number in jsp
security mangement for bank's IT infrastructure
security mangement for bank's IT infrastructure  how i can give account number to a customer in our bank database??? plz help me out
abt the bank application
abt the bank application  pls can u send to me the user table and transaction table sql statement with their datatype used in this bank application to my email
how to generate bank account number?
how to generate bank account number?  how to generate account number?or format or rules for bank account number
Bank account gui
Bank account gui  Add event handling to the AccountUI class which... transaction to your project 5. Add the inner class √Ę‚?¨Ň?TransactionObject√Ę‚... static void main(String arg[]){ Account at=new Account (); at.setTitle("Bank Account
bank account gui
bank account gui  Add event handling to the AccountUI class which... transaction to your project 5.Add the inner class ‚??TransactionObject‚...[]){ Account at=new Account (); at.setTitle("Bank Account System"); at.setSize(500,300
bank details - JSP-Servlet
bank details  hi i just need a coding for bank details... since iam working as a trainee my leader gave me task like this.. What he want me to do is first to set the user account details in database, and the to create a login
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
project  Sir, I have required coding and design for bank management system in php mysql. I hope u can give me correct information.   Please visit the link: JSP Bank Application The above link will be helpful for you
simple bank application - JSP-Servlet
simple bank application  hi i got ur codings...But if we register a new user it is not updating in the database...so plz snd me the database also.... Thank you
project
project  suggest a network security project based on core java with explanation
PROJECT
PROJECT  i want online polling system project codding
project
project  i need a project in java backend sql
project
project  sir i want a java major project in railway reservation plz help me and give a project source code with entire validation thank you
project
project  sir i want module and source code on my project hospital management system
project
project  does hostel management system project contain any dynamic web pages
PROJECT
PROJECT  i want help on making project on mobile banking application..... the application should have SAVING ACCOUNT,CURRENT ACCOUNT,TRANSACTION ETC......... IN APPLICATION
 

 

 

DMCA.com