setAccessibleDescription
setAccessibleDescription
- Subject: setAccessibleDescription
- From: <email@hidden>
- Date: Tue, 13 Apr 2004 10:42:04 -0700 (PDT)
Hello All,
Does anyone know why I can not get setAccessibleDescription to be spoken.
I am using OS X version 10.3.3 with Universal Access on.
Thanks for your time (this is driving me looney),
Arthur Jacobs
email@hidden
import java.awt.Frame;
import java.util.*;
import java.applet.Applet;
import java.awt.Button;
import javax.accessibility.*;
public class AccessApplet extends Applet {
public static void main (String args[]) {
Framer f = new Framer("Accessible Applet");
f.setSize(300, 100);
f.show ();
}
}
class Framer extends Frame {
public Framer(String title) {
super(title);
AccessApplet applet = new AccessApplet();
Button aButton = new Button("hope");
applet.start();
add (applet, "Center");
String descapplet ="This is a simple applet";
aButton.getAccessibleContext().setAccessibleDescription(descapplet);
applet.add(aButton);
}
}
_______________________________________________
accessibility-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/accessibility-dev
Do not post admin requests to the list. They will be ignored.