Results 1 to 4 of 4

Thread: NetBeans

  1. #1

    Thread Starter
    Fanatic Member x-ice's Avatar
    Join Date
    Mar 2004
    Location
    UK
    Posts
    671

    Resolved 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.

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: NetBeans

    Moved from Java CodeBank.

  3. #3
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594

    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.

  4. #4
    Frenzied Member System_Error's Avatar
    Join Date
    Apr 2004
    Posts
    1,111

    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
  •  



Click Here to Expand Forum to Full Width