• 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
Bindings, Java, Updating the Model
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bindings, Java, Updating the Model


  • Subject: Bindings, Java, Updating the Model
  • From: Rémy Schumm <email@hidden>
  • Date: Thu, 31 Mar 2005 18:28:11 +0200

Hi List


is there anybody using Cocoa Bindings with Java?
I have successfully tried it out in several ways (even with a NSTableView and a Java Bean as DataSource) but there ist always something that does not work :


If I have a GUI Element bound to a Java Data Object (a Bean), the Bean gets updated when I change the value in the GUI.
But when I change the Value of a Bean, nothing happens in the GUI.


The only way to programatically populate the GUI is to initialize the Beans with Content before the GUI is displayed (e.g. in the constructor of the content-Object of the Binding-Controller)


-> I'm sure I'm missing something very basic, but nobody seems to use that. Isn't there anybody out there who could help me?


	thank you very much,

	Rémy



--
Zürcher Hochschule Winterthur - ZHW
(Zurich University of Applied Science Winterthur, Switzerland)

Rémy Schumm, ZHW - T, E222, Postfach 805, 8401 Winterthur
dipl. Ing. FH, Assistent Softwareentwicklung, Dept. T,
tel. direkt +41 52 2677 490 gsm/mms/sms +41 79 21 1234 1
http://www.zhwin.ch/~smr  - PGP ID 0x59BA4E81 - Mac OS X Panther on G5
Content Security by MailMarshal
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: "addAttribute:value:range:" error using NSDrawer & NSTextView
  • Next by Date: Re: NSConcreteNotifyingMutableAttributedString
  • Previous by thread: Re: "addAttribute:value:range:" error using NSDrawer & NSTextView
  • Next by thread: KVO and inspectors in document-based apps -- best practice?
  • Index(es):
    • Date
    • Thread