Scenario: I have a screen, top part of the screen is some text fields, bottom part of the window is a list.
Under certain circumstance I want to raise a modal (yes/no) dialog which will prevent the user from interacting with the top part of the window – ie: the text fields, but will still allow the user to interact with the list at the bottom of the screen.
Is it possible to create a modal dialog like this?
This may or may not be useful. Java 6 introduced a new Modality API.
The granularity is at the Window level (Frames, Dialogs, …), so depending on the definition of your “top of the screen, bottom of the screen” it may not be helpful. If you can get your components needing different modality behavior in separate frames, then this is indeed possible. If not, you probably have to fudge it.