From owner-freebsd-java Thu Feb 21 11:32:43 2002 Delivered-To: freebsd-java@freebsd.org Received: from l04.research.kpn.com (l04.research.kpn.com [139.63.192.204]) by hub.freebsd.org (Postfix) with ESMTP id 7E89D37B400 for ; Thu, 21 Feb 2002 11:32:40 -0800 (PST) Received: by l04.research.kpn.com with Internet Mail Service (5.5.2653.19) id <1Z1F7FAQ>; Thu, 21 Feb 2002 20:32:39 +0100 Message-ID: <59063B5B4D98D311BC0D0001FA7E452205FDA389@l04.research.kpn.com> From: "Koster, K.J." To: 'j mckitrick' Cc: freebsd-java@FreeBSD.ORG Subject: RE: Best IDE for slow system? Date: Thu, 21 Feb 2002 20:32:38 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Dear Mikhail, > > Good points, all of them. I've been trying to decide between learning > GTK or Swing to write a simple instrument control program. > I learned Swing and the dreaded GridBagLayout. It's actually quite simple to use, I find. Generating the gui is a bad idea, IMNSHO, since you end up having to write the difficult bits yourself anyway. When the going gets tough, the IDE's let you down. The gridbag becomes easy after you've written a little wrapper around it with sane defaults and some convenience methods. Simply entend the JPanel with a default GridBagLayout and it'll all make sense after a few frustrating days. (I won't deny that) The Core Swing book actually features a little experimentation applet that lets you play with the various layout managers. I'm sure it's up for download somewhere. I never used GTK, so I cannot comment on that. As for IDE: I develop with FreeBSD's default vi and Ant 1.4.1. Ant's only virtue is that it will work on all OS's. In my current project we have a mix of FreeBSD, Linux, cygwin on Windows and Windows on the developer's desktops and roll-out is on a Solaris box. How's that for heterogenous environments? Our only portability issue turned out to be table names in MySQL, which we work around by using lower case table names only. Kees Jan ===================================================== You can't have everything. Where would you put it? [Steven Wright] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message