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

sir,please send Indian Bank clerk post examination question / answers(last 5 years)

1 Answers   Indian Bank, Raj Construction,


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.

0 Answers  


Please anybody help , i am trying to change the fiscal year in transaction code OKEV. But the note appear "client 100 has status not modified" pls help me how to make it modified. thanks

1 Answers   SAP Labs,


can a merchant exporter adjust or claim refund of input service tax ??

0 Answers  


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  


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  


How can be avoid the Error while being Human we do mistakes???

0 Answers  


What is the use of WINS? How to work it?

4 Answers   FutureSoft,


I have got one job selection order from DECON ENGG(HRD), he told me to send 2000 rs of demand draff i have send the demand draff after some time a got a job selection order in banglore but he have written that u have to give 550 rs of Guidency fees in bangalore i dont understant what to do

0 Answers   ABC,


What is the difference between return code and completion code. When i was searching in the direct for the problem, the following errors displayed. Please can any1 explain these. Completion Code => 4 Message Id => XXDR012I Short Text => XDR field overflow. Key=SER. Len=8. Completion Code => 8 Message Id => XSQF009I Short Text => Sys call open() failed.Filename=/opt/apps/cdt3/USA/outbound/CD810O.errno=17. Completion Code => 8 Message Id => XCPR010I Short Text => Open failed for copy in OPEN_DEST_DATA. Errno=17. can you explain those 3 completion codes and also with difference between return code and completion code

0 Answers  


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

1 Answers  


Categories