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

suppose backgrd job is completed in 5 min yesterday,but the same job is taking 15 min to execute what is the reason?

2 Answers   TCS,


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

4 Answers   Hindustan Unilever Limited,


dear sir 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. thanking you your's faithfully soma saha

0 Answers  


well i dont have toefl and gre scor all that stuff, and i have 7 backlogs, tell me the chances of getting the visa.

0 Answers  


Any body can tel me how to display a Frame Link of a page in Another Frame? For Clearance of my dought..... I designed a BSP page with 3 frames as shown below. -------------------------------- | | | Frame 1 | | | -------------------------------- | Frame 2 | Frame 3 | | | | | Link 1 | | | Link 2 | | | Link 3 | | | | | -------------------------------- Now in Frame 1 i displayed one page.. And in Frame 2 i displayed one page with some links. Now when i clicked on any Link in Frame 2 that corresponding Page has to display in Frame 3. In general HTML i know...But in BSP i don't know that much since i am new to this... plz any solutions...thanks a lot.... Regards, Shankar.

0 Answers  


i set the path for java like set path=c:\Program Files\JavaSoft\jdk.....\bin but its not working. its showing an error like javac is not recognised. what can i do. could you please tell me what path i can set.

1 Answers  


give me the detailed steps to run batch test in winrunner?

1 Answers   eSoft,


during the rebate processing i got error that THE SALES VOLUME FOR AGREEMENT <101> IS NOT CURRENT.SO HOW TO RESOLVE THIS ISSUES?

0 Answers  


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

0 Answers  


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  


when i open the system error dialog box come memory could not be read some.

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  


Categories