• Post Reply Bookmark Topic Watch Topic
  • New Topic

Customizing look'n feel - OutlineView - sorting icon  RSS feed

 
Ale Ras
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We are customizing look'n feel of our application where we are using OutlineView(OpenIDE) to display results.

We have already changed our background of the Outlineview, the foreground, fonts.. by overriding the method getTableCellRendererComponent() of the DefaultOutlineCellRenderer class.

Finally, I was also trying to modify the sorting(ascending/descending) icons from table headers but now I am not even sure if its possible to do that.

Can someone confirm if its actually possible to do that. And if yes, how? :}

Thanks!
 
Rob Camick
Ranch Hand
Posts: 2756
12
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You should be able to change the sorting icons by using the UIManager.

See UIManager Defaults for the UIManager property to change for the JTable.
 
Ale Ras
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the reply Rob,

I already tried to change the sorting icons by using the UIManager as you are suggesting in the past, but it never worked in our OutlineViews.
But I was able to make it work for JTables.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!