Article View: borland.public.jbuilder.java.swing
Article #12634Re: Can't init JScrollPane in apple's MRJ
From: Paul Furbacher
Date: Thu, 03 Dec 1998 00:00
Date: Thu, 03 Dec 1998 00:00
40 lines
1808 bytes
1808 bytes
Eclipse wrote: > My program is using Swing's JScrollPane and > WindowsLook and Feel in the UIManager. > However, MRJ throws the exceptions while > initializing veritical scrollbar. I notice that it > is caused by the MetalScrollBarUI. As I am > using Windows Look and Feel, why it use > MetalScrollBar? Because Window L&F is only "allowed" to work on a WinOS machine. MS hasn't given JavaSoft permission to allow its use on any other platform -- or so that's my understanding of it. Hence, the default look is Metal. >Also, why does it throw > null pointer exception while PC and Solaris > are alright? Please tell me how to fix it if you > know. > This is the exceptions thrown: > > java.lang.NullPointerExceptionatcom.sun.java.swing.plaf.metal.MetalScrollBar > UI.installUI(MetalScrollBarUI.java:94) I don't know the exact reason for this. What version of MRJ are you using? Also, you might want to subscribe to the MRJ-Dev listserve in order to ask you questions to a very knowledgeable group, including MRJ engineers. gemma.apple.com/java or more directly http://www.lists.apple.com/mrj.html Paul Furbacher
Technical Details
Message-ID:
<3666F499.4CD6ADC2@bilbo.bio.purdue.edu>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<73fe5c$9gi21@forums.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,dfc7097a02cf369e X-Google-Attributes: gid111d45,public From: Paul Furbacher <pf@bilbo.bio.purdue.edu> Subject: Re: Can't init JScrollPane in apple's MRJ Date: 1998/12/03 Message-ID: <3666F499.4CD6ADC2@bilbo.bio.purdue.edu> X-Deja-AN: 418352713 Content-Transfer-Encoding: 7bit References: <73fe5c$9gi21@forums.borland.com> To: Eclipse <peterlai@eclipse.net> Content-Type: text/plain; charset=us-ascii Organization: Biological Sciences, Purdue Univ. Mime-Version: 1.0 Reply-To: pf@bilbo.bio.purdue.edu Newsgroups: borland.public.jbuilder.java.swing