Awt.TextArea: does it have to be gray when editable(false) ?

I want to have some text scroll from the bottom to the
top of an applet.
I think it would be a good solution to put the text in
a TextArea, and move the caretPosition. (or simular).
The problem is that when I use setEnabled(false) ,
the colors og the component emediatly changes to it's
original colors.
I know this is not the case with JTextArea, but I would
like to stick with non-swing-components on this one.
Any suggestion ?

Thanx. That worked brilliantly!
Now, I've got a minor problem whith teh scrolling.
My applet implements Runnable, and the scrolling is
happening in the run-method.
The thing is...it's not scrolling smoothly. It rather seems
like the longer lines take longer time.
the run-method is like this
public void run() {
while (true) {
sa.setCaretPosition( sa.getCaretPosition() + sa.getColumns() );
try{
tr.sleep(100);
catch( InterruptedException ie ) {
System.out.println("Feil");
}

Similar Messages

  • HT203167 My iTunes library on laptop is correct/up to date with recent purchases and downloads; however, our desktop computer does not have any of these when logged into Itunes.... how do I add these so both computers have current info?

    The iTunes library on our laptop is correct and up to date with recent purchases and downloads; however, our desktop does not have any of these when using it.  Home sharing is turned "ON" with both computers. Why is the desktop not showing the same content and how do I resolve this?

    From your OLD computer...
    Copy your ENTIRE iTunes FOLDER to an External Drive... and then from the External Drive to your New Computer..
    Full Details Here  >  http://support.apple.com/kb/HT1751
    Also see this migrate iTunes library post by turingtest2

  • Nokia n900 - does it have a video light when you a...

    Nokia n900 - does it have a video light when you are recording video
    Message Edited by j2001m on 10-Nov-2009 04:07 AM
    Message Edited by j2001m on 10-Nov-2009 04:08 AM

    I don't see why not, I'm pretty sure the N97 uses the lights on the Dual LED flash for video - so I'm pretty sure the N900 would just use those. To not make use of them would be kinda stupid..

  • HT4757 Does anyone have any idea of when they might support Sigma raw?

    Does anyone have any idea of when they might support Sigma raw?

    Hello:
    No one here has any clue if or when.  Apple is very "close-hold" about upcoming changes or enhancements.
    I am not being critical, but the TOU prohibit any of us from speculating about future Apple hardware/software plans.
    Barry

  • Does maps have an audio component when you are driving that will talk to you?

    does maps have an audio component that will speak to you while you are driving?  if so, how do you engage it

    No.

  • Lightroom does not create a background layer when editing in Photoshop - on Mac.

    Thought this was a Photoshop problem.  When I select a portion of an image in Photoshop (which has come from Lightroom) and press Delete, it no longer brings up the Fill dialog; it just deletes the pixels.
    After some discussion on the Photoshop forum, I see that now, when I tell Lightroom "Edit in Photoshop", it creates a file which does not have a Background layer, and this causes the Delete key to act differently.  This was not the case several weeks ago, but has just started to happen.  Is there any adjustment I can make to the "Edit In" settings to get a Background layer in Photoshop?
    JK

    You must have changed a setting in Photoshop because  Lr has no influence on how Photoshop treats the background layer.
    There is nothing you can do in Lr to change this behavior of Photoshop.
    What happens in Photoshop is this: For some reason the image is opened with transparent background.Such an image does not have a background layer and the layer at the bottom does not have the constraints of a regular background layer.
    I am not aware of any command or script in Photoshop that would automatically do this on opening a file.
    Try this: Reset your Workspace (>Window >Workspace). If that doesn't help I'd suggest to ask on the Photoshop forum why your Photoshop opens an image with transparent background.
    You could also try to re-install Photoshop, supposedly this would reset any hidden settings that are causing this.

  • Does anyone have any information on when the m audio fast track will support mountain lion?

    i have just got the latest 13" macbook pro and it came with mountain lion pre installed, in janurary i bought a brand new m-audio fast track audio interface as i saw it was available in the apple store and still is. however apple must be unaware they are selling a product that is not compatable with any of the computers available in the store as the drivers for the interface have not been released( there is one but it doesn't work and isn't the offical driver). m-audio were sold by avid earlier this year and the fast track i have is seeminly still avids problem despite m-audio being sold(so m-audio told me) and avid do not respond to any emails or tweets i have sent them. i tried to sort the issue out with apple customer care but they could provide no answers for me. i am now left with a usless audio interface, and appartantly(according to who i talked to on the phone) lion can't be installed on this model as it won't function correctly, not that i want to have to downgrade my operating system just for the use of an audio interface. so does anyone know whats going on?

    the driver was released on november 30th, thank god http://avid.force.com/pkb/articles/download/Fast-Track-Drivers

  • Does UITableView have a callback for when it is done loading ALL cells?

    I find it very diffcult to change UIActivityIndicator on and off for data loading into a table. I set it on and then call "reload data" on my tableView and then turn it back off. I dont think that is correct, because reload data will return immediately, it doesnt block until al the data is loaded correct? So a better way it to check for a callback when all the cells are loaded?
    How are you guys doing this?

    The table isn't going to load all cells anyway.
    Say you have a 100-item table of which 6 cells are visible at a time. The table view will only use tableView:cellForRowAtIndexPath: to create 6 or 7 cells.
    Later on, if the user scrolls, the table view will call tableView:cellForRowAtIndexPath: some more, for the newly visible cells.
    If the table view held on to every cell once it had been loaded, more and more cells would gradually get allocated until all 100 cells were in existence and holding data. That would use up a lot of memory. (What if the table has 10,000 cells?)
    If the table view did the standard thing of calling \[release\] on a cell as soon as it didn't need it, memory wouldn't get used up but a lot of time would be wasted allocating and deallocating.
    So the table view has a list of "cells I have but don't really want". When they encourage you to call dequeueReusableCellWithIdentifier: in your tableView:cellForRowAtIndexPath: routine, they're effectively saying "when the table is asking you for a cell for a given table entry, ask the table if it's got any unwanted cells to give you, before you go off and allocate a new one".
    As far as your question is concerned, this means that the table never really finishes loading. It'll only load 6 or 7 cells at a time, and when the user scrolls, it'll load some more. Depending how you've written tableView:cellForRowAtIndexPath:, it may only ever have 6 or 7 cells in memory at a time.
    It all depends what you want. If you want your activity indicator to say "I am working on giving you a display but what you see on the screen isn't what you're ultimately going to get", then
    (1) Get each individual cell to start its filling-itself-with-visible-data process when you allocate/reuse the cell in tableView:cellForRowAtIndexPath:. Give the cell a unique visible appearance when you do this. When the load process is complete, get the cell to call setNeedsDisplay so that it can get repainted with the real data. The user's experience will be of a table that appears instantly, each cell with an activity indicator in it, and the activity indicators then disappear as soon as each cell finishes its work. It will look rather nice.
    Or (2) do much the same, but get each cell to increment a global "loads in process" counter when it is born/reborn, and decrement it when its data have arrived. Then use that global counter to control a single UIActivityIndicator.
    The key in both cases is for cell creation to be fast, and the actual loading of data to the cells (if it's slow) to be done separately.

  • Does Siri have a character limit when composing emails?

    Hello,
    I have been trying to use Siri to get some emails done while I'm driving. I can start the email okay, I can get the "Subject" just fine, and I can get into the body of the message just fine. However, as I start dictating the body of my email, Siri will interrupt me in the middle of speaking and ask me if I am ready to send it. This will happen when I am mid-sentence---literally.
    I'm wondering----is this because I have reached some sort of character limit that I'm not aware of, and once that limit is reached you can't do anything except send it? I say "period" and "comma" as I'm speaking, but there is no long pause to make Siri think I'm done speaking. I am speaking the entire time, and Siri interrupts me mid-sentence and mid-word right in the middle of me speaking.
    Any idea what's going on? Thanks!

    The limits are the same-hardware and software-and refer to the ability to address the memory.
    If you have a 32bit operating system, it's limited by the same 4GB limit (2^32=4,294,967,296).
    If you have a 64bit operating system (such as OS X Tiger) running on a 64bit computer, it's theoretically limited to about 17 Billion GB.
    So, with Tiger, you're not likely to run into a memory limit anytime soon.
    http://www.apple.com/macosx/features/64bit/

  • I guess this would go here, does anyone have an estimate to when the next..

    iMac will come out? Because I'm thinking about buying a computer, and I'm thinking about getting an iMac. My question is when do you think the next iMac will be released, and should I wait for it or get the Core Duo?

    What a brody said and...
    A new computer from ANY company will come out shortly. When they stop releasing new computers is when we have a problem. Really. If you must wait to jump in, then you will always be waiting.
    Years ago a friend bought a brand new PC with the absolute fastest processor. He came to work bragging, then asked me (the PC expert), when I thought 'they' would release a faster processor, to which I replied, "Oh, probably tomorrow." We both laughed. The very next day I came in with news of the announcement of a faster processor.
    Don't wait. Also, check on the Core Duo - right now we are just about topped out. Check with Intel on future announcements - then figure on how quick Apple will implement this new chip.
    Don't wait - do what a brody said. If you have a real need for speed, then wait for the PowerMac line to be released with the Intel chip or buy a G5 PowerMac now.
    Steve

  • My email does not have the correct email when i send to someone. It has my mothers. How can i fix this?

    When I send an email to someone or reply to them it sends it under my mother's name. How can i fix this?

    It may be that you have more than one outgoing mail account, and you're sending from the wrong one. From the Mail menu bar, select
              Mail ▹ Preferences...
    The Mail preference dialog opens. Select the Composing tab from the row of icons at the top. From the menu labeled
              Send new messages from:
    choose
              Account of selected mailbox
    Note that this setting may have no effect if you start a new message while a VIP or smart mailbox is selected in the mailbox list. Those are saved searches, not actual mailboxes.
    If the problem remains, select the Accounts tab in the preference dialog, then select the affected account in the list on the left.
    In the Account Information pane, select the correct server in the menu labeled
              Outgoing Mail Server (SMTP)
    If there's only one server in the menu, select
              Edit SMTP Server List...
    and add a new server with the correct settings. If you're not sure how to do that, try the Mail Settings Lookup.
    Another possibility is that the wrong card in your address book is selected as yours. Select your card in the Contacts application. Then select
              Card ▹ Make This My Card
    from the menu bar.

  • Why does quicktime have a question mark when I open Safari - how do I fix?

    Whenever I open Safari to any page with Quicktime I
    get a Q with a questions mark through it.
    I am about ready to hang myself.
    Thanks,
    John

    Edgar123,
    Welcome to the Apple Discussions!
    Sounds as if somehow your Mac has misplaced the /Library/Internet Plug-Ins/QuickTime Plugin.webplugin file. Try searching your hard drive to see if that plug-in is around in the wrong spot, or download and re-install the Quicktime installer from the Downloads link at the top of the Discussions page.

  • Does anyone have a clue of when is the next iPhone going to be released?

    I live in argentina and I want to buy an iPhone in Chicago (my father's going the first week of September). I want to buy the new iPhone, are there any chances that it is going to be released before that?

    roaminggnome wrote:
    Of course not.
    In response to your topic question, not, "Of course there is not any chance of it being released  before September."
    We only know what you can read on Apple's web site.  Clearly it doesn't make sense for them to announce new models too far in advance otherwise people would just wait until the new model appeared and not buy the current model.

  • How far does iPhoto preserve the RAW file when editing?

    I'm trying to get a better understanding of how iPhoto handles RAW photos and hope you'll answer a humble, possibly misguided question:
    How far through the editing process does iPhoto preserve RAW data?
    Here's what I mean by this: I understand that iPhoto cannot "edit" a RAW file, but there are a couple of ways it look like it was. Let's take a WB adjustment as an example.
    Option 1: "Convert on import." iPhoto converts the RAW to a JPG when I import the file (or begin to edit it). Then adjusting the WB will be a filter applied to a JPG file (meaning there wasn't much advantage to shooting RAWs in the first place)!
    Option 2: "Fully RAW." iPhoto imports the RAW file and then "processes" it whenever you display or print it. When you edit it (e.g., adjusting the white balance), it keeps track of the new parameters (e.g., WB, or contrast, or cropping, etc.) and then uses these parameters the next time it processes the RAW for display. This would mean, for example, that there would be no difference in quality between
    A. Taking a freshly-imported RAW and setting the white balance to X, and
    B. Taking a freshly-imported RAW, setting the white balance to Y, closing iPhoto, re-opening iPhoto then editing the picture again and changing the WB to X.
    Option 3: "Somewhere in-between." Files are imported as RAW, but then converted to JPG at the end of the first editing. Subsequent edits are treated as JPG edits (including the resulting loss in image quality with each edit).
    Can anyone clarify this? How does the answer differ for different types of edits (e.g., WB vs. image rotation vs., expanding the highlights, etc.)? Is the answer different for Aperture vs. iPhoto?
    Thanks!
    -Mike

    How about the 4 th option... None of the above.
    Option 3 is closest. As the Help says:
    When you edit a RAW-format photo and click Done, iPhoto applies your changes to the RAW image data and stores the data as a JPEG file (the original RAW file remains unchanged).
    It can also be saved as tiff is you prefer.
    Here's where it's different from your option 3:
    Subsequent edits are treated as JPG edits (including the resulting loss in image quality with each edit)
    There is no loss of image quality with each edit because of iPhoto's _[Non-Destructive Editing Feature|http://docs.info.apple.com/article.html?path=iPhoto/7.0/en/11464.html]_ .
    You can, of course, re-process the RAWs if you choose. This will bring you right back to the Original file.
    Aperture is quite different. It's at your option 2
    Regards
    TD

  • Narration does not stay with video clips when editing

    I have been working on a large video project in PE7. I just finished adding approximately 100 narrations at various points in various clips. I then inserted a video clip that was missing and all the narrations seems to have shifted and are no longer in sync with the video clips. Any suggestions before and go to the timeline and move each clip?

    If you inserted a clip, the timeline is designed to "ripple" or move over to allow for the clip.
    If you don't want the timeline to ripple as you add new clips, hold down the Ctrl key as you add your clips.

Maybe you are looking for

  • Reformatted everything and now I can't install Windows 7 because it needs drivers

    Hello Everyone!  Okay here it is. My family got some viruses on our home laptop and I decided I would wipe the drive and reinstall windows 7. I not only reformatted the hardrive, but all other available drives as well because I was afraid the bad guy

  • Can't view pdf with adobe plugin

    I'm using firefox 7 in os x i have adobe acrobat installed and the option "display pdf in browser" is selected. i tried to install adobe reader x and it didn't helped

  • Project Settings/Exporting Issues overall in Premiere

    So, one thing I've never really been very good at is setting up projects in Premiere and Exporting the video itself. I seem to always end up screwing around with this and barely getting what I'm looking for in the end. For the particular video I'm cu

  • Serpentine won't start

    Serpentine 0.9-2 from [community] installed. Output: [eirik@rE-LibErAtioN ~]$ serpentine Traceback (most recent call last):   File "/usr/bin/serpentine", line 114, in <module>     from serpentine.common import SerpentineError   File "/usr/lib/python2

  • PSE 8 Photoshop Bridge vs. PSE 9 Organizer

    I was using PSE 8 for Mac then I loaded PSE 9.  The latter is dual platform (good whether one uses Mac or Windows).  However, I was disappointed to find that Photoshop Bridge was replaced by Organizer.  After working with the Organizer, I realize tha