• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Java_com_apple_cocoa_application_NSText_scrollRangeToVisible
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Java_com_apple_cocoa_application_NSText_scrollRangeToVisible


  • Subject: Re: Java_com_apple_cocoa_application_NSText_scrollRangeToVisible
  • From: Chris Hanson <email@hidden>
  • Date: Sun, 25 Apr 2004 13:12:41 -0700

On Apr 25, 2004, at 11:13 AM, David Kocher wrote:
I suppose the problem is that this method is called from a non-GUI thread (please note: this is cocoa-java). Would it help if I implement something similar to SwingUtilties.invokeLater() ?

Yes, since much of the AppKit is not documented to be thread-safe. This is completely orthogonal to what language you're using.

-- Chris

--
Chris Hanson <email@hidden>
http://www.livejournal.com/users/chanson/
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


References: 
 >Java_com_apple_cocoa_application_NSText_scrollRangeToVisible (From: David Kocher <email@hidden>)

  • Prev by Date: RE: xCode 1.2
  • Next by Date: Re: Unarchive consistency errors
  • Previous by thread: Re: Java_com_apple_cocoa_application_NSText_scrollRangeToVisible
  • Next by thread: Upper limit to how large an NSString (from url) can be?
  • Index(es):
    • Date
    • Thread