Dimming is used on system applications to disable certain commands that are not available for the user. For example, if all options list items are not available, they can be dimmed until available. In Java applications dimming is only used for the options list icon; when the options list doesn't contain any commands, the icon is automatically dimmed.
In Java applications, dynamic view content is used instead of dimming. In a case where some functions can not be selected they should be completely removed from the view or state (options list, Form, etc). When they become possible, they take their position on the screen.