This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes Observer & Observable Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Observer & Observable" Watch "Observer & Observable" New topic

Observer & Observable

jamie ong

Joined: Nov 05, 2001
Posts: 24
i have a frame which has a class toolbar and class menubar. After pressing any buttons on the 2 classes, it will pop up a dialog box. how can i implement observer and observable to update the frame after the changes done on the dialog box?
aymen esawey
Ranch Hand

Joined: Jan 29, 2002
Posts: 61
i think by making the frame observer and the dialog observable.

Aymen Esawey<br />SCJP <img src="smile.gif" border="0"> <br /><a href="" target="_blank" rel="nofollow">how to nuke the SUN </a>
GeeCON Prague 2014
subject: Observer & Observable