Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Other Java > Java GUI
|
Java GUI Discussions specific to programming Java GUI.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Java GUI section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 5th, 2004, 05:05 PM
Registered User
 
Join Date: Aug 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Wizard like interface in Java

How would I create a wizard like interface in Java? I am new to it and would like to know the best way to make this happen.
Example: first screen enter name, age .... Press next to continue.
Next window displays information for the name entered in the same window and so on...

Thank you,
Mark
 
Old August 15th, 2004, 11:32 PM
Registered User
 
Join Date: Aug 2004
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

There are many approaches, but what is considered to be best practice is to use the Card Layout Manager which manages components like a deck of "cards". It's useful for creating wizard style controls. Only the top "card" is visible at any time and you can choose which card to display next.

Look, there are numerous tools out there ranging from free to affordable to expensive to make Java GUI painless. Once used you can study the generated code to see how it's done:

Free
-----
Netbeans - A full featured, cross platform, Open Source Java IDE w/ a nice GUI designer including Gridbag Layout. Very mature robust product. Written in Java it requires a fast computer to appreciate (600mhz +, 128MB RAM +, 3D graphics card)
http://www.netbeans.org

Borland JBuilder (Foundation Edition) - Powerful, fast, full featured Java IDE and GUI Designer.
http://www.borland.com/jbuilder/foundation/index.html

Elcipse - Full featured Java IDE, but no built in GUI designer. Not as mature as Netbeans or JBuilder, but improving in leaps and bounds. Faster than Netbeans, but slower than JBuilder. GUI designers for eclipse can be purchased from 3rd parties.


Affordable
----------
Swing designer - $199.00 a Java GUI editor plug-in for Eclipse. Really sweet GUI layout tool capable of rapid development of complex GUIs in Swing or Eclipse's SWT and the code it generates is professionally formatted, readable, and easy to maintain.

Expensive
---------
Borland JBuilder (Developer Edition) - $499 Top of the line Java IDE, GUI Designer, and Rapid Database Developer.
http://www.borland.com/jbuilder/developer/index.html

BX for Java - $998 a complete stand alone visual development tool for pure Java applications. Includes a database designer module that makes Java widgets "data-aware" by mapping them to database fields.
http://www.ics.com/products/bxjava/

Hope this helps,

Alex

 
Old August 15th, 2004, 11:36 PM
Registered User
 
Join Date: Aug 2004
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Sorry Mark,

A few of the links didn't post for some reason:

Eclipse
http://www.eclipse.org/

Swing Designer
http://www.instantiations.com/swing-designer/

 
Old August 24th, 2004, 10:18 PM
Registered User
 
Join Date: Aug 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thank you Alex :)

Mark
 
Old October 8th, 2004, 10:05 AM
Registered User
 
Join Date: Aug 2004
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

One more,

JFrameBuilder
----------
Generates human readable Java GUI code
http://www.mars3000.com
 
Old January 16th, 2005, 02:43 PM
Registered User
 
Join Date: Jan 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Another one. Perhaps the best of all in doing anything from designing Swings-GUI to J2EE - IntelliJ Idea 4.5.

But the PC should be a huge one, 512 RAM is recommended with an AGP card.

It has made me totally shift from Visual Basic 6.0 to JAVA2, I always had Java undercontrol but designing the forms were too hactic, It helped alot.

I hope everybody will like it.

Cheers....,
JAY

So how much time you'll waste today ?





Similar Threads
Thread Thread Starter Forum Replies Last Post
Activex Control Interface Wizard rbgamer VB Components 1 April 21st, 2006 04:55 AM
Java Native Interface Bosshard Java Basics 0 January 17th, 2006 02:04 PM
Calling Java Interface in JSP Befekadu JSP Basics 0 March 12th, 2005 03:18 PM
Invoking Scanner Interface using java gopalkis J2EE 0 September 20th, 2003 04:28 AM
Wizard Interface - switching between forms edwardforgacs C# 1 September 7th, 2003 04:56 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.