Skip site navigation (1)Skip section navigation (2)
Date:      23 Jul 2003 23:54:03 +0200
From:      "Georg-W. Koltermann" <g.w.k@web.de>
To:        Lutz Bichler <Lutz.Bichler@UniBw-Muenchen.de>
Cc:        freebsd-java@freebsd.org
Subject:   Re: NullPointerException in Together/jdk1.4.1-p3
Message-ID:  <1058997243.628.64.camel@bat.localnet>
In-Reply-To: <200305200956.53509.Lutz.Bichler@unibw-muenchen.de>
References:  <200305171035.35849.Lutz.Bichler@unibw-muenchen.de> <1053382610.606.6.camel@bat.localnet> <200305200956.53509.Lutz.Bichler@unibw-muenchen.de>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-XM0ZZYXHTyTgLU/9hi0a
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

It occured to me that it might be possible to fix the problem by
applying the patch included below.  Unfortunately this is disallowed by
the Together license, so we cannot be sure.

On Mi, 2003-07-23 at 23:18, Lutz Bichler wrote:
> On Tuesday 20 May 2003 00:16, Georg-W. Koltermann wrote:
> > Together is known not to work with JDK 1.4.x.  Togethersoft stated that
> > the next version would work with 1.4.
> >
> > However, that statement was made before they were acquired by Borland
> >
> > :-)
> >
> > --
> > Regards,
> > Georg.
>=20
> Using jdk1.4.1 on Linux or Windows it works ok. So it seems to be a bug i=
n the=20
> BSD=B4s jdk1.4.1-p3 .
>=20
> Cheers
> 	Lutz

--=-XM0ZZYXHTyTgLU/9hi0a
Content-Disposition: attachment; filename=OIMetalSplitPaneUI.diff
Content-Type: text/plain; name=OIMetalSplitPaneUI.diff; charset=iso-8859-15
Content-Transfer-Encoding: 7bit

--- com/togethersoft/util/ui/plaf/metal/OIMetalSplitPaneUI.jad	Wed Jul  9 10:38:09 2003
+++ com/togethersoft/util/ui/plaf/metal/OIMetalSplitPaneUI.java	Wed Jul  9 13:56:41 2003
@@ -27,9 +27,14 @@
     protected void installKeyboardActions()
     {
         super.installKeyboardActions();
-        super.splitPane.unregisterKeyboardAction(KeyStroke.getKeyStroke(117, 0));
-        if(Workarounds.shouldPatchLookAndFeel())
-            super.splitPane.unregisterKeyboardAction(super.dividerResizeToggleKey);
+        final KeyStroke stroke = KeyStroke.getKeyStroke(117, 0);
+	if (stroke != null)
+            super.splitPane.unregisterKeyboardAction(stroke);
+        if(Workarounds.shouldPatchLookAndFeel()) {
+	    final KeyStroke superStroke = super.dividerResizeToggleKey;
+	    if (superStroke != null)
+                super.splitPane.unregisterKeyboardAction(superStroke);
+	}
         super.dividerResizeToggleKey = KeyStroke.getKeyStroke(119, 8);
         super.splitPane.registerKeyboardAction(super.keyboardResizeToggleListener, super.dividerResizeToggleKey, 1);
     }

--=-XM0ZZYXHTyTgLU/9hi0a--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1058997243.628.64.camel>