Results 1 to 6 of 6

Thread: Gooey Java

  1. #1
    Join Date
    Jun 2003
    Location
    SE Michigan
    Posts
    3,063

    Gooey Java

    Or rather, writing GUI programs in Java.

    For fun, I like to write "toy" programs and small utilities (yeah, I know, busman's holiday and all that). Given GUI OSes these days, such programs are best done with a GUI front-end. Java's Swing provides such a beast.

    However, it seems one has few options to quickly create a GUI program and get to the meat of the program. You can spend much time learning all about Swing and hand-coding everything. You can stop at NetBeans 7.0 and use the now-dropped Swing Application Framework. You can spend much time learning about the Netbeans Platform (and spend much money on the book).

    Apparently Eclipse provides for GUI builder plug-ins. Which one to use is another question.

    I come from a Delphi background (Delphi 1 through 7 or so), so I figured there ought to be an easy-to-get-started-with application framework somewhere. There was -- SAF -- but that's not supported any more.

    What other GUI development tools are out there?

    What are others' opinions on any of this?

    Fred
    Hey, you! "It's" with an apostrophe means "it is" or "it has." "Its" without an apostrophe means "belongs to it."

    "For shame, gentlemen, pack your evidence a little better against another time."
    -- John Dryden, "The Vindication of The Duke of Guise" 1684

    Earth's sole legacy will be a very slight increase (0.01%) of the solar metallicity.

  2. #2
    Join Date
    Jun 2007
    Posts
    5,612
    For the most part, my GUI needs have been limited to display, and I've just used OpenGL with SDL or even good old GLUT. For real GUI stuff, I've actually been hand coding GTK+, writing C++ wrappers/builders for some of the particularly awkward bits specifically because I don't want to deal with a GUI builder.

    I would disagree that a GUI tool is automatically the best choice, though. In many cases, a scripting language is actually an extremely convenient interface. I've largely moved to using Ruby for glue/control code when I need more than a trivial command line program, writing tools as extensions. This automatically allows an interactive command line interface as well, through REPL shells like irb or pry.

  3. #3
    Glom's Avatar
    Glom is offline Insert awesome title here
    Join Date
    Sep 2002
    Posts
    11,188
    The NetBeans GUI builder was great when I was starting out as it allowed me to build a programme to get the hang of things. But I quickly dumped it and went for hand coding as it freed me from the constraints of uninspired static forms. Plus it was buggy as hell.

    Still use NetBeans though for the other stuff. I have tried Eclipse as it was needed for doing some Android stuff but it didn't immdiately strike me as better.

    I don't know what's out there for building more dynamic GUIs. Especially if you have a lot of custom components like I do.

  4. #4
    Join Date
    Jan 2005
    Posts
    817
    I've never tried it, but a lot of FOSS programs use Qt.

  5. #5
    Join Date
    Feb 2013
    Posts
    1
    Hi, this is my first post

    Unfortunately, while seceral plugins for both NetBeans and Eclipse exist that gice those IDEs the 'Visual Studio" feel (such as Swing GUI Forms), its important to remember that the industry is rapidly moving away from tower computers to smaller devices --- and "square blocky GUIs" are also going away with it.

    One of the best things I have done is to really immerse myself in Swing. Sure its a pain in the butt but once I started locking into it, I haven't looked back. The flexibility is there to not only make great GUIs but make them "modern". I combine what I know of both Game Programming and Swing to come up with some cool GUIs....... There is a book called "Swing Hacks" by Marinacci & Anderson. Try to find a copy of it and start there

    Good Luck

  6. #6
    Join Date
    Nov 2001
    Posts
    3,251
    Inteli J's IDEA we use a little at work has a more advanced Forms designer, much like that in Visual studios, it simplifies and speeds up some (but not all) parts of a GUI window.

Similar Threads

  1. Mars' gooey core is freezing
    By Palomar in forum Astronomy
    Replies: 15
    Last Post: 2007-Jun-07, 05:37 AM
  2. Two Java Quakes
    By Blob in forum Science and Technology
    Replies: 15
    Last Post: 2006-Jul-21, 03:18 PM
  3. Java Question
    By SpaceTrekkie in forum Off-Topic Babbling
    Replies: 11
    Last Post: 2006-Feb-03, 01:09 AM
  4. BABB Java Chat
    By Charlie in Dayton in forum Off-Topic Babbling
    Replies: 5
    Last Post: 2004-Nov-18, 01:27 AM
  5. JaVa..
    By in forum Against the Mainstream
    Replies: 30
    Last Post: 2003-Aug-11, 03:15 PM

Posting Permissions

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