This week's book giveaway is in the Server-Side JavaScript and NodeJS forum.
We're giving away four copies of Modern JavaScript for the Impatient and have Cay Horstmann on-line!
See this thread for details.
Win a copy of Modern JavaScript for the Impatient this week in the Server-Side JavaScript and NodeJS forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Look and feel problem

 
Ranch Hand
Posts: 175
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello all,
A previous programmer was using a Look and feel and a project I am working on now. and whenever I add a frame to the project, all the colors of the panels inside this frame are not shown.

Anybody knows how to solve this problem ?

thanks a lot
regards,
 
aymane chetibi
Ranch Hand
Posts: 175
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
anybody pleaaaaaaaaaaaaaaaaaaaase knows how can I keep the color of my JPanels no matter what look and feel it is???

thanks a lot in advance.

regards,
 
Ranch Hand
Posts: 4632
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
you've identified the problem as being with the look and feel, which
you have kept secret.

the quality of the responses is directly proportional to the quality of the question.

post a working sample program that demonstartes the problem - we can then see
what L&F, and possibly offer a solution/workaround.

if a 3rd party L&F:
1) try to edit your original post's subject line to include the L&F name
(might get someone's attention that also uses the L&F)
2) see if there is a forum at the L&F's website
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hI ,

i think you must set all the colors in you panel explicitly.
coz even a default look and feel set all the color define by it

good luck
 
aymane chetibi
Ranch Hand
Posts: 175
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think the problem was because some Panels Transparet option was set to true in the look and feel.

I set it to true, now they are showing correctly but the buttons still have problems.


thanks for your answers.
regards,
 
    Bookmark Topic Watch Topic
  • New Topic