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.
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 |
write a program whose output will be- 1 12 123 1234 12345 in assembly language
pf full updated bifurcation for 2017
hi i am kunal patel from india...i have alreaDY APPLIED FOR FAMILY BASE VISA...MY SISTER LIVES IN CANADA...WHO HAS SPONSERED ME MY FATHER AND MY MOTHER...THEY HAVE ALREADY STARTED THE PROCEDURE...AND HAVE ASKED FOR MY ACADEMIC CERTIFICATES OF THE YEAR 2007 2008 2009 2010....NOW QUERY IS THAT...I HAVE COMPLETED MY B.A WID GUJARATI IN 2004...THEN TOOK ADMISSION IN DOUBLE GRADUATION WID HISTORY... IN 2005...AND STILL M TRING FOR SECOND YEAR B.A FROM LAST 4YEARS..AND STILL I HAVE NOT COMPLETED AND FAILED...SO IS IT PROPER TO SEND MY DOCUMENTS WITH SUCH A EDUCATION PROFILE?PLZ SEND ME D ANWER AS SOON AS POSSIBLE...ITS VERY URGENT FOR ME....
hi pp gurus, when i do the goods receipt through transiction MIGO the system, gives following error. I filled up all information that needs MIGO transiction. the error is: "Account determination for entry INT GBB___AUF 7900 not possible." can any one suggest me what to do now?
who was first "woman" cheaf-minister in india and which state ?
4 Answers Hindustan Unilever Limited,
i want a list of top 10 nationalized banks in inda....can some expects help me???
Red Hat Linux connecting via windows system used for x manger software installed in windows system. X manager via calling for Linux system.
give me the detailed steps to run batch test in winrunner?
how many profit center can we assig to material master
hi, i am trying to do modular test tree in winrunner but i am getting error like "Error in the Expression list",can you please tell e what kind of error is this? thanks.
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?
When I look for mannual enry of any of the command in Unix, such as #man ls, I get a message "Reformatting entry. Wait..." and control comes to a next command prompt. what is the problem?