|
-
Sep 19th, 2005, 07:57 AM
#1
Thread Starter
Fanatic Member
NetBeans
I am starting java soon at university, so i thought i'd look into it. I am using NetBeans as my IDE but there is one thing i really don't understand.
Forms, there are JPanels and JFrames... what are these? They look nothing like a form. Am i even using the right type of form? Is there just a generic form? What is with the alignment of controls on the JPanel and JFrame?
Last edited by x-ice; Jan 3rd, 2006 at 09:00 AM.
-
Sep 19th, 2005, 08:02 AM
#2
Re: NetBeans
Moved from Java CodeBank.
-
Sep 19th, 2005, 08:33 AM
#3
Re: NetBeans
JFrame is a top-level container window. JPanel is a random generic control container.
The alignment depends on the layout manager you use. There are various; the GridBagLayout is probably the most common.
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
-
Sep 20th, 2005, 04:38 PM
#4
Frenzied Member
Re: NetBeans
Are you using drag and drop tools? If so, it might not be such a good idea to start learning that way. It's better to do things programatically yourself starting out so you can understand things such as this, but for a prototype I guess it's ok.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|