A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Swing / AWT / SWT
Disable selection from the JEditorPane
Joined: Jul 15, 2006
Oct 21, 2006 11:30:00
I am using a JEditorPane in my Sun Certified
I need to disable selection of text from the JEditorPane because i use the JEditorPane to display information to the user.
Thanks in advance.
SCJP, SCJD,SCWCD,SCDJWS,SCEA 5 MCP-C#, MCP-ASP.NET -
Life is the biggest school
Joined: Jun 09, 2003
Oct 21, 2006 19:39:00
maybe this is all you need to do
I agree. Here's the link:
subject: Disable selection from the JEditorPane
Multiple text selection in JTextArea
Selection color and selected text color - Urgent
JEditorPane disabling Line Wrap
Disable Copy in JEditorPane
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014