• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to remove Jtable border

 
kitman yiu
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How can I remove the light blue border? I tried everything that I know
http://i.stack.imgur.com/yberL.png
 
Rob Camick
Ranch Hand
Posts: 2700
10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That is probably the Border of the scroll pane. Try:

 
kitman yiu
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
tried that didn't work , found out that it was because the jtable contains a JScrollPane the border comes from the JScrollPane.
 
Darryl Burke
Bartender
Posts: 5155
11
Java Netbeans IDE Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
kitman yiu wrote:tried that didn't work , found out that it was because the jtable contains a JScrollPane the border comes from the JScrollPane.

It really doesn't make sense to say that the table 'contains' a scroll pane.

But on the other forum where you asked this question, you said
kitman20022002 wrote:Thanks , I didn't know because about the JScrollPane


In future, please BeForthrightWhenCrossPostingToOtherSites.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!