How to keep the highlight when the JTextComponent lose focus?

I wanted to do some basic copy/cut/paste on the JTextPane from the Menu. But when I selected the menu, the highlight disappeared. How do keep the highlight?
The only topic I found about this was here:
http://forum.java.sun.com/thread.jsp?forum=57&thread=214931
but it appeared intimidating and not exactly what I needed.

Most javax objects will accept things in <html> tags why don't you try setting them onto the JTextPane (never tried this btw but should be worth a try) using html and the transferring the same syntax to the output email

Similar Messages

  • How do I change the color of the highlight when hovering over answers in the quiz?

    Hi
    I am trying to change the color of the highlight when hovering over answers in the quiz.  My companies standard font color is grey and so is the highlight when i hover answers.
    Is it possible to change this?
    Thanks
    Charlene

    No, it is (still) not possible to change that hover color, not even in CP8.0.1. I recommend to enter a feature request: Adobe - Feature Request/Bug Report Form

  • How to Keep Custom Brushes in the Brush Panel Flyout Menu?

    So I have a set of brushes that I mostly commonly use. However, I still use other brushes on occasion. When I load those brushes, my custom brush set doesn't stay in the flyout menu and I have no choice but to find the brush file and reload it. Every time.
    It's getting to be a pain in the butt, so I'm wondering if there is a way to permanently keep your custom brush set in the flyout menu of the brush panel I've attached a screen shot in case what I wanted wasn't quite clear! I want my custom brushes to go where the green area is point.
    Also I'm running a Japanese version of PS, but I'm pretty sure almost all the menu places remain the same. I translated some of the menu (although it might not be the exact same as the US CS6, but if you give me instructions, I'm pretty sure I can figure it out!)

    Thanks! You're a life saver
    iPhoneから送信
    2014/10/31 16:16、R_Kelly <[email protected]> のメッセージ:
    How to Keep Custom Brushes in the Brush Panel Flyout Menu?
    created by R_Kelly in Photoshop General Discussion - View the full discussion
    Looks like you using mac os x?
    There are two places you can put your brush presets file:
    1. /Macintosh HD /Applications/Adobe Photoshop CS6/Presets/Brushes
    2. /Users/User Name/Library/Application Support/Adobe/Adobe Photoshop CS6/Presets/Brushes
    The difference is that the ones in the cs6 application folder show in your red area and the ones in the library show up below the red area with a separator line
    Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at https://forums.adobe.com/message/6886054#6886054
    Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page:
    To unsubscribe from this thread, please visit the message page at . In the Actions box on the right, click the Stop Email Notifications link.
    Start a new discussion in Photoshop General Discussion by email or at Adobe Community
    For more information about maintaining your forum email notifications please go to http://forums.adobe.com/thread/416458?tstart=0.

  • I've lost my iPhone 4... How can I find it when the device is offline when using "find my iPhone app"????? Any way of getting a location from it????

    I've lost my iPhone 4... How can I find it when the device is off linesmen using "find my iPhone app"????? Any way of getting a location from it?????

    No. It must be online in order to locate it.
    What To Do If Your iDevice Is Lost Or Stolen
    iPhone, iPod Touch, and iPad
    If you activated Find My Phone before it was lost or stolen, you can track it only if it is connected to the Internet by Wi-Fi or cellular. What you cannot do is track your device using a serial number or other identifying number. You cannot expect Apple or anyone else to find your device for you. You cannot recover your loss unless you insure your device for such loss. It is not covered by your warranty.
    If your iPhone, iPod, iPod Touch, or iPad is lost or stolen what do you do? There are things you should have done in advance - before you lost it or it was stolen - and some things to do after the fact. Here are some suggestions:
    This link, Re: Help! I misplaced / lost my iPhone 5 today morning in delta Chelsea hotel downtown an I am not able to track it. Please help!, has some good advice regarding your options when your iDevice is lost or stolen.
      1. Reporting a lost or stolen Apple product
      2. Find my lost iPod Touch
      3. AT&T. Sprint, and Verizon can block stolen phones/tablets
      4. What-To-Do-When-Iphone-Is-Stolen
      5. iCloud- Use Lost Mode
      6. What to do if your iOS device is lost or stolen
      7. 6 Ways to Track and Recover Your Lost/Stolen iPhone
      8. Find My iPhone
      9. Report Stolen iPad | Stolen Lost Found Online
    It pays to be proactive by following the advice on using Find My Phone before you lose your device:
      1. Find My iPhone
      2. Setup your iDevice on iCloud
      3. OS X Lion/Mountain Lion- About Find My Mac
      4. How To Set Up Free Find Your iPhone (Even on Unsupported Devices)

  • How do i put a cover on the album when the album isnt a part of the itunes store?

    How do i put a cover on the album when the album isnt a part of the itunes store?

    fishmore wrote:
    BUT the image didn't actually work and all I ended up with was the word JPEG and a generic image... Any assistance would be appreciated - Thank you.
    Sounds like you copied an icon from the icon spot in a Get Info window for an image file, then pasted that intoo the same spot in the Get Info window for your folder. As you found out, that won't work - unless the image file already has a custom icon, that is.
    Visually, it's hard to tell if an image file has a custom icon, particularly if View Options for a folder (or the desktop) has been set to 'show icon preview' - the OS will use Preview to make an icon for that file 'on the fly', but it does not really exist as far as being a copyable icon.
    For what you want to do, the solution is really very easy.
    Do a Get Info on the image file whose icon you want to copy for your folder. In that Get Info window is a larger depiction of the image about halfway down - double-click that, and it should open in Preview.
    Press Command-A (that's Select All in the Edit menu).
    Press Command-C (that's Copy in the Edit menu).
    Close Preview, close the Get Info window for the image file.
    Open the Get Info window for your folder.
    Select the icon in the upper left by clicking it once - a blue border should appear around it.
    Press Command-V (that's Paste in the Edit menu).
    Close the Get Info window, and you're done.
    Comment - that's a nice way to make unique folder icons, but there is one drawback: how to distinguish visually between a folder with such an icon and an image file.
    One way, old school, is to append the character ƒ to the end of the name you give the folder. That character is easily generated by pressing Option-F and can be a visual indicator that the item is actually a folder and not an image.

  • My messages won't say the contact name only shows the phone number, how do you change this when the contact is in my phone under that number already?

    My messages won't say the contact name only shows the phone number, how do you change this when the contact is in my phone under that number already?

    I thought that at first, but I have text this person before and had received responses in a timely manner. Its just weird that it all of a sudden removed their name.
    Would this affect the delivery of the text message?

  • I have a new computer and my old drive has my UNSAVED bookmarks on it and I want to import them, how do I do it when the bookmarks are not SAVED?

    I have a new computer and my old drive has my UNSAVED bookmarks on it and I want to import them, how do I do it when the bookmarks are not SAVED?

    You can backup the bookmarks on the old computer and create a JSON or HTML backup and restore or import this file in the Bookmarks Manager (Bookmarks > Show All Bookmarks).
    You can use an USB stick to transfer the saved bookmarks file to the new computer.<br />
    You can also copy the places.sqlite file from that computer to have the bookmarks and the history.
    *http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox
    *http://kb.mozillazine.org/Backing_up_and_restoring_bookmarks_-_Firefox

  • How to keep data integrity with the two business service in OSB 10.3.1.0

    How to keep data integrity with the two business service in OSB 10.3.1.0
    In our customer system, customer want to keep data integerity between two businness service. I thinks this is XA transaction issue.
    Basing customer requirment, I created a testcase but I can't keep data integerity, For detail information, please refer the attached docs.

    Can you please explain what you meant my data integrity in your use case?
    Manoj

  • How to update a chart when the array is updated

    Hi I am using an array to populate a chart in FB3 and having trouble updating the chart when the array is updated.
    Chart
             <mx:Label id="archiveTitle" x="10" y="10" text="Current Archive " fontSize="14" fontWeight="bold"/>
             <mx:PieChart id="chart" height="130" width="300" color="0x323232"
                showDataTips="false" dataProvider="{ratingAC}"  y="22">
                 <mx:series>
                    <mx:PieSeries field="Rating"/>
                </mx:series>
            </mx:PieChart>
    Array + Vars
             [Bindable]
             public var newsDB:ArrayCollection = mx.core.Application.application.newsDB as ArrayCollection;
             [Bindable]
             private var positive:int = 1;
             [Bindable]
             private var neutral:int = 0;
             [Bindable]
             private var negative:int = 0;
             [Bindable]
             private var ratingAC:ArrayCollection = new ArrayCollection([
             { Rating: 1 },  // no data
             { Rating: positive }, // [0] positive
             { Rating: neutral }, // [1] neutral
             { Rating: negative }  // [2] negative
            private function init():void{
                   buildChart();
                   newsDB.addEventListener(CollectionEvent.COLLECTION_CHANGE, test);
                   newsDB.addEventListener(CollectionEvent.COLLECTION_CHANGE, buildChart);
            private function test(e:CollectionEvent):void{
                 trace("array changed");
                 positive = 20
            private function buildChart(e:CollectionEvent=null):void{
                 for(var i:int; i<newsDB.length; i++){
                      if(newsDB[i].rateItem == 0){
                           trace(positive);
                           positive += 1;
                           //ratingAC.setItemAt(positive,0);
                           trace(positive);
                      if(newsDB[i].rateItem == 1){
                           neutral += 1;
                      if(newsDB[i].rateItem == 2){
                           negative += 1;

    Sorry, in my app I have an ArrayCollection of items from a news feed that the user has deemed important, and given each item a rating. The For loop will loop through the "newsDB" array and set the var accordingly (positive, negative, neutral). The variables are what is populating the arrayCollection (ratingAC). How would I either a) bind the variables to the ArrayCollection so that it updates when one has changed, or b) update the specific index in the array collection. When debugging, i notice that the variables are updating, but the arrayCollection is not.
    Thanks in advance!

  • How to solve illustrator cs6 save as cs5 problem about the stroke(when the stroke with clipping mask and color is gradient, save as cs5 will change to embed ).

    how to solve illustrator cs6 save as cs5 problem about the stroke(when the stroke with clipping mask and color is gradient, save as cs5 will change to embed ).

    Because it was not possible to apply a gradient to a stroke in CS5. When you open the file in CS5, it is reduced to something that can be rendered in CS5.

  • How to view the date when the Customers credit limit updated in SAP-FSCM?

    How to view the date when the Customers credit limit updated in SAP-FSCM?

    OK you can look at field - LIMIT_CHG_DATE in the table - UKMBP_CMS_SGM via SE16
    I would assume you would want to run it based on a date range.

  • How do i create a wave effect on the dock when the cursor passes over it?

    how do i create a wave effect on the dock when the cursor passes over it?

    In System Preferences > Dock > check "magnification"  and move the slider towards the max side.

  • How can I generate data when the link is click on?

    i have written a stackoverflow question ,
    would like some input if you have any , thanks, i would like to stay away from using jquery
    http://stackoverflow.com/questions/23143436/how-can-i-generate-data-when-the-link-is-click -on/23143813?noredirect=1#23143813

    I think you need to rephrase your question and be more specific. Also for me the images you are referring to do not exist. From your question I am interpreting it as "how do I program?"

  • How can i find out when the Creative Cloud be available in my country?

    how can i find out when the Creative Cloud be available in my country?

    This information is not available. We are working to add more countries, the newest being South Africa which will be added by the end of November. We are working to make this process more transparent. I understand how frustrating it is to not know if and/or when the Creative Cloud will be available in your country.

  • How do you quit mail when the  'quit mail' is not illuminated

    how do you quit mail when the 'quit mail' is not illuminated

    Command ⌘ + Q, or if that doesn't work, force quit by pressing Command ⌘ + option + esc, selecting Mail, and then Force Quit.

Maybe you are looking for

  • HT1918 Why can't I put no billing information with an existing Game Center as the Apple ID?

    I want to make an Apple ID with existing Game Center, but I don't have a credit card so it won't let me. On an article, it says that I need to make a new one in order to put no billing information, is it possible to put none for my existing Game Cent

  • IPhoto disappeared from external hard drive

    My 3TB hard drive died recently, and I purchased a new iMac and attempted to restore all of my data from my external hard drive. This was successful EXCEPT that my iphoto library has completely diasppeared from my time machine/external hard drive. I

  • Not booting after update (10.6.4)

    I updated my MacBook the other day and after rebooting, it gets to the gray screen with the apple logo and the spinning disk. It then just sits there. I have tried booting to safemode, resetting the smc and nvram, I've run Disk Utility from CD and re

  • Unable to start Illustrator CS6 64-bit on Windows 7

    I installed the CS6 Master Upgrade yesterday and almost all of the apps are working correctly. However, when I try to open Illustrator CS6 64-bit it returns this error message: "The application was unable to start correctly (0xc000007b). Click OK to

  • My Ipod touch 4g won't turn on, and my home button is broken

    I was trying to downgrade my Ipod touch 4g from 6.1.3 to 6.1.2 and It didnt went through but now my Ipod won't turn on and I cant do the home+power button because my Home button doesn't work....PLZ HELPPP