myyyy

Greenhorn
+ Follow
since Jun 16, 2002
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by myyyy

Hi all,
I try to create an example which uses the classes Observable and Observer. Can you
give me a good example (which works ;-) ) ?
How Can we program this example ?
a window (JFrame) :
-------------------------------
| Language | Tools | | <- JMenu
-------------------------- |
| | French | | <- JMenuItem
| ------------- |
| | English | | <- JMenuItem
| ------------- |
| |
-------------------------------

What I want to do is : when we click the JMenuItem "French", the title "Tools"
has to become "Outils", and vice-versa.

Can you give me an example of code which works ?
My goal is to use Observer & Observable (for
big projects !).
Thanks.
21 years ago