Results 1 to 8 of 8
Like Tree2Likes
  • 1 Post By Tolls
  • 1 Post By Dark

Thread: developing GUI application

  1. #1
    earlhickey is offline Member
    Join Date
    Jun 2011
    Posts
    2
    Rep Power
    0

    Default developing GUI application

    Hello,
    I had started to create gui applications using swing in eclipse. However I found it very hard to understand. Moreover aranging the buttons, text fields etc. are not easy to understandable. I don't understand. And then I decided to move to netbeans to create gui applications. In netbeans it is easy to create gui applications however it is not as comfortable as eclipse. So that is why I am here. What are you using for creating gui applications in java? And do you have a link which explains arranging the buttons, text fields etc.in swing/eclipse understandable? How can I select the best layout for me?

    thank you

  2. #2
    Tolls is online now Moderator
    Join Date
    Apr 2009
    Posts
    12,006
    Rep Power
    20

    Default

    If you don't know how Swing works and are not comfortable with hand-carving a GUI then I would really not recommend using Netbeans Gui builder. It does require you to know what you're doing, and works best when being used to build quick screens by someone who knows Swing.
    Fubarable likes this.

  3. #3
    Dark's Avatar
    Dark is offline Senior Member
    Join Date
    Apr 2011
    Location
    Camp Lejuene, North Carolina
    Posts
    643
    Rep Power
    4

    Default

    I like to build my gui's with good old hand coding. Then again I'm still learning, and seeing as you are too you should do the same.
    Fubarable likes this.
    • Use [code][/code] tags when posting code. That way people don't want to stab their eyes out when trying to help you.
    • +Rep people for helpful posts.

  4. #4
    Tolls is online now Moderator
    Join Date
    Apr 2009
    Posts
    12,006
    Rep Power
    20

    Default

    I meant to put the link to the Swing tutorials.
    Skip the bits that involve using the gui builder.

  5. #5
    earlhickey is offline Member
    Join Date
    Jun 2011
    Posts
    2
    Rep Power
    0

    Default

    Thank you Tolls and Dark. I am going to read Swing tutorials. I read a few swing tutorial so far but no one gave me a structure of the swing. The tutorials that I read, just say this is a layout we can use it like that and this is another layout etc...

  6. #6
    sehudson's Avatar
    sehudson is offline Senior Member
    Join Date
    Mar 2010
    Posts
    356
    Rep Power
    5

    Default

    I'm more comfortable with Netbeans when it comes to GUI applications. Having the Source/Design view makes it easier to build GUI applications as opposed to creating them by hand and having to worry about layout issues, what you see on screen with Netbeans design view is what you get (for the most part). Do you have any specific questions? As far as the layouts go (card, flow, absolute, etc), it really just depends on what you are trying to achieve.
    Last edited by sehudson; 06-21-2011 at 04:59 PM.

  7. #7
    Join Date
    Apr 2011
    Posts
    36
    Rep Power
    0

    Default

    Hi earlhickey,

    I'm a newbie in Java also, I've also been learning how to create GUIs in SWING, one Eclipse plugin I can recommend you is WindowBuilder (will come with next Eclipse version Indigo) but for Helios you can use this link to install it: Installing WindowBuilder Pro - Google Java Developer Tools - Google Code. My favorite layout is GridBagLayout, but you should try all of them to see which one works out the best for you.
    There is not knowledge that it is not power!
    buyapentiumjerk.blogspot.com

  8. #8
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,316
    Blog Entries
    1
    Rep Power
    26

    Default

    But again, don't use the Swing code-generators until you understand Swing and know what the code generators are doing, lest you paint yourself into a corner both code-wise and knowledge-wise.

Similar Threads

  1. Replies: 0
    Last Post: 02-22-2011, 10:27 AM
  2. How can i start developing mobile fone application with J2ME
    By samju in forum Sun Java Wireless Toolkit
    Replies: 2
    Last Post: 01-27-2011, 04:15 PM
  3. Replies: 2
    Last Post: 06-23-2010, 08:30 AM
  4. Developing Window based application
    By hisouka in forum New To Java
    Replies: 7
    Last Post: 08-11-2008, 05:12 AM
  5. Replies: 2
    Last Post: 03-10-2008, 12:24 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •