Linked by Thom Holwerda on Wed 9th May 2007 10:08 UTC, submitted by Ford Prefect
Java Sun Microsystems has announced the release of an open-source version of its Java Development Kit for Java Platform Standard Edition. Sun has contributed the software to the OpenJDK Community as free software under the GNU GPLv2. Sun also announced that OpenJDK-based implementations can use the JCK (Java SE 6 Technical Compatibility Kit) to establish compatibility with the Java SE 6 specification. OpenBSD has already started importing the release.
Thread beginning with comment 238919
To read all comments associated with this story, please click here.
Gui development
by snowflake on Wed 9th May 2007 20:25 UTC
Member since:

>it's not a problem, it's just you don't know what you do

>java layout is very powerfull and take time to >understand it

>anyway gui development is not a big part of a software >development...

GUI development is a big part of software develpment if there are many user interfaces and some of them are complex. To the user, a pleasant looking and easily mastered interface matters a lot.

I think the statement you made that I don't understand what's going on is probably true. Perhaps Java GUI development was never meant to be RAD which is why you say there is a learning curve to writing Java GUI apps. I am so used to the Windows way of doing GUI development (cf. Delphi and WinForms, even VB) that I am surprised how much work it requires to create a decent looking Java GUI. I think the extra learning curve in Java explains why many Java GUIs apps look pretty bad (there are a few which look good, eg Eclipse and Azureus) because the programmer has relied heavily on the layout managers which often do a poor job (eg controls too close together or even jammed up against each other) and hasn't had the time to tune the look of the interface.

One misconception among the Java community and OSS community in general is that layout on WinForms and Delphi does not require pixel accurate placement. When a button is placed on a form, we don't specify the x/y coordinate, we position it where we want the control to be with the mouse, then set the alignment and anchor properties. These environments, rather than having layout managers (although Winform does have to an extent) these environments use the concept of alignment and anchor properties. These features allow windows to be resized, with controls adjusting accordingly. I know many balk at this approach but the vast majority of user interfaces are developed this way.

I would love to have the ease of Windows GUI development on Java but I don't think it is quite there yet, if it were we would see a lot more GUI applications written in Java than we currently have. Maybe with the release of GPL Java we will see some changes here.

Reply Score: 2

RE: Gui development
by andrewg on Wed 9th May 2007 21:12 in reply to "Gui development"
andrewg Member since:

I have no doubt that you will see a mini explosion of high quality JRE based desktop apps in the next year.

I highly recommend you have a look at this quick tutorial to see how quickly you can knock something together with Netbeans

The above link is for the preview release of Netbeans 6 but 5.5 is also very good. Netbeans is far better than it was with with versions 3.5 and 4. With v5 things started improving.

JDK comes bundled with the Java DB (Derby) so you have a database built into the VM if you need it just like Mac has SQLite. Sun is finally getting it the JDK/JVM and development tools are finally focused on making things easy for the developer and attractive to the end user. The mindset has clearly changed.

Edited 2007-05-09 21:15

Reply Parent Score: 3