M
Mickey Segal
For adding components on top of other components, all code that I've seen
uses the method "add(Component, 0)" to add a component such as a ToolTip on
top of other components. Such "add(Component, 0)" code works everywhere
that I've tried except for the Macintosh implementation of Java 1.4
(demonstrated with a working applet and full source code at
http://Segal.org/java/AddOrder2/).
I can't find anything in the Java documentation to argue that the Macintosh
Java 1.4 behavior must be considered a bug, so I am not holding my breath
for Apple to change their implementation. Numerous GUI bugs that were known
since Apple Java 1.4 was released have not been fixed (details at
http://segal.org/macjavabugs) so arguable errors are likely to get even less
attention.
Is there some other way to place a component on top of others? I can't just
use Java 2 ToolTips; the goal is to create a Choice-like component that has
more functionality than the standard Choice, using a pull-down section that
will overlap other components while it is pulled down.
uses the method "add(Component, 0)" to add a component such as a ToolTip on
top of other components. Such "add(Component, 0)" code works everywhere
that I've tried except for the Macintosh implementation of Java 1.4
(demonstrated with a working applet and full source code at
http://Segal.org/java/AddOrder2/).
I can't find anything in the Java documentation to argue that the Macintosh
Java 1.4 behavior must be considered a bug, so I am not holding my breath
for Apple to change their implementation. Numerous GUI bugs that were known
since Apple Java 1.4 was released have not been fixed (details at
http://segal.org/macjavabugs) so arguable errors are likely to get even less
attention.
Is there some other way to place a component on top of others? I can't just
use Java 2 ToolTips; the goal is to create a Choice-like component that has
more functionality than the standard Choice, using a pull-down section that
will overlap other components while it is pulled down.