Article View: borland.public.jbuilder.java.swing
Article #496Re: Background colors for Textfields
From: Magnus
Date: Tue, 19 Jul 2005 21:43
Date: Tue, 19 Jul 2005 21:43
41 lines
2654 bytes
2654 bytes
Lori M Olson [TeamB] wrote: > Magnus wrote: > >> Hi, >> >> In my app I set the background color for some fields if other fields >> and calculations trigger an alarm or warning. >> Yesterday, when someone tested the app and made a print screen it >> didn't show any colors on his screen. It has always showed on mine. >> I don't even now where to start debugging this ... >> Can the problem be because I use XYlayout (working on replacing all >> that since I can't deploy otherwise). >> Another thing that was brought to my attention was that when drawing a >> tree (including the default one with food, sports etc.) it doesn't >> always show lines between nodes. Again, I have it on my screen. >> >> Anyone know how to fix this or ever solved a similar problem? >> >> Magnus > > > The "missing lines between nodes" thing is a JRE bug. Not sure when it > appeared or when it was fixed. There are many work-arounds posted for > this. > > You'd better make sure that you are developing and deploying on exactly > the same JDK/JRE if you want to debug these kinds of issues. Thanks Lori, I tried to run the app with different LookAndFeel: "javax.swing.plaf.metal.MetalLookAndFeel" "com.sun.java.swing.plaf.motif.MotifLookAndFeel" I looked into the redistribute directory under JBuilder and saw that Borland has a LookAndFeel that I want to test. I just can't find what string to use (or what to include or what I need) to even see it. I can work with it during design but not at runtime. Do you know if the LookAndFeel might solve the lines thing?
Technical Details
Message-ID:
<42dd73bf@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!news-out.newsfeeds.com!propagator3-LAX.newsfeeds.com!news-in.superfeed.net!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<42dd1963@newsgroups.borland.com> <42dd55c7$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 111d45,3e43a3ca5a7470af X-Google-Attributes: gid111d45,public X-Google-Language: ENGLISH,ASCII-7-bit Date: Tue, 19 Jul 2005 17:43:13 -0400 From: Magnus <magnus_bjorkman@iwon.com> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax) X-Accept-Language: en-us, en, sv MIME-Version: 1.0 Newsgroups: borland.public.jbuilder.java.swing Subject: Re: Background colors for Textfields References: <42dd1963@newsgroups.borland.com> <42dd55c7$1@newsgroups.borland.com> In-Reply-To: <42dd55c7$1@newsgroups.borland.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 69.69.75.17 Message-ID: <42dd73bf@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1121809343 69.69.75.17 (19 Jul 2005 14:42:23 -0700) Lines: 42 Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!news-out.newsfeeds.com!propagator3-LAX.newsfeeds.com!news-in.superfeed.net!caladan.landsraad.net!newsgroups.borland.com!not-for-mail