Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Table Cell Renderer

 
Dalia Sultana
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am trying to create a glossy effect on some table rows like the one seen in office communicator when one selects a contact. I am not sure how to approach it though.

Please help.
 
Maneesh Godbole
Saloon Keeper
Posts: 11092
13
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sounds like you need to tweak the paint.
Take a look at Jon Lipsky's blog where he talks about creating iTunes like panel. Is this the same "gloss" effect you are talking about? If not can you please post a screen shot?
 
Dalia Sultana
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I will take a look at the blog, meanwhile, this is what i am talking about...

 
Dalia Sultana
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
more like a gradient actually.
 
Maneesh Godbole
Saloon Keeper
Posts: 11092
13
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Dalia Sultana:
I will take a look at the blog, meanwhile, this is what i am talking about...



Cant see any image
 
Dalia Sultana
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
perhaps I didn't do it right. How should I add a snapshot. I only added an image using the images button on the "Post A Reply" page.
 
Maneesh Godbole
Saloon Keeper
Posts: 11092
13
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Dalia Sultana:
perhaps I didn't do it right. How should I add a snapshot. I only added an image using the images button on the "Post A Reply" page.


Use the "" option. It has an image tag.
 
Dalia Sultana
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Maneesh Godbole:


Use the "" option. It has an image tag.


I am not sure if it a different image tag or not. The insereted code looks the same. But i'll give it a try. Here it goes...

 
Maneesh Godbole
Saloon Keeper
Posts: 11092
13
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Dalia Sultana:


I am not sure if it a different image tag or not. The insereted code looks the same. But i'll give it a try. Here it goes...



Nope. Cant see it. Maybe you better have a look at the blog I mentioned. It looks similar to some screenshots of the office communicator I saw here
 
Dalia Sultana
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Great idea

I am talking about the effect they have on the third screenshot where Rebecca Laszlo is selected. Though it really looks a lot sleeker in reality.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic