Re: JTextField - how to disable selecting text in this component?
- From: "dako" <hidi@xxxxx>
- Date: 28 Dec 2006 23:21:20 -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 forget say I don't want to prevent component from puting text
in it but only whilst selecting text in it. Is it imposible?
.
- Follow-Ups:
- 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: JTextField - how to disable selecting text in this component?
- Next by Date: Java Gui Questions
- 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
|