How to keep the full context menu in view

There may be times when you open a right-click context menu from a table and the entire list of action items does not fit on your screen. You can configure Deephaven properties in one of two ways to tell the Swing client to keep the entire menu on screen using the setting adjustPopupLocationToFit. However, this may not be desirable when using multiple monitors, as when the pop-up setting is set to true, Deephaven will not allow dialogs to span monitors.

An administrator who wants this setting to apply to all users can modify the common properties file. Place the following property in iris-common.prop in the [iris_console|Interactive_console] section:

javax.swing.adjustPopupLocationToFit=true

Individual users can add this property, including -D, to their jvmargs.txt file (e.g. ~/iris/workspaces/jvmargs.txt):

-Djavax.swing.adjustPopupLocationToFit=true

This will apply to all Deephaven instances.