Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
    Bookmark Topic Watch Topic
  • New Topic

Hi anyone got idia how to add gardient colors to a JComponent

 
Udara Amarasinghe
Ranch Hand
Posts: 109
Java Netbeans IDE Oracle
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hi anyone got idea how to add gradient colors to a JComponents.
 
Rob Camick
Ranch Hand
Posts: 2703
10
  • Mark post as helpful
  • send pies
  • Report post to moderator
The Background Panel shows one simple example.
 
pete stein
Bartender
Posts: 1561
  • Mark post as helpful
  • send pies
  • Report post to moderator
also see cross-post: How to add Gradient colors to JComponent
 
Maneesh Godbole
Bartender
Posts: 11445
18
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Report post to moderator
Udara,
Please post only one thread per question. Let us continue the discussion in the other thread.
Closing this one.
 
permaculture is a more symbiotic relationship with nature so I can be even lazier. Read tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!