• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to replace JTabbedPane's bevel border?

 
Max Simpson
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Any way to replace the bevel border of JTabbedPane with something else like a line or etched border?
Thanks!
 
Don Kiddick
Ranch Hand
Posts: 580
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
myTabbedPane.setBorder(new LineBorder(Color.RED));

?
 
Max Simpson
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That will add a border, it will not get rid of the bevel edge around the tabbedPane. Any other ideas?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!