🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.jbuilder.java.swing
10 messages
10 total messages Started by Magnus Tue, 19 Jul 2005 15:17
Background colors for Textfields
#494
Author: Magnus
Date: Tue, 19 Jul 2005 15:17
16 lines
1692 bytes
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
Re: Background colors for Textfields
#495
Author: Lori M Olson [TeamB]
Date: Tue, 19 Jul 2005 19:34
42 lines
2447 bytes
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.

-- 

Regards,

Lori Olson [TeamB]

------------

Save yourself, and everyone else, some time and search the
newsgroups and the FAQ-O-Matic before posting your next
question.

Google Advanced Newsgroup Search
     http://www.google.ca/advanced_group_search
Other Newsgroup Searches:
     http://www.borland.com/newsgroups/ngsearch.html
Joi Ellis's FAQ-O-Matic:
     http://www.visi.com/~gyles19/fom-serve/cache/1.html
Re: Background colors for Textfields
#496
Author: Magnus
Date: Tue, 19 Jul 2005 21:43
41 lines
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?
Re: Background colors for Textfields
#498
Author: Lori M Olson [TeamB]
Date: Wed, 20 Jul 2005 14:45
37 lines
2170 bytes
Magnus wrote:

> 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?
> 

No.  The JBuilder guys applied one of the workarounds I mentioned for 
JBuilder, but it is not a part of the "redistributable" packages.

-- 

Regards,

Lori Olson [TeamB]

------------

Save yourself, and everyone else, some time and search the
newsgroups and the FAQ-O-Matic before posting your next
question.

Google Advanced Newsgroup Search
     http://www.google.ca/advanced_group_search
Other Newsgroup Searches:
     http://www.borland.com/newsgroups/ngsearch.html
Joi Ellis's FAQ-O-Matic:
     http://www.visi.com/~gyles19/fom-serve/cache/1.html
Re: Background colors for Textfields
#499
Author: Magnus
Date: Wed, 20 Jul 2005 15:29
27 lines
2239 bytes
Lori M Olson [TeamB] wrote:
> Magnus wrote:
> 
>> 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?
>>
> 
> No.  The JBuilder guys applied one of the workarounds I mentioned for 
> JBuilder, but it is not a part of the "redistributable" packages.
> 
Somewhere I read that all libraries in the redist-directory can be , 
well, distributed ... (Now I'm confused about that too).

Now, I would like to look at the Borland's L&F in runtime (even if I 
can't distribute it) or are you telling me that the Borland L&F is only 
to be used during development and design.
Is there a string like: "com.Borland.java.swing.borland.lookandfeel" ?
Re: Background colors for Textfields
#500
Author: Lori M Olson [TeamB]
Date: Wed, 20 Jul 2005 15:41
39 lines
2415 bytes
Magnus wrote:
> Lori M Olson [TeamB] wrote:

>>
>> No.  The JBuilder guys applied one of the workarounds I mentioned for 
>> JBuilder, but it is not a part of the "redistributable" packages.
>>
> Somewhere I read that all libraries in the redist-directory can be , 
> well, distributed ... (Now I'm confused about that too).
> 
> Now, I would like to look at the Borland's L&F in runtime (even if I 
> can't distribute it) or are you telling me that the Borland L&F is only 
> to be used during development and design.
> Is there a string like: "com.Borland.java.swing.borland.lookandfeel" ?

Borland's Look and Feel is in redist (first time in JB2005!).  But it 
does NOT fix the lines problem, which was the question I was answering.

You can Google these groups for how to use the Borland L&F.  It has been 
covered many times.

-- 

Regards,

Lori Olson [TeamB]

------------

Save yourself, and everyone else, some time and search the
newsgroups and the FAQ-O-Matic before posting your next
question.

Google Advanced Newsgroup Search
     http://www.google.ca/advanced_group_search
Other Newsgroup Searches:
     http://www.borland.com/newsgroups/ngsearch.html
Joi Ellis's FAQ-O-Matic:
     http://www.visi.com/~gyles19/fom-serve/cache/1.html
Re: Background colors for Textfields
#502
Author: Magnus
Date: Wed, 20 Jul 2005 15:59
32 lines
2207 bytes

Lori M Olson [TeamB] wrote:

> Magnus wrote:
> 
>> Lori M Olson [TeamB] wrote:
> 
> 
>>>
>>> No.  The JBuilder guys applied one of the workarounds I mentioned for 
>>> JBuilder, but it is not a part of the "redistributable" packages.
>>>
>> Somewhere I read that all libraries in the redist-directory can be , 
>> well, distributed ... (Now I'm confused about that too).
>>
>> Now, I would like to look at the Borland's L&F in runtime (even if I 
>> can't distribute it) or are you telling me that the Borland L&F is 
>> only to be used during development and design.
>> Is there a string like: "com.Borland.java.swing.borland.lookandfeel" ?
> 
> 
> Borland's Look and Feel is in redist (first time in JB2005!).  But it 
> does NOT fix the lines problem, which was the question I was answering.
> 
> You can Google these groups for how to use the Borland L&F.  It has been 
> covered many times.
> 

Ahhhhaaaa, that was what you ment. Makes all the difference :)

Thanks!
Re: Background colors for Textfields
#501
Author: Magnus
Date: Wed, 20 Jul 2005 16:05
22 lines
1663 bytes
Lori M Olson [TeamB] wrote:

> Magnus wrote:
> 
>> Hi,
>>
>> 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.

This just in: Java (JRE) where the colors are missing 1.4.2
Development: 1.4.2

When you say exactly, do I miss an additional number or something else?
Re: Background colors for Textfields
#503
Author: Magnus
Date: Wed, 20 Jul 2005 16:25
22 lines
1928 bytes
Magnus wrote:

> Lori M Olson [TeamB] wrote:
> 
>>
>> 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.
> 
> 
> This just in: Java (JRE) where the colors are missing 1.4.2
> Development: 1.4.2
> 
> When you say exactly, do I miss an additional number or something else?
> 

Both colors and lines in the JTree showed when the "Windows classic" 
style was selected on the WinXP properties (and dissapeared when 
changing back).
Re: Background colors for Textfields
#505
Author: Lori M Olson [TeamB]
Date: Thu, 21 Jul 2005 03:55
27 lines
1821 bytes
Magnus wrote:

> 
> Both colors and lines in the JTree showed when the "Windows classic" 
> style was selected on the WinXP properties (and dissapeared when 
> changing back).

http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4887931

-- 

Regards,

Lori Olson [TeamB]

------------

Save yourself, and everyone else, some time and search the
newsgroups and the FAQ-O-Matic before posting your next
question.

Google Advanced Newsgroup Search
     http://www.google.ca/advanced_group_search
Other Newsgroup Searches:
     http://www.borland.com/newsgroups/ngsearch.html
Joi Ellis's FAQ-O-Matic:
     http://www.visi.com/~gyles19/fom-serve/cache/1.html
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads