From sander at hoentjen.eu Fri Jun 5 03:49:46 2015 Content-Type: multipart/mixed; boundary="===============2103996217669147196==" MIME-Version: 1.0 From: Sander Hoentjen To: java-devel at lists.fedoraproject.org Subject: Re: [fedora-java] newbie question Date: Fri, 20 Apr 2007 15:32:01 +0200 Message-ID: <1177075921.23615.27.camel@peecee.hoentjen.eu> In-Reply-To: 20070419134337.GB9584@redhat.com --===============2103996217669147196== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable On Thu, 2007-04-19 at 09:43 -0400, Andrew Overholt wrote: > Hi, > = > * Sander Hoentjen [2007-04-18 17:28]: > > = > > I got as far as patching it to build with fedora's javac > = > What did you have to do? Well the first problem is that there is a file: --------------------------------------------- public class UrlLabel extends JEditorPane implements HyperlinkListener { private final String url; public UrlLabel(String url) { this (url, url); } public UrlLabel(String url, String description) { this.url =3D url; setContentType("text/html"); setText(""+description+""); setToolTipText(url); setEditable(false); setOpaque(false); addHyperlinkListener(this); } ------------------------------------ the setContentType line causes a null-pointer exception, so I commented out that line. Of course it should be fixed instead of commenting out, but without it at least i can test the program as a whole. What should I do to get this fixed? It seems the bug is in the java implementation, not the program, right? Sander --===============2103996217669147196==--