LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 09-02-2010, 08:50 AM   #1
harry8potter
LQ Newbie
 
Registered: Sep 2010
Posts: 2

Rep: Reputation: 0
Able to Copy Text from uneditable Text Boxes(JTextfields) in Linux


Hi please any one can help me on this,

I have JTextfields in my application, i have overrided the JTextfield copy method using

public void copy();
Jtextfield.setHighlighter(null);

So i am not able to copy text from JTextfield to other text editor in windows.

In Linux MouseDrag on Jtextfield data and paste in text editor also not able to paste data
but MouseDrag on Jtextfield data and using center button of mouse(scroller) able to paste data on other text editor
same thing is happening with double click and tab also.

In windows it's working fine.
 
Old 09-02-2010, 11:08 AM   #2
sem007
Member
 
Registered: Nov 2006
Distribution: RHEL, CentOS, Debian Lenny, Ubuntu
Posts: 638

Rep: Reputation: 111Reputation: 111
Hi harry8potter

wel-come to LQ.

This is member intro forum so better you post you thread in Linux newbie forum or General forum so someone can help you.

Regards,
 
Old 09-03-2010, 05:44 AM   #3
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Lubuntu
Posts: 19,176
Blog Entries: 4

Rep: Reputation: 430Reputation: 430Reputation: 430Reputation: 430Reputation: 430
Moved: This thread is more suitable in Linux-Software and has been moved accordingly to help your thread/question get the exposure it deserves.
 
Old 09-07-2010, 05:52 AM   #4
linux_hy
Member
 
Registered: Oct 2006
Posts: 66

Rep: Reputation: -2
that may be associate to system clipboard? I just only guessed
when the center button is pressed or clicked,some monitor process copy the selected text to the system clipboard or something others which used to save the selected text temporarily,
and then the button is pressed or clicked,the monitor copy the text from in clipboard to the window in which is clicked or pressed
I just guessed it
 
Old 09-09-2010, 12:42 AM   #5
harry8potter
LQ Newbie
 
Registered: Sep 2010
Posts: 2

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by linux_hy View Post
that may be associate to system clipboard? I just only guessed
when the center button is pressed or clicked,some monitor process copy the selected text to the system clipboard or something others which used to save the selected text temporarily,
and then the button is pressed or clicked,the monitor copy the text from in clipboard to the window in which is clicked or pressed
I just guessed it
Thank you linux_hy,

that's correct now i have replaced system clipboard with "" in my code now it's working fine.
 
Old 09-09-2010, 06:51 AM   #6
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713
If this is solved, mark the thread as solved.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to copy text from vmware from linux text terminal to word document in windows? meandsushil Linux - Newbie 40 01-12-2011 06:06 AM
Firefox problem with text boxes automatically highlighting text loki993 Linux - Software 2 07-16-2010 01:52 PM
[SOLVED] copy and paste text among text documents in Linux ethereal1m Linux - Newbie 5 03-28-2010 03:14 AM
[SOLVED] All text in text editor turned to boxes... unclerick94 Linux - Newbie 2 07-17-2009 04:14 PM


All times are GMT -5. The time now is 09:32 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration