Java Compliance Failure Dialog

The Java Compliance Failure Dialog lists all aspects of the design which cannot be reproduced in Java code.

The buttons at the bottom of the dialog perform the following functions:

Go to
Pressing this button causes the widget selected in the Java Compliance Failure Dialog to become selected in your design. If the widget is in a Shell other than the currently viewed one or it is in a folded section of the hierarchy, the view changes so that the widget can be seen.
Next
Pressing this button moves the selection in the Java Compliance Failure Dialog to the next item in the list of offending widgets.
Fix
Pressing this button fixes whatever is causing the compliance failure for the selected widget in the dialog. This button is only enabled when it is possible for the compliance failure to be fixed automatically in this way.
Close
This button closes the dialog.
Help
This button displays this help

Design Restrictions for Java Code Generation

The following is a list of user interface features which cannot be carried over to Java code:

  1. A file selection box with a parent which is not a shell.
  2. A file selection box which has a work area.
  3. A file selection box which is a class.
      A file selection box must have a shell as a parent; Java only has a modal file selection dialog.
  4. A widget which is a class between a menubar and a shell.
      This restriction is imposed so that the shell can find out what its menubar is.
  5. More than one menubar in a shell
      In Java, a shell may only have one menubar.
  6. A cascade button has no menu.
      Because there is no equivalent to a cascade button in Java (menus are added directly to menubars), a cascade button on its own is meaningless
  7. The design contains a popup menu.
      Java does not support popup menus.
  8. There is a multi-line string in a menubar.
      Multi-line strings are not supported in menubar. They are supported elsewhere.
  9. A link source is not a class.
      The source of a link must be a class in Java.
  10. A callback source is not within a class.
      This is a restriction of the event model in AWT 1.0 and may be improved in later versions as this model develops.
  11. A pixmap in a menu.
  12. A Label in a menu.
  13. A menu in the main window of an applet
      The three items above are not supported in Java.

    See also: