This discussion is archived
3 Replies Latest reply: Sep 12, 2012 3:24 AM by 833245 RSS

masking the value of a cell in a JTable

833245 Newbie
Currently Being Moderated
I have JTable object which contains 2 columns (name and value). I want to create a table like below.

Name Value
port 2009
user root
password *****

JTable only allows adding an Object[][] as a row. Now how do I mask the values of the password only such that it does not appear and on the user keyed value is also stored in the tablemodel.



  • Correct Answers - 10 points
  • Helpful Answers - 5 points