Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...



Code Snippets Interview Questions
Questions Answers Views Company eMail

write a code to generate pseudorandom numbes

ABC,

2425

code to set the main window's size

2383

code to calculate the number of days between two dates

2 10958

program to bring a window to the front

2090

code to keep a page Out of the browser history

2135

create Drop-Down Navigation Menus

TCS,

2248

Reading which Character Key was pressed

1 4237

how to prevent an Event from performing its default behavior

CAE,

2345

how to copy form data between different pages

2389

maximizing the main window

2127

how to delay a function call ?

1 3591

code to get the coordinates of a Click Event

2273

How to encode and decode URL strings?

TCS,

2367

determine which Element received an Event

2386

How to test whether two strings are equal or not ?

1 5609


Un-Answered Questions { Code Snippets }

Explain MIDlet Life cycle?

2849


plzzzzzzzzz xplain this code import java.awt.*; import java.awt.event.*; public class Agency extends Frame implements ActionListener { Label l1,l2,l3,l4; Button b1; TextField t1,t2; String s1,s2,s3,s4; public static void main(String args[]) { new Agency().setVisible(true); } public Agency() { super("Gas Agency Package"); setSize(1280,800); setBackground(Color.lightGray); setLayout(null); // setLayout(new BorderLayout()); t1=new TextField(20); t1.setBounds(440,150,200,30); t1.setBackground(Color.white); t2=new TextField(20); t2.setBounds(440,180,200,30); t2.setBackground(Color.white); t2.setEchoChar('*'); l1=new Label("Gas Agency Package"); l1.setBounds(400,30,300,50); l1.setFont(new Font("TimesRoman",Font.BOLD,25)); l1.setAlignment(Label.CENTER); l2=new Label("Enter your ID and Passoword"); l2.setFont(new Font("TimesRoman",Font.BOLD,20)); l2.setBounds(270,80,300,50); l3=new Label("Enter ID"); l2.setFont(new Font ("TimesRoman",Font.BOLD,20)); l3.setBounds(270,150,120,50); l4=new Label("Enter Passoword"); l2.setFont(new Font ("TimesRoman",Font.BOLD,20)); l4.setBounds(270,180,140,50); add(l1); add(l2); add(l3); add(t1); add(l4); add(t2); b1=new Button("Login"); b1.setBackground(Color.white); b1.setBounds(400,280,100,70); b1.addActionListener(this); add(b1); } public void actionPerformed(ActionEvent e) { if(e.getSource()==b1) { s3="svce"; s4="svce"; s1=t1.getText(); s2=t2.getText(); if(s1.equals(s3) && s2.equals(s4)) { //System.out.println("password is correct"); MenuForm m= new MenuForm(); m.setVisible(true); //this.dispose(); } else { System.out.println("password not correct"); } this.dispose(); } } } plzzzzzzzzz xplain this code

2003


How to get one hasmap value in another hashmap ,only value not key

1579


Why XSLT is important for XML?

717


i have a gird with columns all are coming from database,this will bind in item templete in gridview as textboxex.and i have button below named Update.i want to update all the records in the grid,but if user change the value of one textbox,what is the easy way 2 do this

2628


Write a python program to print table of a given number?

869


can we pass variable in array to traverse it?

2469


How to export 2 datatables of a single dataset to 2 different worksheets of a single MSExcel file ?

2541


how to convert between arrays and strings

2890


A suduco given & u hv 2 check if it is incomplete(blanks left),or correct or incorrect

2945


What is the functionality of SetForegroundWindow?

597


What is XQuery?

653


Give the code for Handling Mouse Events?

2459


Code for Method of Handling Factorials of Any Size?

2548


how to Scroll a DIV content

2639