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 |
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
How u r going to change the company code in sap after entering the data and every thing.
osgelvaitre arrange it which make 1 romantic word
I have a problem with my notebook (Vista), when I turn on the pc this error comes up: Error loading C:\Windows\system32\byXnNDvt.dll Help me to solve this problem please!!
I-series. When I use: qtp DICTIONARY(PDMZZ) AUTO (*LIBL/MFR0120X)I get the error: *E* Can't open the file specified on the AUTO program parameter. File of different type already exists. When I use it auto without *libl ,qtp DICTIONARY(PDMZZ) AUTO (MFR0120X), it works fine
how do i copy first 10 records from one sequntial file to another sequential file by using JCL program?
pleasesend which type of the books to indian banks clerks& what is topics pleases mailme
I am Recording the QTP Script..the Script is below VbWindow("mdiPP").VbWindow("frmPOSOLocking").ActiveX ("SSTab").VbListView("lstPO").SetItemState "272 [10-11]", micChecked. After when when Run then give error property not found.
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....
what is employee MAPPING in recruitment...?
what are the test cases for ticket vending machine?
write a program whose output will be- 1 12 123 1234 12345 in assembly language