Re: JTextField - how to disable selecting text in this component?
- From: "dako" <hidi@xxxxx>
- Date: 28 Dec 2006 23:21:00 -0800
Brandon McCombs napisal(a):
setEnabled(false) and setEditable(false) are different and
setEditable(false) would be what you want to prevent people from putting
text in it. Disabling the component is done by setEnabled() which wasn't
what Mearvk proposed to you.
Sorry. I forgotten say I don't want to prevent component from puting
text in it but only whilst selecting text in it. Is it imposible?
.
- References:
- JTextField - how to disable selecting text in this component?
- From: dako
- Re: JTextField - how to disable selecting text in this component?
- From: mearvk
- Re: JTextField - how to disable selecting text in this component?
- From: dako
- Re: JTextField - how to disable selecting text in this component?
- From: Brandon McCombs
- JTextField - how to disable selecting text in this component?
- Prev by Date: Re: JNLP/Web Start Question
- Next by Date: Re: JTextField - how to disable selecting text in this component?
- Previous by thread: Re: JTextField - how to disable selecting text in this component?
- Next by thread: Re: JTextField - how to disable selecting text in this component?
- Index(es):
Relevant Pages
|