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...


hai this is shanthi,
is this code right? please check and correct the lines.

import javax.swing.*;
import java.awt.*;
class Flow extends JFrame
{
JButton b1,b2,b3,b4;
JPanel p;
FlowLayout FL;
Flow()
{
FL=new FlowLayout(FlowLayout.RIGHT,20,20);
b1=new JButton("button1");
b2=new JButton("button2");
b3=new JButton("button3");
b4=new JButton("button4");
p=new Jpanel();
p.add(b1);
p.add(b2);
p.add(b3);
p.add(b4);
p.set Layout(FL);
getContentPane().add(p);
setSize(400,400);
show();
}
public static void main(String args[])
{
new=Flow();
}
}

but i have an error in p.set Layout(FL); in this line.
i tryed all the ways but it showing the in this line only.
please check and correct it.



hai this is shanthi, is this code right? please check and correct the lines. import javax.swing...

Answer / vicky

"new=Flow(); "

this statement might be a wrong. u can wr8 like,

"flow f1=new flow();"

and if u got error in p.setlayout(FL) then, u wr8 following code

p.set Layout(FL=new FlowLayout(FlowLayout.RIGHT,20,20));

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Scripts Errors Interview Questions

I want singal maintainer(iii& ii) solved question paper in every year in every board in rrb. If you collect these and sent these my mail-id i shall very grateful to you.

0 Answers  


pleasesend which type of the books to indian banks clerks& what is topics pleases mailme

0 Answers  


sap sd;error 'pricing procedure could not be determined"

2 Answers   TCS,


i have SAP B1 in my work area When i am try to hold the particular item the following ERRORS display in my System (This entry already exists in the following tables '' (AIT1) (ODBC -2035) [Message 131-183])

0 Answers  


sentence- the teacher told that the students should have gone to the library instead of having wasted their time.

1 Answers   SSC,


hi all, I am in the process of learning qtp. i havve windows vista in my system whenever i try to run flight reservation application , i am getting the following error "Operation must use an updateable query Fractional truncation (null) . And am unable to open Mercury tours web application due to some other error Can anyone help me please

0 Answers  


The employee runs big client-server applications and must quickly transfer large files. The company wants the best cost/benefit on this connection. What would be the most practical solution?

0 Answers  


who was first "woman" cheaf-minister in india and which state ?

4 Answers   Hindustan Unilever Limited,


What is Virus? plz give me full description

8 Answers  


Answers for Complete This Song B_C_A_A _IL K_A KA_E, S__AN J__E B__D_ J__E

0 Answers  


Red Hat Linux4.0 configuring in telnet server. Another one Linux system called via telnet . But not connecting in first system.

0 Answers  


What is the major use of Servelet

0 Answers  


Categories