Re: JXxxx.setEditable(boolean b)
- From: RC <raymond.chui@xxxxxxxxxxxxxxx>
- Date: Thu, 24 May 2007 09:50:14 -0400
Tom Hawtin wrote:
JTextField has setEditable. It's inherited from JTextComponent.
For JTable, use a TableModel that always returns false from isCellEditable. (Or extend JTable and override its isCellEditable.) For tables, using TableModel is usually the way to go.
Thank Q very very much!
.
- Prev by Date: "fading" graphics using Graphics2D
- Next by Date: GUI best practices?
- Previous by thread: "fading" graphics using Graphics2D
- Next by thread: GUI best practices?
- Index(es):