Results 1 to 5 of 5
  1. #1
    kkid is offline Senior Member
    Join Date
    Jul 2012
    Posts
    241
    Rep Power
    3

    Default Is GUI usually made using WYSIWYG editors?

    I have just started GUI stuff in java using a tutorial on the oracle website. I always thought that it would be purely text-based creation where one would re-compile to see results.

    The tutorial is using netbeans and just dragging and dropping stuff, is this how GUI code is usually created or do professionals purely use text-editors instead of WYSIWYG editors?

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

    Default Re: Is GUI usually made using WYSIWYG editors?

    My experience (similar to many others here) is that you're better off first creating your GUI by hand-crafted code and not with use of drag-and-drop code generators. The former will allow you to get a deeper understanding of how the internals of the Swing GUI work. Later once you understand this, then sure, use a code generator if desired, but realize that you are at the mercy of this generator (some of gone under or been abandoned in the past).

  3. #3
    kkid is offline Senior Member
    Join Date
    Jul 2012
    Posts
    241
    Rep Power
    3

    Default Re: Is GUI usually made using WYSIWYG editors?

    I would have thought that, I just went along with drag-and-drop because of Oracles GUI tutorial being this. I thought Oracle would have chosen the best method to teach.

    Did Oracle choose drag-and-drop in Netbeans just because it is easier for them to create a tutorial for it then and to prevent scaring off "Newbies" from Java GUI programming?

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

    Default Re: Is GUI usually made using WYSIWYG editors?

    Well, they do.
    Everything other than the one Netbeans tutorial is based on hand written Swing code.
    I agree that the description of the Netbeans tutorial is wrong (IMO) as a gui builder is not a good way to learn Swing, but if you do all the rest other than that one you'll be fine.
    Please do not ask for code as refusal often offends.

    ** This space for rent **

  5. #5
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,416
    Rep Power
    20

    Default Re: Is GUI usually made using WYSIWYG editors?

    I agree with both the members who have already responded. It may be easy to create a pretty face using the GUI builder, but it can be nerve-wracking to get the brains behind the face to do what you need without a good understanding of Swing coding. And the builder has a steep learning curve that neither Oracle nor Sun before them would ever own up to; IMO it's only worth going through all the trouble of learning to use the builder if you plan to specialize in and make a career of GUI design.

    db
    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

Similar Threads

  1. Replies: 7
    Last Post: 10-14-2012, 06:05 AM
  2. Eclipse WYSIWYG web plugin
    By buyapentiumjerk in forum Eclipse
    Replies: 1
    Last Post: 06-21-2011, 03:56 AM
  3. WYSIWYG editor upload with images
    By yalgashev in forum JDBC
    Replies: 0
    Last Post: 03-29-2011, 01:10 PM
  4. wysiwyg for JEE and MYSQL application
    By onepseudoxy in forum Web Frameworks
    Replies: 0
    Last Post: 06-22-2010, 05:24 PM
  5. Java Wysiwyg?
    By kitkat24 in forum New To Java
    Replies: 4
    Last Post: 04-07-2009, 04:14 AM

Posting Permissions

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