This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes Disable selection from the JEditorPane Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Disable selection from the JEditorPane" Watch "Disable selection from the JEditorPane" New topic

Disable selection from the JEditorPane

Khaled Mahmoud
Ranch Hand

Joined: Jul 15, 2006
Posts: 361
I am using a JEditorPane in my Sun Certified Java Developer programming
I need to disable selection of text from the JEditorPane because i use the JEditorPane to display information to the user.

Thanks in advance.

Life is the biggest school
Michael Dunn
Ranch Hand

Joined: Jun 09, 2003
Posts: 4632
maybe this is all you need to do

GeeCON Prague 2014
subject: Disable selection from the JEditorPane