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 24th, 2004, 11:43 AM
Authorized User
 
Join Date: Jun 2004
Posts: 99
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to hlchuah77
Default Any drag and drop java development tool?

Hi, I just want to know is there any Java development tool that have the drag and drop function such as drag and drop the button to the applet or an interface. Because whenever I try to write a simple applet, coordinate make me confuse always, and it is quite hard to handle.

 
Old August 26th, 2004, 08:27 AM
Authorized User
 
Join Date: Aug 2004
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I don't use 'drop and plop' GUI creators because the code it creates is typically horrible, but I believe all the major IDEs have this functionality. I'm nearly positive JBuilder has one.
 
Old August 26th, 2004, 01:58 PM
Authorized User
 
Join Date: Jun 2004
Posts: 99
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to hlchuah77
Default

If the coding generated by drag and drop IDE is horrible, so how you manage to take full control of the coordinates within the applet? I mean when you try to draw some few ovals or any other objects to applet at different location, how you know that the coordinates that you specify is actually where you want the objects to be?

 
Old August 28th, 2004, 12:19 AM
Authorized User
 
Join Date: Aug 2004
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default

well you create a component, set its size, and overwrite its paintComponent method to draw the ovals. Their x/y coordinate is based on the 0,0 x/y coordinate of the component. Move the component and, of course, whatever you paint on it goes with it. If all you are doing is adding AWT/Swing components, then you don't have to overwrite the paint method..just add it to a container like normal. Overwriting the paint method is used only for custom components. I hope this makes sense.
 
Old September 5th, 2004, 11:24 PM
Registered User
 
Join Date: Aug 2004
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi hlchuah77,
If you would like to make Java interface, you may try JFrameBuilder. The generated code is easy to maintain. but It doesn't support applet.

----------
Create your Java GUI application in minutes, http://www.mars3000.com
 
Old September 10th, 2004, 02:57 AM
Authorized User
 
Join Date: Jun 2004
Posts: 99
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to hlchuah77
Default

Thanks ya Gator, and Pool.

I am not here for quite sometimes, anyway, thanks a lot for the opinion.






Similar Threads
Thread Thread Starter Forum Replies Last Post
Drag and drop vpinhao Beginning VB 6 0 September 11th, 2006 01:33 PM
Report development tool prathapachandran C# 0 June 14th, 2006 11:37 PM
I need a software development tool for building da surendran General .NET 0 February 17th, 2005 04:48 AM
Drag/Drop bmains Javascript 1 September 22nd, 2004 07:29 PM





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