Use BorderLayout, not FlowLayout, for your main frame.
Then put the menu in TOP and the main content in CENTER (in which you may have to add JPanels with their own layout managers to get the effect you want).
jwenting
duckman
8,392 posts since Nov 2004
Reputation Points: 1,662
Solved Threads: 337
You should post a seperate thread, so that you don't distract away from this thread starter.
server_crash
Postaholic
2,111 posts since Jun 2004
Reputation Points: 113
Solved Threads: 20
Hi there shinnxennosagga,
Please check the date of threads before posting a reply to them - you have just resurrected a thread that hasn't been used for three years...
darkagn
Veteran Poster
1,197 posts since Aug 2007
Reputation Points: 404
Solved Threads: 200
and giving an answer that's incorrect too...
jwenting
duckman
8,392 posts since Nov 2004
Reputation Points: 1,662
Solved Threads: 337
hey can u help me by dis problem
write down an application to display a window with various GUI components available in the awt packages
You revived an old thread, when the best advice would be to use the javax.swing package.
javaAddict
Nearly a Senior Poster
3,329 posts since Dec 2007
Reputation Points: 1,014
Solved Threads: 448
dis s Zen ,
please help me to mke program in java that has GUI its hard for me to mke coz i can't understand... please give me some tips thank you!!! this is my project and I can't think well coz I'm sick....
Zen ... first of all, if you had taken the time to read the post before yours, you should have known not to post here but to start a new thread
secondly, try to learn english. not everyone here has english as mother tongue, but since english is very common, in the IT sector not the least, we do try to help you in this language, but, we are trying to understand 'english', not the
"1m n0t l3rng 3nglsh, cz 4m l33z4"
next ... what do you want us to help you with? a program in java that has GUI? are we talking a Swing Gui, a web-interface, a command prompt gui, ... ?
and last but not least: the rules of the site require you to put in some effort yourself, this is not a "hire-a-pr0grammer" site. we help you develop your skills by helping you understanding and correcting mistakes in your code, not just write custom-made-applications for you. if you are to sick to work on it, you're also to sick to post threads like this.
stultuske
Posting Sensei
3,137 posts since Jan 2007
Reputation Points: 1,114
Solved Threads: 433
Hello Mr. ... I am rajesh. I have given you the code according to your requirement.
I have bolded the reqired changes.
Please go through the code.And try to understand the changes i made to programm.
If dont understand the changes please reply me with prog. i'll give you the description
also.
Have happy programming and for coming diwali.
Rajesh ... how on earth could you give him code "according to his requirements"??? he hasn't specified any requirements.
next to that, we appreciate the effort of you helping new developers increasing their skills, so for that part, welcome to DaniWeb, but don't just hand out custom-made code, that way they won't learn anything, they'll just copy and paste your code.
stultuske
Posting Sensei
3,137 posts since Jan 2007
Reputation Points: 1,114
Solved Threads: 433