Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Drawing a rectagle border around a cell

Status
Not open for further replies.

kohinoor2007

Programmer
Mar 21, 2007
69
DE
Hi Guys,

Iam working on a JTable and I programatically select a cell using
the "table.changeSelection" method.Want the border of the cell also to be drawn with a rectangle.

The same way as when one goes and selects a cell with the mouse,the cell border is drawn with a rectangle.How could this border be drawn programatically?

Thanks...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top